syzbot


KCSAN: data-race in mas_spanning_rebalance / mas_state_walk

Status: auto-obsoleted due to no activity on 2023/10/02 10:36
Subsystems: mm
[Documentation on labels]
First crash: 638d, last: 519d

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

write to 0xffff888104e94b00 of 8 bytes by task 3090 on cpu 0:
 mte_set_node_dead lib/maple_tree.c:303 [inline]
 mat_add lib/maple_tree.c:994 [inline]
 mas_spanning_rebalance+0x281d/0x3040 lib/maple_tree.c:3123
 mas_wr_spanning_store+0x19ad/0x1db0 lib/maple_tree.c:4067
 mas_wr_store_entry+0x748/0x810 lib/maple_tree.c:4382
 mas_store_prealloc+0xe9/0x250 lib/maple_tree.c:5537
 vma_iter_store mm/internal.h:1090 [inline]
 vma_expand+0x326/0x400 mm/mmap.c:679
 mmap_region+0xc34/0x14d0 mm/mmap.c:2716
 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 0xffff888104e94b00 of 8 bytes by task 3287 on cpu 1:
 ma_dead_node lib/maple_tree.c:538 [inline]
 mtree_range_walk lib/maple_tree.c:2954 [inline]
 mas_state_walk+0x267/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: 0xffff88810004ef81 -> 0xffff888104e94b00

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

Crashes (40):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/28 10:33 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/08/27 12:11 upstream 28f20a19294d 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/08/16 12:22 upstream 4853c74bd7ab 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/08/12 23:10 upstream ae545c3283dc 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/08/11 04:31 upstream 25aa0bebba72 da3c3ef8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/08/10 11:14 upstream 374a7f47bf40 13ca4cd6 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/08/08 13:57 upstream 14f9643dc90a 9552ae77 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/08/05 10:40 upstream 024ff300db33 cdae481e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/30 17:53 upstream d31e3792919e 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/30 01:07 upstream 12214540ad87 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/26 16:44 upstream 18b44bc5a672 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/26 11:48 upstream 18b44bc5a672 2a509c27 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/25 15:49 upstream 0b5547c51827 6756545c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/20 15:38 upstream bfa3037d8280 f49af159 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/18 15:27 upstream fdf0eaf11452 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/17 15:04 upstream fdf0eaf11452 20f8b3c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/16 01:45 upstream 831fe284d827 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/15 12:57 upstream b6e6cc1f78c7 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/13 19:40 upstream eb26cbb1a754 55eda22f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/13 03:48 upstream eb26cbb1a754 86081196 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/10 21:22 upstream 3f01e9fed845 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/09 10:50 upstream 1c7873e33645 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/06 10:40 upstream c17414a273b8 ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/05 21:33 upstream d528014517f2 ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/04 11:44 upstream 24be4d0b46bb 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/03 16:20 upstream a901a3568fd2 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/07/01 13:14 upstream d85a143b69ab bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/06/28 14:05 upstream 6aeadf7896bf 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/06/26 17:06 upstream 6995e2de6891 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/06/08 03:00 upstream a27648c74210 058b3a5a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/06/04 15:30 upstream e5282a7d8f6b a4ae4f42 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/05/27 00:46 upstream 0d85b27b0cc6 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/05/24 21:02 upstream 9d646009f65d 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/05/24 20:50 upstream 9d646009f65d 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/05/18 18:15 upstream 4d6d4c7f541d 3bb7af1d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/05/17 19:56 upstream 1b66c114d161 eaac4681 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/05/15 16:07 upstream f1fcbaa18b28 c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/05/07 22:36 upstream 17784de648be 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/05/02 02:42 upstream c8c655c34e33 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
2023/05/01 06:13 upstream 58390c8ce1bd 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mas_spanning_rebalance / mas_state_walk
* Struck through repros no longer work on HEAD.