Re: [Race] data race between do_mpage_readpage() and set_blocksize()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 30, 2020 at 04:10:42PM +0000, Matthew Wilcox wrote:
> On Mon, Nov 30, 2020 at 03:41:53PM +0000, Gong, Sishuai wrote:
> > We found a data race in linux kernel 5.3.11 that we are able to reproduce in x86 under specific interleavings. Currently, we are not sure about the consequence of this race so we would like to confirm with the community if this can be a harmful bug.
> 
> How are you able to reproduce it?  Normally mpage_readpage() is only called
> from a filesystem, and you shouldn't be able to change the size of the
> blocks in a block device while there's a mounted filesystem.

mpage_readpages was also called by blkdev_readpages.  For current
mainline s/readpages/readahead/ but the effect should be the same.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux