Extracting prog: 4m11.075944758s
Minimizing prog: 1h4m58.165769109s
Simplifying prog options: 7m55.351864491s
Extracting C: 2m27.105731276s
Simplifying C: 0s
extracting reproducer from 55 programs
testing a last program of every proc
single: executing 16 programs separately with timeout 6m0s
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program crashed: INFO: task hung in ftrace_set_clr_event
single: successfully extracted reproducer
found reproducer with 4 syscalls
minimizing guilty program
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
program did not crash
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
write(0xffffffffffffffff, &(0x7f0000000300)=':', 0x1)
program did not crash
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program did not crash
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mount-openat-write
detailed listing:
executing program 0:
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program did not crash
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, 0x0, 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program did not crash
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, 0x0, &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program did not crash
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', 0x0, 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program did not crash
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program did not crash
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, 0x0, 0x0)
program did not crash
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300), 0x0)
program did not crash
extracting C reproducer
testing compiled C program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
program crashed: INFO: rcu detected stall in corrupted
a never seen crash title: INFO: rcu detected stall in corrupted, ignore
simplifying guilty program options
testing program (duration=6m0s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program crashed: INFO: rcu detected stall in corrupted
a never seen crash title: INFO: rcu detected stall in corrupted, ignore
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program crashed: INFO: rcu detected stall in corrupted
a never seen crash title: INFO: rcu detected stall in corrupted, ignore
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program crashed: INFO: task hung in ftrace_set_clr_event
validation run: crashed=true
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program crashed: INFO: rcu detected stall in mac80211_hwsim_beacon
validation run: crashed=true
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program crashed: INFO: rcu detected stall in corrupted
validation run: crashed=true
reproducing took 1h30m27.08054888s
repro crashed as (corrupted=true):
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P166/1:b..l.. P15/4:b..l.. P155/2:b..l.. P29/5:b..l..
rcu: (detected by 0, t=10502 jiffies, g=20597, q=1137 ncpus=2)
task:ksoftirqd/1 state:R running task stack:22488 pid:29 tgid:29 ppid:2 task_flags:0x4208040 flags:0x00080000
Call Trace:
context_switch kernel/sched/core.c:5583 [inline]
__schedule+0x171d/0x56e0 kernel/sched/core.c:7382
preempt_schedule_notrace+0x56/0x90 kernel/sched/core.c:7633
preempt_schedule_notrace_thunk+0x16/0x30 arch/x86/entry/thunk.S:13
class_preempt_notrace_destructor include/linux/preempt.h:497 [inline]
trace_event_raw_event_lock_acquire+0x271/0x2e0 include/trace/events/lock.h:23
__do_trace_lock_acquire include/trace/events/lock.h:23 [inline]
trace_lock_acquire include/trace/events/lock.h:23 [inline]
lock_acquire+0x303/0x350 kernel/locking/lockdep.c:5905
rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
class_rcu_constructor include/linux/rcupdate.h:1216 [inline]
unwind_next_frame+0xac/0x2550 arch/x86/kernel/unwind_orc.c:495
__unwind_start+0x514/0x660 arch/x86/kernel/unwind_orc.c:787
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0xe3/0x150 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:57 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5531 [inline]
__kmalloc_noprof+0x418/0x790 mm/slub.c:5556
_kmalloc_noprof include/linux/slab.h:995 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
ieee802_11_parse_elems_full+0x14b/0x2a10 net/mac80211/parse.c:1077
ieee80211_inform_bss+0x1b3/0x1150 net/mac80211/scan.c:91
rdev_inform_bss net/wireless/rdev-ops.h:457 [inline]
cfg80211_inform_single_bss_data+0xd98/0x1bf0 net/wireless/scan.c:2447
cfg80211_inform_bss_data+0x25b/0x3be0 net/wireless/scan.c:3303
cfg80211_inform_bss_frame_data+0x51a/0xae0 net/wireless/scan.c:3399
ieee80211_bss_info_update+0x772/0xa30 net/mac80211/scan.c:236
ieee80211_scan_rx+0x552/0xa40 net/mac80211/scan.c:370
__ieee80211_rx_handle_packet net/mac80211/rx.c:5414 [inline]
ieee80211_rx_list+0x4090/0x4c40 net/mac80211/rx.c:5765
ieee80211_rx_napi+0x1ad/0x3d0 net/mac80211/rx.c:5790
ieee80211_rx include/net/mac80211.h:5491 [inline]
ieee80211_handle_queued_frames+0xe4/0x1d0 net/mac80211/main.c:452
tasklet_action_common+0x31c/0x600 kernel/softirq.c:995
handle_softirqs+0x1d4/0x6c0 kernel/softirq.c:669
run_ksoftirqd+0x53/0x190 kernel/softirq.c:1133
smpboot_thread_fn+0x5f8/0xb30 kernel/smpboot.c:162
kthread+0x38b/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
task:kworker/u8:6 state:D stack:25272 pid:155 tgid:155 ppid:2 task_flags:0x4208060 flags:0x00080000
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
context_switch kernel/sched/core.c:5583 [inline]
__schedule+0x171d/0x56e0 kernel/sched/core.c:7382
__schedule_loop kernel/sched/core.c:7459 [inline]
schedule_rtlock+0x30/0x70 kernel/sched/core.c:7538
rtlock_slowlock_locked+0x35c9/0x3c20 kernel/locking/rtmutex.c:1895
rtlock_slowlock kernel/locking/rtmutex.c:1922 [inline]
rtlock_lock kernel/locking/spinlock_rt.c:43 [inline]
__rt_spin_lock kernel/locking/spinlock_rt.c:49 [inline]
rt_spin_lock+0x165/0x400 kernel/locking/spinlock_rt.c:57
spin_lock include/linux/spinlock_rt.h:45 [inline]
tasklet_lock_callback kernel/softirq.c:934 [inline]
tasklet_action_common+0xc5/0x600 kernel/softirq.c:984
handle_softirqs+0x1d4/0x6c0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
__local_bh_enable_ip+0x16f/0x2b0 kernel/softirq.c:325
local_bh_enable include/linux/bottom_half.h:33 [inline]
__alloc_skb+0x1b1/0x7a0 net/core/skbuff.c:700
alloc_skb include/linux/skbuff.h:1390 [inline]
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:744 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:801 [inline]
nsim_dev_trap_report_work+0x2b1/0xca0 drivers/net/netdevsim/dev.c:847
process_one_work kernel/workqueue.c:3495 [inline]
process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578
worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659
kthread+0x38b/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
task:ksoftirqd/0 state:R running task stack:22488 pid:15 tgid:15 ppid:2 task_flags:0x4208040 flags:0x00080000
Call Trace:
context_switch kernel/sched/core.c:5583 [inline]
__schedule+0x171d/0x56e0 kernel/sched/core.c:7382
preempt_schedule_notrace+0x56/0x90 kernel/sched/core.c:7633
preempt_schedule_notrace_thunk+0x16/0x30 arch/x86/entry/thunk.S:13
class_preempt_notrace_destructor include/linux/preempt.h:497 [inline]
trace_event_raw_event_lock_acquire+0x271/0x2e0 include/trace/events/lock.h:23
__do_trace_lock_acquire include/trace/events/lock.h:23 [inline]
trace_lock_acquire include/trace/events/lock.h:23 [inline]
lock_acquire+0x303/0x350 kernel/locking/lockdep.c:5905
rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
class_rcu_constructor include/linux/rcupdate.h:1216 [inline]
unwind_next_frame+0xac/0x2550 arch/x86/kernel/unwind_orc.c:495
arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:57 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5531 [inline]
__kmalloc_noprof+0x418/0x790 mm/slub.c:5556
_kmalloc_noprof include/linux/slab.h:995 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
cfg80211_inform_single_bss_data+0x986/0x1bf0 net/wireless/scan.c:2419
cfg80211_inform_bss_data+0x25b/0x3be0 net/wireless/scan.c:3303
cfg80211_inform_bss_frame_data+0x51a/0xae0 net/wireless/scan.c:3399
ieee80211_bss_info_update+0x772/0xa30 net/mac80211/scan.c:236
ieee80211_scan_rx+0x552/0xa40 net/mac80211/scan.c:370
__ieee80211_rx_handle_packet net/mac80211/rx.c:5414 [inline]
ieee80211_rx_list+0x4090/0x4c40 net/mac80211/rx.c:5765
ieee80211_rx_napi+0x1ad/0x3d0 net/mac80211/rx.c:5790
ieee80211_rx include/net/mac80211.h:5491 [inline]
ieee80211_handle_queued_frames+0xe4/0x1d0 net/mac80211/main.c:452
tasklet_action_common+0x31c/0x600 kernel/softirq.c:995
handle_softirqs+0x1d4/0x6c0 kernel/softirq.c:669
run_ksoftirqd+0x53/0x190 kernel/softirq.c:1133
smpboot_thread_fn+0x5f8/0xb30 kernel/smpboot.c:162
kthread+0x38b/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
task:kworker/u8:9 state:D stack:23192 pid:166 tgid:166 ppid:2 task_flags:0x4208060 flags:0x00080000
Workqueue: events_unbound cfg80211_wiphy_work
Call Trace:
context_switch kernel/sched/core.c:5583 [inline]
__schedule+0x171d/0x56e0 kernel/sched/core.c:7382
__schedule_loop kernel/sched/core.c:7459 [inline]
schedule_rtlock+0x30/0x70 kernel/sched/core.c:7538
rtlock_slowlock_locked+0x35c9/0x3c20 kernel/locking/rtmutex.c:1895
rtlock_slowlock kernel/locking/rtmutex.c:1922 [inline]
rtlock_lock kernel/locking/spinlock_rt.c:43 [inline]
__rt_spin_lock kernel/locking/spinlock_rt.c:49 [inline]
rt_spin_lock+0x165/0x400 kernel/locking/spinlock_rt.c:57
spin_lock include/linux/spinlock_rt.h:45 [inline]
tasklet_lock_callback kernel/softirq.c:934 [inline]
tasklet_action_common+0xc5/0x600 kernel/softirq.c:984
handle_softirqs+0x1d4/0x6c0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
__local_bh_enable_ip+0x16f/0x2b0 kernel/softirq.c:325
local_bh_enable include/linux/bottom_half.h:33 [inline]
spin_unlock_bh include/linux/spinlock_rt.h:122 [inline]
cfg80211_inform_single_bss_data+0x135d/0x1bf0 net/wireless/scan.c:2463
cfg80211_inform_bss_data+0x25b/0x3be0 net/wireless/scan.c:3303
cfg80211_inform_bss_frame_data+0x51a/0xae0 net/wireless/scan.c:3399
ieee80211_bss_info_update+0x772/0xa30 net/mac80211/scan.c:236
ieee80211_rx_bss_info net/mac80211/ibss.c:1065 [inline]
ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1546 [inline]
ieee80211_ibss_rx_queued_mgmt+0x1ce1/0x2c40 net/mac80211/ibss.c:1573
ieee80211_iface_process_skb net/mac80211/iface.c:1805 [inline]
ieee80211_iface_work+0x769/0xfa0 net/mac80211/iface.c:1859
cfg80211_wiphy_work+0x29e/0x420 net/wireless/core.c:610
process_one_work kernel/workqueue.c:3495 [inline]
process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578
worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659
kthread+0x38b/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
report is corrupted, running repro again
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program crashed: INFO: rcu detected stall in corrupted
report is corrupted, running repro again
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program crashed: INFO: rcu detected stall in corrupted
report is corrupted, running repro again
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./trace\x00', 0x1ff)
mount(0x0, &(0x7f0000000240)='./trace\x00', &(0x7f0000000280)='tracefs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f00000002c0)='./trace/set_event\x00', 0x2, 0x0)
write(r0, &(0x7f0000000300)=':', 0x1)
program crashed: INFO: rcu detected stall in corrupted
final repro crashed as (corrupted=true):
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P150/2:b..l.. P29/4:b..l..
rcu: (detected by 0, t=10502 jiffies, g=20065, q=1922 ncpus=2)
task:ksoftirqd/1 state:R running task stack:22488 pid:29 tgid:29 ppid:2 task_flags:0x4208040 flags:0x00080000
Call Trace:
context_switch kernel/sched/core.c:5583 [inline]
__schedule+0x171d/0x56e0 kernel/sched/core.c:7382
preempt_schedule_common+0x7f/0xd0 kernel/sched/core.c:7561
preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12
class_preempt_destructor include/linux/preempt.h:496 [inline]
raw_spin_unlock_irqrestore_wake include/linux/sched/wake_q.h:102 [inline]
rtlock_slowlock kernel/locking/rtmutex.c:1923 [inline]
rtlock_lock kernel/locking/spinlock_rt.c:43 [inline]
__rt_spin_lock kernel/locking/spinlock_rt.c:49 [inline]
rt_spin_lock+0x31a/0x400 kernel/locking/spinlock_rt.c:57
spin_lock include/linux/spinlock_rt.h:45 [inline]
kcov_remote_start+0x13c/0x730 kernel/kcov.c:907
kcov_remote_start_common include/linux/kcov.h:48 [inline]
ieee80211_rx_list+0x988/0x4c40 net/mac80211/rx.c:5747
ieee80211_rx_napi+0x1ad/0x3d0 net/mac80211/rx.c:5790
ieee80211_rx include/net/mac80211.h:5491 [inline]
ieee80211_handle_queued_frames+0xe4/0x1d0 net/mac80211/main.c:452
tasklet_action_common+0x31c/0x600 kernel/softirq.c:995
handle_softirqs+0x1d4/0x6c0 kernel/softirq.c:669
run_ksoftirqd+0x53/0x190 kernel/softirq.c:1133
smpboot_thread_fn+0x5f8/0xb30 kernel/smpboot.c:162
kthread+0x38b/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
task:kworker/u8:6 state:D stack:21432 pid:150 tgid:150 ppid:2 task_flags:0x4208060 flags:0x00080000
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
context_switch kernel/sched/core.c:5583 [inline]
__schedule+0x171d/0x56e0 kernel/sched/core.c:7382
__schedule_loop kernel/sched/core.c:7459 [inline]
schedule_rtlock+0x30/0x70 kernel/sched/core.c:7538
rtlock_slowlock_locked+0x35c9/0x3c20 kernel/locking/rtmutex.c:1895
rtlock_slowlock kernel/locking/rtmutex.c:1922 [inline]
rtlock_lock kernel/locking/spinlock_rt.c:43 [inline]
__rt_spin_lock kernel/locking/spinlock_rt.c:49 [inline]
rt_spin_lock+0x165/0x400 kernel/locking/spinlock_rt.c:57
spin_lock include/linux/spinlock_rt.h:45 [inline]
tasklet_lock_callback kernel/softirq.c:934 [inline]
tasklet_action_common+0xc5/0x600 kernel/softirq.c:984
handle_softirqs+0x1d4/0x6c0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
__local_bh_enable_ip+0x16f/0x2b0 kernel/softirq.c:325
local_bh_enable include/linux/bottom_half.h:33 [inline]
spin_unlock_bh include/linux/spinlock_rt.h:122 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:816 [inline]
nsim_dev_trap_report_work+0x871/0xca0 drivers/net/netdevsim/dev.c:847
process_one_work kernel/workqueue.c:3495 [inline]
process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578
worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659
kthread+0x38b/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
rcu: rcu_preempt kthread starved for 643 jiffies! g20065 f0x0 RCU_GP_WAIT_FQS(5) ->state=I ->cpu=0
rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt state:I stack:25208 pid:17 tgid:17 ppid:2 task_flags:0x208040 flags:0x00080000
Call Trace:
context_switch kernel/sched/core.c:5583 [inline]
__schedule+0x171d/0x56e0 kernel/sched/core.c:7382
preempt_schedule_notrace+0x56/0x90 kernel/sched/core.c:7633
preempt_schedule_notrace_thunk+0x16/0x30 arch/x86/entry/thunk.S:13
class_preempt_notrace_destructor include/linux/preempt.h:497 [inline]
trace_event_raw_event_lock_acquire+0x271/0x2e0 include/trace/events/lock.h:23
__do_trace_lock_acquire include/trace/events/lock.h:23 [inline]
trace_lock_acquire include/trace/events/lock.h:23 [inline]
lock_acquire+0x303/0x350 kernel/locking/lockdep.c:5905
rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
class_rcu_constructor include/linux/rcupdate.h:1216 [inline]
unwind_next_frame+0xac/0x2550 arch/x86/kernel/unwind_orc.c:495
arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122
save_stack+0x124/0x230 mm/page_owner.c:183
__set_page_owner+0x8d/0x4b0 mm/page_owner.c:359
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1854
prep_new_page mm/page_alloc.c:1862 [inline]
get_page_from_freelist+0x258b/0x2600 mm/page_alloc.c:3933
__alloc_frozen_pages_noprof+0x225/0x440 mm/page_alloc.c:5429
alloc_pages_mpol+0xd4/0x280 mm/mempolicy.c:2511
alloc_slab_page mm/slub.c:3382 [inline]
allocate_slab+0x89/0x5e0 mm/slub.c:3499
new_slab mm/slub.c:3550 [inline]
___slab_alloc+0x16e/0x920 mm/slub.c:4605
slab_alloc_node mm/slub.c:5024 [inline]
kmem_cache_alloc_noprof+0xe7/0x680 mm/slub.c:5047
kmem_alloc_batch lib/debugobjects.c:371 [inline]
fill_pool+0x163/0x610 lib/debugobjects.c:420
debug_objects_fill_pool+0x63/0x80 lib/debugobjects.c:780
debug_object_assert_init+0x65/0x310 lib/debugobjects.c:1066
debug_timer_assert_init kernel/time/timer.c:803 [inline]
debug_assert_init kernel/time/timer.c:848 [inline]
__mod_timer+0x4b/0xf10 kernel/time/timer.c:1025
schedule_timeout+0x14d/0x2c0 kernel/time/sleep_timeout.c:98
rcu_gp_fqs_loop+0x30c/0x1230 kernel/rcu/tree.c:2122
rcu_gp_kthread+0x9c/0x340 kernel/rcu/tree.c:2330
kthread+0x38b/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 UID: 0 PID: 4936 Comm: jbd2/sda1-8 Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80 kernel/locking/spinlock.c:221
Code: f7 e8 1d c1 33 f6 f7 c3 00 02 00 00 74 05 e8 10 67 60 f6 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 64 c2 25 f6 65 48 8b 05 dc 84 5d 08 48 85 c0 74 18 5b 41 5e c3
RSP: 0000:ffffc9000749f788 EFLAGS: 00000206
RAX: 0000000000000002 RBX: 0000000000000246 RCX: 8000000000000001
RDX: 0000000000000006 RSI: ffffffff8dae6205 RDI: 0000000000000001
RBP: ffffc9000749f898 R08: ffffffff90d448bf R09: 1ffffffff21a8917
R10: dffffc0000000000 R11: fffffbfff21a8918 R12: dffffc0000000000
R13: 1ffff92000e93efc R14: ffff8880246bfab8 R15: 0000000000000246
FS: 0000000000000000(0000) GS:ffff88812474d000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa6ccff9080 CR3: 000000003ed60000 CR4: 00000000003526f0
Call Trace:
unlock_rt_mutex_safe kernel/locking/rtmutex.c:350 [inline]
rt_mutex_slowunlock+0x4ee/0xa30 kernel/locking/rtmutex.c:1467
rt_spin_unlock+0x10f/0x200 kernel/locking/spinlock_rt.c:84
spin_unlock include/linux/spinlock_rt.h:115 [inline]
jbd2_journal_commit_transaction+0x3eb4/0x5cb0 fs/jbd2/commit.c:1061
kjournald2+0x3bc/0x740 fs/jbd2/journal.c:200
kthread+0x38b/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245