syzbot


KCSAN: data-race in mas_state_walk / mast_fill_bnode

Status: auto-obsoleted due to no activity on 2023/10/03 19:51
Subsystems: mm
[Documentation on labels]
First crash: 638d, last: 517d

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

write to 0xffff8881047a6908 of 8 bytes by task 8383 on cpu 0:
 mat_add lib/maple_tree.c:995 [inline]
 mast_fill_bnode+0x132/0xeb0 lib/maple_tree.c:3373
 mas_split lib/maple_tree.c:3579 [inline]
 mas_commit_b_node lib/maple_tree.c:3638 [inline]
 mas_wr_bnode lib/maple_tree.c:4323 [inline]
 mas_wr_modify+0x14af/0x35e0 lib/maple_tree.c:4361
 mas_wr_store_entry+0x668/0x810 lib/maple_tree.c:4398
 mas_store_prealloc+0xe9/0x250 lib/maple_tree.c:5537
 vma_iter_store+0xcb/0xe0 mm/internal.h:1090
 mmap_region+0xe6c/0x14d0 mm/mmap.c:2818
 do_mmap+0x69c/0xaa0 mm/mmap.c:1363
 vm_mmap_pgoff+0x12f/0x240 mm/util.c:543
 ksys_mmap_pgoff+0xc5/0x330 mm/mmap.c:1409
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff8881047a6908 of 8 bytes by task 8390 on cpu 1:
 mtree_range_walk lib/maple_tree.c:2957 [inline]
 mas_state_walk+0x28b/0x5d0 lib/maple_tree.c:3869
 mas_walk+0x7e/0x160 lib/maple_tree.c:4988
 lock_vma_under_rcu+0x8d/0x2d0 mm/memory.c:5385
 do_user_addr_fault arch/x86/mm/fault.c:1335 [inline]
 handle_page_fault arch/x86/mm/fault.c:1486 [inline]
 exc_page_fault+0x160/0x650 arch/x86/mm/fault.c:1542
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570

value changed: 0x000000001fffefff -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8390 Comm: syz-executor.2 Tainted: G        W          6.5.0-syzkaller-01810-gf97e18a3f2fb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
==================================================================

Crashes (36):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/29 19:40 upstream f97e18a3f2fb ce731e62 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/08/25 10:43 upstream 4f9e7fabf864 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/08/25 10:42 upstream 4f9e7fabf864 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/08/24 18:30 upstream 93f5de5f648d 49be837e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/08/24 05:11 upstream a5e505a99ca7 4d7ae7ab .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/08/23 10:23 upstream 89bf6209cad6 b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/08/22 15:29 upstream f7757129e3de b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/08/10 13:21 upstream 374a7f47bf40 da3c3ef8 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/08/10 11:21 upstream 374a7f47bf40 13ca4cd6 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/08/08 14:01 upstream 14f9643dc90a 9552ae77 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/08/08 08:48 upstream 14f9643dc90a b1b6ae3d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/26 16:42 upstream 18b44bc5a672 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/24 23:26 upstream 20ea1e7d13c1 b03242d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/24 23:26 upstream 20ea1e7d13c1 b03242d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/23 12:57 upstream c2782531397f 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/19 22:11 upstream bfa3037d8280 4547cdf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/18 19:00 upstream 74f1456c4a5f 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/16 02:07 upstream 831fe284d827 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/14 22:32 upstream bde7f150276b 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/13 20:09 upstream eb26cbb1a754 55eda22f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/08 21:47 upstream 8fc3b8f082cc 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/01 14:01 upstream d85a143b69ab bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/07/01 08:52 upstream d85a143b69ab af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/06/27 09:48 upstream 1ef6663a587b 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/06/24 15:12 upstream a92b7d26c743 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/06/23 02:20 upstream 8a28a0b6f1a1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/06/20 02:52 upstream 692b7dc87ca6 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/06/14 19:14 upstream b6dad5178cea d2ee9228 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/06/11 09:18 upstream 022ce8862dff 49519f06 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/06/04 17:00 upstream e5282a7d8f6b a4ae4f42 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/05/31 15:46 upstream afead42fdfca 09898419 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/05/26 13:13 upstream 9db898594c54 b40ef614 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/05/24 08:04 upstream 27e462c8fad4 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/05/19 02:42 upstream 2d1bcbc6cd70 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/05/05 07:02 upstream 78b421b6a7c6 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
2023/04/30 12:48 upstream 825a0714d2b3 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_state_walk / mast_fill_bnode
* Struck through repros no longer work on HEAD.