[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140122042209.GF20347@kernel.dk>
Date: Tue, 21 Jan 2014 20:22:09 -0800
From: Jens Axboe <axboe@...nel.dk>
To: Raghavendra K T <raghavendra.kt@...ux.vnet.ibm.com>
Cc: Alexander Viro <viro@...iv.linux.org.uk>,
Matias Bjorling <m@...rling.me>,
Andrew Morton <akpm@...ux-foundation.org>,
Yuanhan Liu <yuanhan.liu@...ux.intel.com>,
"Darrick J. Wong" <darrick.wong@...cle.com>,
Jan Kara <jack@...e.cz>, Johannes Weiner <hannes@...xchg.org>,
Zhang Yanfei <zhangyanfei@...fujitsu.com>,
Jeff <jmoyer@...hat.com>, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org,
Sumanth <sumantk2@...ux.vnet.ibm.com>
Subject: Re: [RFC PATCH V3 1/2] null_blk: Null pointer deference problem in
alloc_page_buffers
On Tue, Jan 21 2014, Raghavendra K T wrote:
> If we load the null_blk module with bs=8k we get following oops:
> [ 3819.812190] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
> [ 3819.812387] IP: [<ffffffff81170aa5>] create_empty_buffers+0x28/0xaf
> [ 3819.812527] PGD 219244067 PUD 215a06067 PMD 0
> [ 3819.812640] Oops: 0000 [#1] SMP
> [ 3819.812772] Modules linked in: null_blk(+)
>
> Fix that by resetting block size to PAGE_SIZE if it is greater than PAGE_SIZE
Thanks, applied.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists