syzbot


KCSAN: data-race in do_mpage_readpage / set_blocksize (5)

Status: auto-obsoleted due to no activity on 2022/12/21 21:09
Reported-by: syzbot+b835723c20b8d5f40485@syzkaller.appspotmail.com
First crash: 768d, last: 81d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_mpage_readpage / set_blocksize (4) 4 836d 883d 0/24 auto-closed as invalid on 2020/11/26 12:05
upstream KCSAN: data-race in do_mpage_readpage / set_blocksize (2) 17 1021d 1161d 0/24 auto-closed as invalid on 2020/06/18 13:33
upstream KCSAN: data-race in do_mpage_readpage / set_blocksize 1 1183d 1183d 0/24 closed as invalid on 2019/11/19 14:44
upstream KCSAN: data-race in do_mpage_readpage / set_blocksize (3) 2 920d 943d 0/24 auto-closed as invalid on 2020/09/03 22:48

Sample crash report:
==================================================================
BUG: KCSAN: data-race in do_mpage_readpage / set_blocksize

write to 0xffff8881023f9b1e of 1 bytes by task 13112 on cpu 0:
 set_blocksize+0x20a/0x270 block/bdev.c:151
 sb_set_blocksize block/bdev.c:161 [inline]
 sb_min_blocksize+0x92/0x110 block/bdev.c:177
 fat_fill_super+0xd98/0x26c0 fs/fat/inode.c:1650
 vfat_fill_super+0x2c/0x40 fs/fat/namei_vfat.c:1200
 mount_bdev+0x1e2/0x280 fs/super.c:1401
 vfat_mount+0x2d/0x40 fs/fat/namei_vfat.c:1207
 legacy_get_tree+0x70/0xc0 fs/fs_context.c:610
 vfs_get_tree+0x49/0x190 fs/super.c:1531
 do_new_mount+0x200/0x650 fs/namespace.c:3040
 path_mount+0x4aa/0xb70 fs/namespace.c:3370
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff8881023f9b1e of 1 bytes by task 2862 on cpu 1:
 do_mpage_readpage+0x6c/0xcf0 fs/mpage.c:137
 mpage_readahead+0x19f/0x2c0 fs/mpage.c:361
 blkdev_readahead+0x18/0x20 block/fops.c:386
 read_pages+0xa6/0x560 mm/readahead.c:161
 page_cache_ra_unbounded+0x12a/0x320 mm/readahead.c:242
 do_page_cache_ra mm/readahead.c:300 [inline]
 force_page_cache_ra+0x1c6/0x200 mm/readahead.c:331
 page_cache_sync_ra+0xc8/0xf0 mm/readahead.c:705
 page_cache_sync_readahead include/linux/pagemap.h:1213 [inline]
 filemap_get_pages mm/filemap.c:2581 [inline]
 filemap_read+0x3fd/0x1510 mm/filemap.c:2675
 blkdev_read_iter+0x2c6/0x370 block/fops.c:598
 call_read_iter include/linux/fs.h:2185 [inline]
 new_sync_read fs/read_write.c:389 [inline]
 vfs_read+0x3a5/0x560 fs/read_write.c:470
 ksys_read+0xe8/0x1a0 fs/read_write.c:613
 __do_sys_read fs/read_write.c:623 [inline]
 __se_sys_read fs/read_write.c:621 [inline]
 __x64_sys_read+0x3e/0x50 fs/read_write.c:621
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0c -> 0x09

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 2862 Comm: udevd Not tainted 6.1.0-rc5-syzkaller-00018-g59d0d52c30d4-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (628):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2022/11/16 21:09 upstream 59d0d52c30d4 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/11/08 01:46 upstream 59f2f4b8a757 6feb842b .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/11/07 04:39 upstream 089d1c31224e 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/10/30 09:30 upstream 882ad2a2a8ff 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/10/26 10:16 upstream 1a2dcbdde82e 2159e4d2 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/10/20 14:45 upstream aae703b02f92 b31320fc .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/10/18 03:25 upstream 9abf2313adc1 94744d21 .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/10/15 08:38 upstream 9c9155a3509a 67cb024c .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/10/06 12:50 upstream 2bca25eaeba6 2c6543ad .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/28 05:40 upstream 46452d3786a8 75c78242 .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/27 11:07 upstream 3800a713b607 10323ddf .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/26 18:43 upstream f76349cf4145 d59ba983 .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/25 12:40 upstream 1a61b828566f 0042f2b4 .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/22 03:28 upstream 06f7db949993 60af5050 .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/21 15:54 upstream 60891ec99e14 380f82fb .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/20 01:38 upstream 521a547ced64 dd9a85ff .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/19 00:14 upstream 38eddeedbbea dd9a85ff .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/17 14:19 upstream a335366bad13 dd9a85ff .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/17 01:37 upstream 6879c2d3b960 dd9a85ff .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/15 11:17 upstream 3245cb65fd91 dd9a85ff .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/14 18:41 upstream 3245cb65fd91 b884348d .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/13 06:10 upstream e839a756012b f371ed7e .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/12 04:42 upstream 4ed9c1e971b1 356d8217 .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/11 09:43 upstream b96fbd602d35 356d8217 .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/10 14:04 upstream ce888220d5c7 356d8217 .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/06 07:33 upstream 53e99dcff61e 9dcd38fc .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/05 18:14 upstream 7e18e42e4b28 922294ab .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/05 05:46 upstream 7e18e42e4b28 28811d0a .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/04 12:16 upstream 7726d4c3e60b 28811d0a .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/04 04:15 upstream 42cf58c272ee 28811d0a .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/03 13:48 upstream d895ec7938c4 49e94a20 .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/09/02 07:30 upstream 42e66b1cc3a0 a805568e .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/29 04:28 upstream 8379c0b31fbc 07177916 .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/28 20:13 upstream 10d4879f9ef0 07177916 .config console log report info [disk image] [vmlinux] KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/22 21:11 upstream 1c23f9e627a7 26a13b38 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/21 16:48 upstream 15b3f48a4339 26a13b38 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/21 02:02 upstream f31c32efd57c 26a13b38 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/20 09:47 upstream 50cd95ac4654 26a13b38 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/19 04:09 upstream 573ae4f13f63 26a13b38 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/16 13:42 upstream 7ebfc85e2cd7 7a7cb304 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/13 15:04 upstream 7ebfc85e2cd7 8dfcaa3d .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/12 17:59 upstream 7ebfc85e2cd7 402cd70d .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/10 15:37 upstream d4252071b97d aaa9eaa0 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/09 10:24 upstream eb555cb5b794 da700653 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/07 20:00 upstream 3bc1bc0b59d0 88e3a122 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/06 05:10 upstream 9e2f40233670 e853abd9 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/03 03:53 upstream 7d0d3fa7339e 1c9013ac .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/02 01:42 upstream 9de1f9c8ca51 fef302b1 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2022/08/01 01:16 upstream 334c0ef6429f fef302b1 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2021/05/21 03:39 upstream ba816d3c265c 3c7fef33 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2021/05/17 08:35 upstream d07f6ca923ea f54a5c09 .config console log report info KCSAN: data-race in do_mpage_readpage / set_blocksize
ci2-upstream-kcsan-gce 2020/12/29 03:52 upstream dea8dcf2a9fa 8259d56c .config console log report info
* Struck through repros no longer work on HEAD.