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.