syzbot


BUG: soft lockup in bpf_prog_release

Status: premoderation: reported on 2025/12/01 16:11
Reported-by: syzbot+0af4d1c2216170a895aa@syzkaller.appspotmail.com
First crash: 43d, last: 43d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: soft lockup in bpf_prog_release (2) 1 1 11h04m 11h03m 0/2 premoderation: reported on 2026/01/14 03:08
android-5-15 BUG: soft lockup in bpf_prog_release 1 1 630d 630d 0/2 auto-obsoleted due to no activity on 2024/07/23 02:58

Sample crash report:
RBP: 00007f40fbee9f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f40fc0bc218 R14: 00007f40fc0bc180 R15: 00007ffd9a1f4ed8
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.2.3466:13353]
Modules linked in:
CPU: 0 PID: 13353 Comm: syz.2.3466 Tainted: G        W         syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:check_kcov_mode kernel/kcov.c:174 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x36/0x60 kernel/kcov.c:197
Code: 30 c9 9e 7e 65 8b 15 35 c9 9e 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 dc 0a 00 00 00 74 2c 8b 91 b8 0a 00 00 <83> fa 02 75 21 48 8b 91 c0 0a 00 00 48 8b 32 48 8d 7e 01 8b 89 bc
RSP: 0018:ffffc9000096f7a0 EFLAGS: 00000246
RAX: ffffffff81816146 RBX: ffff8881276d6010 RCX: ffff88811d0f0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000096f7a0 R08: dffffc0000000000 R09: fffffbfff0d46c85
R10: fffffbfff0d46c85 R11: 1ffffffff0d46c84 R12: ffff8881276d63e8
R13: ffff8881276d6000 R14: ffff8881276d3810 R15: ffffffff86406a18
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff620b0518 CR3: 000000000620f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 pmu_filter_match kernel/events/core.c:2325 [inline]
 event_filter_match kernel/events/core.c:2337 [inline]
 perf_iterate_sb_cpu kernel/events/core.c:7526 [inline]
 perf_iterate_sb+0x5f6/0xd50 kernel/events/core.c:7558
 perf_event_bpf_event+0x41e/0x530 kernel/events/core.c:8884
 __bpf_prog_put kernel/bpf/syscall.c:1773 [inline]
 bpf_prog_put+0x7a/0x3a0 kernel/bpf/syscall.c:1783
 bpf_prog_release+0x3b/0x40 kernel/bpf/syscall.c:1791
 __fput+0x2fb/0x770 fs/file_table.c:281
 ____fput+0x15/0x20 fs/file_table.c:314
 task_work_run+0x127/0x190 kernel/task_work.c:189
 exit_task_work include/linux/task_work.h:33 [inline]
 do_exit+0xa4f/0x2480 kernel/exit.c:872
 do_group_exit+0x141/0x310 kernel/exit.c:986
 get_signal+0xf7d/0x12e0 kernel/signal.c:2793
 arch_do_signal_or_restart+0xbf/0x10f0 arch/x86/kernel/signal.c:805
 handle_signal_work kernel/entry/common.c:145 [inline]
 exit_to_user_mode_loop+0xa2/0xe0 kernel/entry/common.c:169
 exit_to_user_mode_prepare+0x76/0xa0 kernel/entry/common.c:199
 syscall_exit_to_user_mode+0x1d/0x40 kernel/entry/common.c:274
 do_syscall_64+0x3d/0x40 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f40fbe65749
Code: Unable to access opcode bytes at RIP 0x7f40fbe6571f.
RSP: 002b:00007f40fa88b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: 000000000000000c RBX: 00007f40fc0bc180 RCX: 00007f40fbe65749
RDX: 0000000000000090 RSI: 00002000000000c0 RDI: 0000000000000005
RBP: 00007f40fbee9f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f40fc0bc218 R14: 00007f40fc0bc180 R15: 00007ffd9a1f4ed8
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 1563 Comm: kworker/u4:5 Tainted: G        W         syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:229 [inline]
RIP: 0010:smp_call_function_single+0x1fd/0x470 kernel/smp.c:517
Code: ff e8 c7 6f 0a 00 41 83 e6 01 49 bc 00 00 00 00 00 fc ff df 75 0a e8 02 6c 0a 00 e9 a9 00 00 00 f3 90 f7 44 24 48 01 00 00 00 <0f> 84 94 00 00 00 e8 e8 6b 0a 00 eb e9 e8 71 f0 19 03 89 c3 41 89
RSP: 0018:ffffc90000e57720 EFLAGS: 00000202
RAX: ffffffff81593858 RBX: 0000000000000000 RCX: ffff88811af00000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000e57810 R08: dffffc0000000000 R09: ffffed103ee0aec9
R10: ffffed103ee0aec9 R11: 1ffff1103ee0aec8 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000001 R15: 1ffff920001caee8
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f629bafd49a CR3: 000000000620f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 smp_call_function_many_cond+0x8f2/0x9e0 kernel/smp.c:653
 smp_call_function_many kernel/smp.c:716 [inline]
 smp_call_function kernel/smp.c:738 [inline]
 on_each_cpu+0xab/0x170 kernel/smp.c:837
 text_poke_sync arch/x86/kernel/alternative.c:1568 [inline]
 text_poke_bp_batch+0x1c4/0x580 arch/x86/kernel/alternative.c:1768
 text_poke_flush arch/x86/kernel/alternative.c:1959 [inline]
 text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1966
 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:126
 __jump_label_update+0x37c/0x3a0 kernel/jump_label.c:459
 jump_label_update+0x34c/0x3e0 kernel/jump_label.c:825
 static_key_enable_cpuslocked+0x126/0x240 kernel/jump_label.c:177
 static_key_enable+0x1a/0x30 kernel/jump_label.c:190
 toggle_allocation_gate+0xb4/0x400 mm/kfence/core.c:624
 process_one_work+0x6e1/0xba0 kernel/workqueue.c:2301
 worker_thread+0xa6a/0x13b0 kernel/workqueue.c:2447
 kthread+0x346/0x3d0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/01 16:10 android13-5.10-lts 9286af17ed5f d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in bpf_prog_release
* Struck through repros no longer work on HEAD.