syzbot


KCSAN: data-race in vmalloc_info_show / vmalloc_info_show

Status: moderation: reported on 2024/03/15 12:16
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+446f2b79946494f73218@syzkaller.appspotmail.com
First crash: 29d, last: 10h11m

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

read-write to 0xffff8881000474c0 of 4 bytes by task 19299 on cpu 0:
 show_numa_info mm/vmalloc.c:4837 [inline]
 vmalloc_info_show+0x44d/0x760 mm/vmalloc.c:4919
 seq_read_iter+0x2d7/0x940 fs/seq_file.c:230
 proc_reg_read_iter+0x11e/0x190 fs/proc/inode.c:299
 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

read-write to 0xffff8881000474c0 of 4 bytes by task 19301 on cpu 1:
 show_numa_info mm/vmalloc.c:4837 [inline]
 vmalloc_info_show+0x44d/0x760 mm/vmalloc.c:4919
 seq_read_iter+0x2d7/0x940 fs/seq_file.c:230
 proc_reg_read_iter+0x11e/0x190 fs/proc/inode.c:299
 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: 0x0000002d -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 19301 Comm: syz-executor.1 Tainted: G        W          6.9.0-rc3-syzkaller-00355-g7efd0a74039f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
==================================================================

Crashes (91):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/13 19:46 upstream 7efd0a74039f c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/12 17:01 upstream 5939d45155bb c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/12 14:53 upstream 586b5dfb51b9 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/12 03:53 upstream 586b5dfb51b9 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/11 16:03 upstream e8c39d0f57f3 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/11 01:19 upstream 9875c0beb8ad 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/10 11:50 upstream 2c71fdf02a95 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/10 08:53 upstream 2c71fdf02a95 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/09 20:13 upstream 20cb38a7af88 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/09 15:34 upstream 20cb38a7af88 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/09 04:00 upstream 20cb38a7af88 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/08 12:38 upstream fec50db7033e 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/08 06:41 upstream fec50db7033e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/07 17:34 upstream 9fe30842a90b ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/06 18:09 upstream f2f80ac80987 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/06 04:11 upstream 104db052b62d ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/05 14:24 upstream 8cb4a9a82b21 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/05 00:33 upstream c88b9b4cde17 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/04 13:00 upstream c85af715cac0 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/04 09:30 upstream c85af715cac0 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/04 04:58 upstream c85af715cac0 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/03 15:38 upstream 3e92c1e6cd87 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/03 15:26 upstream 3e92c1e6cd87 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/03 02:18 upstream b1e6ec0a0fd0 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/02 23:34 upstream b1e6ec0a0fd0 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/02 18:11 upstream 026e680b0a08 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/04/01 22:17 upstream 39cd87c4eb2b 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/31 19:07 upstream 18737353cca0 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/31 03:57 upstream 712e14250dd2 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/30 14:35 upstream 486291a0e624 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/30 01:22 upstream 4535e1a4174c 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/29 21:02 upstream 4535e1a4174c c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/29 04:48 upstream 317c7bc0ef03 c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/29 03:28 upstream 317c7bc0ef03 e91187ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/28 13:46 upstream 8d025e2092e2 e91187ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/28 08:14 upstream 8d025e2092e2 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/27 18:57 upstream 498e47cd1d1f 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/27 18:56 upstream 498e47cd1d1f 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/27 17:38 upstream 498e47cd1d1f 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/27 10:16 upstream 7033999ecd7b 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/26 18:35 upstream 928a87efa423 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/26 18:35 upstream 928a87efa423 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
2024/03/15 12:16 upstream e5eb28f6d1af d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in vmalloc_info_show / vmalloc_info_show
* Struck through repros no longer work on HEAD.