Re: [PATCH] Fix loop BIO breakage (memory corruption)

From: Jens Axboe (
Date: Thu Jan 03 2002 - 03:48:32 EST

On Thu, Jan 03 2002, Zwane Mwaikambo wrote:
> Hi Jens,
> I've tracked down what seems to be a case of array out of bounds.
> Doing the following command "mount /dev/cdrom /cdrom -o loop" hard locks


Thanks, good debugging. This bug has been there in 2.4 before, blush.
I've applied your patch.

> Patch tested with read/write losetup type mounts, plain file backed mounts
> and block backed mounts (these fail in ll_rw_blk:1365 BUG check now)

Oh? Care to look into this?

Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:20 EST