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: 250d, last: 1d09h

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

read-write to 0xffff888101003ef8 of 4 bytes by task 18514 on cpu 1:
 show_numa_info mm/vmalloc.c:4917 [inline]
 vmalloc_info_show+0x470/0x770 mm/vmalloc.c:4999
 seq_read_iter+0x2d1/0x930 fs/seq_file.c:230
 proc_reg_read_iter+0x118/0x190 fs/proc/inode.c:299
 new_sync_read fs/read_write.c:484 [inline]
 vfs_read+0x5dc/0x700 fs/read_write.c:565
 ksys_read+0xe8/0x1b0 fs/read_write.c:708
 __do_sys_read fs/read_write.c:717 [inline]
 __se_sys_read fs/read_write.c:715 [inline]
 __x64_sys_read+0x42/0x50 fs/read_write.c:715
 x64_sys_call+0x2874/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:1
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read-write to 0xffff888101003ef8 of 4 bytes by task 18508 on cpu 0:
 show_numa_info mm/vmalloc.c:4917 [inline]
 vmalloc_info_show+0x470/0x770 mm/vmalloc.c:4999
 traverse+0x155/0x3c0 fs/seq_file.c:111
 seq_read_iter+0x854/0x930 fs/seq_file.c:195
 proc_reg_read_iter+0x118/0x190 fs/proc/inode.c:299
 new_sync_read fs/read_write.c:484 [inline]
 vfs_read+0x5dc/0x700 fs/read_write.c:565
 ksys_pread64 fs/read_write.c:756 [inline]
 __do_sys_pread64 fs/read_write.c:764 [inline]
 __se_sys_pread64 fs/read_write.c:761 [inline]
 __x64_sys_pread64+0xf6/0x150 fs/read_write.c:761
 x64_sys_call+0x26ee/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:18
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00000148 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 18508 Comm: syz.6.4497 Not tainted 6.12.0-syzkaller-00971-g158f238aa69d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
==================================================================

Crashes (372):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/19 21:12 upstream 158f238aa69d 7d02db5a .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/11/18 17:46 upstream adc218676eef e7bb5d6e .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/11/17 23:33 upstream 4a5df3796467 cfe3a04a .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/11/17 10:46 upstream b5a24181e461 cfe3a04a .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/11/16 16:04 upstream e8bdb3c8be08 cfe3a04a .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/11/16 02:27 upstream f868cd251776 cfe3a04a .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/11/14 14:18 upstream 0a9b9d17f3a7 a8c99394 .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/11/10 05:44 upstream de2f378f2b77 6b856513 .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/11/08 10:31 upstream 906bd684e4b1 179b040e .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/11/08 10:30 upstream 906bd684e4b1 179b040e .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/11/07 03:41 upstream 7758b206117d df3dc63b .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/11/05 19:54 upstream 2e1b3cc9d7f7 da38b4c9 .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/11/05 06:32 upstream 557329bcecc2 509da429 .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/11/03 07:43 upstream 11066801dd4b f00eed24 .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/10/27 01:28 upstream 850925a8133c 65e8686b .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/10/23 22:36 upstream c2ee9f594da8 15fa2979 .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/10/22 20:02 upstream d12937763990 a93682b3 .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/10/21 17:04 upstream 42f7652d3eb5 f1e4447c .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/10/18 11:30 upstream 4d939780b705 666f77ed .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/10/16 11:39 upstream 2f87d0916ce0 bde2d81c .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/10/12 02:39 upstream 9e4c6c1ad9a1 084d8178 .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/10/07 05:16 upstream 8cf0b93919e1 d7906eff .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/10/06 09:49 upstream fc20a3e57247 d7906eff .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/10/04 10:40 upstream 0c559323bbaa d7906eff .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/10/01 19:04 upstream e32cde8d2bd7 ea2b66a6 .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/09/30 04:33 upstream e7ed34365879 ba29ff75 .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/09/28 17:23 upstream ad46e8f95e93 ba29ff75 .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/09/22 05:37 upstream 88264981f208 6f888b75 .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/09/19 03:06 upstream 4a39ac5b7d62 c673ca06 .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/09/19 03:06 upstream 4a39ac5b7d62 c673ca06 .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/09/15 23:53 upstream 98f7e32f20d2 08d8a733 .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/09/11 15:55 upstream 8d8d276ba2fb 8ab55d0e .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/09/09 00:11 upstream 5dadc1be8fc5 9750182a .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/09/07 22:44 upstream d1f2d51b711a 9750182a .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/09/07 11:21 upstream b31c44928842 9750182a .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/09/05 19:03 upstream c763c4339688 464ac2ed .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/09/01 11:45 upstream 431c1646e1f8 1eda0d14 .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/08/31 03:48 upstream 20371ba12063 1eda0d14 .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/08/29 08:07 upstream 928f79a188aa ef3de9e8 .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/08/25 11:05 upstream 780bdc1ba776 d7d32352 .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/08/24 12:42 upstream 60f0560f53e3 d7d32352 .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/08/15 10:08 upstream d07b43284ab3 e4bacdaf .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/08/13 15:59 upstream d74da846046a f21a18ca .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.