syzbot


KCSAN: data-race in call_rcu / mas_state_walk

Status: auto-obsoleted due to no activity on 2024/02/06 14:05
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+9a4e754d25bd0830943a@syzkaller.appspotmail.com
First crash: 360d, last: 105d

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

write to 0xffff8881039de310 of 8 bytes by task 3103 on cpu 0:
 __call_rcu_common kernel/rcu/tree.c:2679 [inline]
 call_rcu+0x3c/0x410 kernel/rcu/tree.c:2795
 ma_free_rcu lib/maple_tree.c:190 [inline]
 mas_free lib/maple_tree.c:1327 [inline]
 mas_replace_node+0x2f8/0x430 lib/maple_tree.c:1761
 mas_wr_node_store lib/maple_tree.c:3995 [inline]
 mas_wr_modify+0x287c/0x37d0 lib/maple_tree.c:4229
 mas_wr_store_entry+0x235/0x350 lib/maple_tree.c:4269
 mas_store_prealloc+0x155/0x2b0 lib/maple_tree.c:5460
 vma_iter_store mm/internal.h:1198 [inline]
 vma_expand+0x4ad/0x520 mm/mmap.c:666
 mmap_region+0x87f/0x16e0 mm/mmap.c:2825
 do_mmap+0x67e/0xa90 mm/mmap.c:1379
 vm_mmap_pgoff+0x12e/0x240 mm/util.c:556
 ksys_mmap_pgoff+0xc5/0x330 mm/mmap.c:1425
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff8881039de310 of 8 bytes by task 4087 on cpu 1:
 mtree_range_walk lib/maple_tree.c:2817 [inline]
 mas_state_walk+0x2f3/0x5d0 lib/maple_tree.c:3712
 mas_walk+0x31/0x120 lib/maple_tree.c:4888
 lock_vma_under_rcu+0x8d/0x2a0 mm/memory.c:5497
 do_user_addr_fault arch/x86/mm/fault.c:1356 [inline]
 handle_page_fault arch/x86/mm/fault.c:1507 [inline]
 exc_page_fault+0x164/0x6d0 arch/x86/mm/fault.c:1563
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 4087 Comm: syz-fuzzer Not tainted 6.7.0-syzkaller-00562-g9f8413c4a66f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
==================================================================

Crashes (284):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/09 14:04 upstream 9f8413c4a66f 4807fb37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2024/01/09 11:12 upstream 9f8413c4a66f 4c0fd4bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2024/01/08 19:06 upstream 0dd3ee311255 4c0fd4bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2024/01/07 02:52 upstream 52b1853b080a d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2024/01/04 20:36 upstream 5eff55d725a4 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2024/01/03 23:07 upstream ac865f00af29 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2024/01/03 21:57 upstream 610a9b8f49fb 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2024/01/01 11:10 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/30 02:39 upstream f016f7547aee fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/29 13:35 upstream 8735c7c84d1b fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/29 00:07 upstream 505e701c0b2c fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/28 05:17 upstream f5837722ffec fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/24 12:29 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/23 22:31 upstream 3f82f1c3a036 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/23 07:48 upstream 5254c0cbc92d fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/22 12:33 upstream 24e0d2e527a3 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/21 22:25 upstream 9a6b294ab496 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/20 21:35 upstream 1a44b0073b92 de21eb89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/20 16:56 upstream 55cb5f43689d de21eb89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/19 11:00 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/18 23:17 upstream 2cf4f94d8e86 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/17 04:13 upstream 3b8a9b2e6809 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/16 14:55 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/16 14:49 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/16 02:46 upstream 3bd7d7488169 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/15 12:33 upstream 3f7168591ebf 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/14 23:14 upstream c7402612e2e6 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/13 21:34 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/13 10:23 upstream 88035e5694a8 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/12 14:35 upstream 26aff849438c ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/12 03:49 upstream 26aff849438c 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/11 01:24 upstream a39b6ac3781d 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/09 03:32 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/08 01:15 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/07 11:55 upstream bee0e7762ad2 0a02ce36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/06 15:58 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/05 19:15 upstream bee0e7762ad2 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/04 23:34 upstream bee0e7762ad2 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/03 02:01 upstream 1b8af6552cb7 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/02 04:05 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/12/01 14:41 upstream 994d5c58e50e f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/11/30 23:48 upstream e8f60209d6cf f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/11/30 03:05 upstream 3b47bc037bd4 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/11/29 18:34 upstream 3b47bc037bd4 6e78f9ce .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/04/29 08:07 upstream 89d77f71f493 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
2023/04/29 03:12 upstream 33afd4b76393 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in call_rcu / mas_state_walk
* Struck through repros no longer work on HEAD.