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: 262d, last: 16h49m

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

read-write to 0xffff888101005290 of 4 bytes by task 22392 on cpu 0:
 show_numa_info mm/vmalloc.c:4935 [inline]
 vmalloc_info_show+0x470/0x770 mm/vmalloc.c:5017
 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 0xffff888101005290 of 4 bytes by task 22390 on cpu 1:
 show_numa_info mm/vmalloc.c:4935 [inline]
 vmalloc_info_show+0x470/0x770 mm/vmalloc.c:5017
 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

value changed: 0x00000015 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 22390 Comm: syz.5.4280 Tainted: G        W          6.12.0-syzkaller-12128-gf788b5ef1ca9 #0
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
==================================================================

Crashes (384):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/02 10:46 upstream f788b5ef1ca9 68914665 .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/12/01 10:27 upstream bcc8eda6d349 68914665 .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/30 21:09 upstream 2ba9f676d0a2 68914665 .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/30 21:08 upstream 2ba9f676d0a2 68914665 .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/30 05:37 upstream 509f806f7f70 68914665 .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/29 23:05 upstream 509f806f7f70 5df23865 .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/29 03:03 upstream 7af08b57bcb9 5df23865 .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/26 15:03 upstream 2c22dc1ee3a1 e9a9a9f2 .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/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/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.