syzbot


linux-next test error: WARNING in rcu_core

Status: upstream: reported on 2024/08/02 07:58
Subsystems: net virt
[Documentation on labels]
Reported-by: syzbot+263726e59eab6b442723@syzkaller.appspotmail.com
Fix commit: slub: Introduce CONFIG_SLUB_RCU_DEBUG
Patched on: [ci-upstream-linux-next-kasan-gce-root], missing on: [ci-qemu-gce-upstream-auto ci-qemu-native-arm64-kvm ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 44d, last: 35d
Discussions (4)
Title Replies (including bot) Last reply
[PATCH v8 0/2] allow KASAN to detect UAF in SLAB_TYPESAFE_BY_RCU slabs 6 (6) 2024/08/13 23:59
[PATCH v7 0/2] allow KASAN to detect UAF in SLAB_TYPESAFE_BY_RCU slabs 3 (3) 2024/08/08 18:57
[PATCH v6 0/2] allow KASAN to detect UAF in SLAB_TYPESAFE_BY_RCU slabs 10 (10) 2024/08/08 00:44
[syzbot] [trace?] linux-next test error: WARNING in rcu_core 1 (2) 2024/08/02 08:07

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 16 at mm/slub.c:4550 slab_free_after_rcu_debug+0x18b/0x270 mm/slub.c:4550
Modules linked in:
CPU: 0 UID: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.11.0-rc2-next-20240809-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:slab_free_after_rcu_debug+0x18b/0x270 mm/slub.c:4550
Code: 48 89 04 19 48 8d 4a 08 49 8b 34 24 65 48 0f c7 0e 75 c8 4c 89 f7 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d e9 36 55 ff ff 90 <0f> 0b 90 eb 92 90 0f 0b 90 eb 8c 90 0f 0b 90 eb 86 41 8b 54 24 1c
RSP: 0000:ffffc90000157a00 EFLAGS: 00010286
RAX: ffff88823be00000 RBX: ffff88802c494000 RCX: 00000000000bcfe0
RDX: ffffea0000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000157c70 R08: ffffffff8142e7cc R09: 1ffffffff26eb903
R10: dffffc0000000000 R11: ffffffff81f13a00 R12: ffffffff817c10e7
R13: ffff88823bebcfe8 R14: ffff88823bebcfe0 R15: ffffea0000b12500
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff88823ffff000 CR3: 000000000e734000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rcu_do_batch kernel/rcu/tree.c:2567 [inline]
 rcu_core+0xaaa/0x17a0 kernel/rcu/tree.c:2823
 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554
 run_ksoftirqd+0xca/0x130 kernel/softirq.c:928
 smpboot_thread_fn+0x544/0xa30 kernel/smpboot.c:164
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/10 03:27 linux-next 61c01d2e181a 6f4edef4 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/09 15:18 linux-next 61c01d2e181a a9e7e9e3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/09 05:05 linux-next 61c01d2e181a 61405512 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/08 18:56 linux-next 222a3380f92b 61405512 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/08 05:56 linux-next 222a3380f92b de12cf65 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/08 04:57 linux-next 222a3380f92b 7b2f2f35 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/07 11:47 linux-next eec5d86d5bac 7b2f2f35 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/07 05:37 linux-next eec5d86d5bac e1bdb00a .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/06 06:30 linux-next 1e391b34f6aa e1bdb00a .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/06 04:09 linux-next d6dbc9f56c3a e1bdb00a .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/05 10:56 linux-next d6dbc9f56c3a e35c337f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/05 05:21 linux-next d6dbc9f56c3a 1786a2a8 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/03 12:11 linux-next f524a5e4dfb7 1786a2a8 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/02 16:25 linux-next f524a5e4dfb7 53683cf2 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/02 04:50 linux-next f524a5e4dfb7 1e9c4cf3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
2024/08/01 06:11 linux-next 048d8cb65cde 1e9c4cf3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in rcu_core
* Struck through repros no longer work on HEAD.