syzbot


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

Status: auto-obsoleted due to no activity on 2024/06/06 01:05
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+48231e90c63d7cc9b88d@syzkaller.appspotmail.com
First crash: 451d, last: 53d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_mpage_readpage / set_blocksize (4) exfat 4 1340d 1388d 0/27 auto-closed as invalid on 2020/11/26 12:05
upstream KCSAN: data-race in do_mpage_readpage / set_blocksize (2) ext4 17 1526d 1665d 0/27 auto-closed as invalid on 2020/06/18 13:33
upstream KCSAN: data-race in do_mpage_readpage / set_blocksize exfat 1 1688d 1688d 0/27 closed as invalid on 2019/11/19 14:44
upstream KCSAN: data-race in do_mpage_readpage / set_blocksize (5) block 628 585d 1130d 0/27 auto-obsoleted due to no activity on 2022/12/21 21:09
upstream KCSAN: data-race in do_mpage_readpage / set_blocksize (3) exfat 2 1424d 1447d 0/27 auto-closed as invalid on 2020/09/03 22:48
upstream KCSAN: data-race in do_mpage_readpage / set_blocksize (6) block 1 542d 542d 0/27 auto-obsoleted due to no activity on 2023/02/10 09:54

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

write to 0xffff8881006316f6 of 1 bytes by task 6733 on cpu 1:
 set_blocksize+0x227/0x290 block/bdev.c:160
 sb_set_blocksize block/bdev.c:170 [inline]
 sb_min_blocksize+0x83/0x110 block/bdev.c:186
 ext4_load_super fs/ext4/super.c:5025 [inline]
 __ext4_fill_super fs/ext4/super.c:5222 [inline]
 ext4_fill_super+0x39f/0x39d0 fs/ext4/super.c:5699
 get_tree_bdev+0x253/0x2e0 fs/super.c:1614
 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5731
 vfs_get_tree+0x56/0x1d0 fs/super.c:1779
 do_new_mount+0x227/0x690 fs/namespace.c:3352
 path_mount+0x49b/0xb30 fs/namespace.c:3679
 do_mount fs/namespace.c:3692 [inline]
 __do_sys_mount fs/namespace.c:3898 [inline]
 __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875
 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875
 x64_sys_call+0x2591/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:166
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff8881006316f6 of 1 bytes by task 6050 on cpu 0:
 do_mpage_readpage+0x55/0xcb0 fs/mpage.c:162
 mpage_readahead+0x1ad/0x2d0 fs/mpage.c:381
 blkdev_readahead+0x1c/0x30 block/fops.c:443
 read_pages+0xa0/0x540 mm/readahead.c:160
 page_cache_ra_unbounded+0x2a4/0x2e0 mm/readahead.c:269
 do_page_cache_ra mm/readahead.c:299 [inline]
 force_page_cache_ra+0x18e/0x1d0 mm/readahead.c:330
 page_cache_sync_ra+0xcc/0xf0 mm/readahead.c:684
 page_cache_sync_readahead include/linux/pagemap.h:1300 [inline]
 filemap_get_pages+0x252/0xfb0 mm/filemap.c:2505
 filemap_read+0x21c/0x690 mm/filemap.c:2601
 blkdev_read_iter+0x217/0x2c0 block/fops.c:754
 call_read_iter include/linux/fs.h:2104 [inline]
 new_sync_read fs/read_write.c:395 [inline]
 vfs_read+0x5bc/0x6b0 fs/read_write.c:476
 ksys_read+0xeb/0x1b0 fs/read_write.c:619
 __do_sys_read fs/read_write.c:629 [inline]
 __se_sys_read fs/read_write.c:627 [inline]
 __x64_sys_read+0x42/0x50 fs/read_write.c:627
 x64_sys_call+0x27ad/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:1
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x0c -> 0x0a

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 6050 Comm: udevd Tainted: G        W          6.9.0-rc6-syzkaller-00053-g0106679839f7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
==================================================================
I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0

Crashes (82):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/02 01:05 upstream 0106679839f7 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/04/18 09:08 upstream 8cd26fd90c1a af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/04/11 09:37 upstream 9875c0beb8ad 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/03/25 14:27 upstream 4cece7649650 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/03/21 23:53 upstream ebc9bee8814d 7a239ce7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/03/16 19:58 upstream 66a27abac311 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/03/13 18:41 upstream 61387b8dcf1d f919f202 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/03/13 03:23 upstream 1f440397665f c35c26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/03/11 13:34 upstream e8f897f4afef 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/03/11 09:21 upstream fa4b851b4ad6 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/03/09 09:38 upstream 10d48d70e82d 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/03/04 01:54 upstream 58c806d867bf 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/03/02 04:27 upstream 17ba56605bfd 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/26 22:23 upstream d206a76d7d27 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/23 09:50 upstream ffd2cb6b718e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/22 00:17 upstream 39133352cbed 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/19 17:49 upstream b401b621758e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/16 18:09 upstream 0f1dd5e91e2b 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/15 05:52 upstream 8d3dea210042 d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/13 04:29 upstream 716f4aaa7b48 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/12 04:06 upstream 841c35169323 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/11 14:57 upstream 7521f258ea30 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/10 22:58 upstream a5b6244cf87c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/08 07:27 upstream 547ab8fc4cb0 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/07 13:10 upstream 6d280f4d760e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/02/06 16:40 upstream 99bd3cb0d12e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/01/31 14:21 upstream 1bbb19b6eb1b 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/01/28 06:12 upstream cd2286fc5775 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/01/27 12:48 upstream 3a5879d495b2 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/01/26 09:08 upstream ecb1b8288dc7 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/01/22 07:12 upstream 4fbbed787267 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/01/18 06:06 upstream 1b1934dbbdcf 915053c7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/01/16 06:06 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2024/01/11 08:19 upstream de927f6c0b07 00f3cc59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/12/29 11:45 upstream 8735c7c84d1b fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/12/29 03:49 upstream 505e701c0b2c fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/12/23 19:23 upstream 5254c0cbc92d fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/12/19 02:45 upstream 2cf4f94d8e86 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/12/15 20:13 upstream 3f7168591ebf 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/12/13 21:43 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/12/12 03:16 upstream 26aff849438c 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/12/08 02:11 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/11/25 21:24 upstream b46ae77f6787 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/11/22 08:59 upstream c2d5304e6c64 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/11/18 07:29 upstream 791c8ab095f7 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/07/28 08:42 upstream 57012c57536f 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/07/25 09:36 upstream 0b5547c51827 3b91ad04 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/07/20 11:08 upstream bfa3037d8280 4547cdf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/07/08 08:11 upstream 8689f4f2ea56 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/07/07 06:55 upstream a452483508d7 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/07/01 14:49 upstream d85a143b69ab bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/06/21 09:36 upstream 99ec1ed7c2ed 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/06/17 13:06 upstream 1639fae5132b f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/05/18 04:18 upstream 1b66c114d161 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/05/15 22:38 upstream f1fcbaa18b28 c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/04/28 08:46 upstream 35fab9271b7e 70a605de .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/04/24 03:22 upstream 457391b03803 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/04/23 00:18 upstream 2caeeb9d4a1b 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/04/17 04:51 upstream 6a8f57ae2eb0 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/04/15 17:32 upstream 7a934f4bd7d6 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/04/07 03:16 upstream f2afccfefe7b 00ce4c67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
2023/03/30 11:26 upstream ffe78bbd5121 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mpage_readpage / set_blocksize
* Struck through repros no longer work on HEAD.