syzbot
BUG: sleeping function called from invalid context in bpf_test_timer_continue
Status:
auto-obsoleted due to no activity on 2024/12/25 02:13
Bug presence:
origin:lts-only
[Documentation on labels]
Reported-by: syzbot+4155f6d497406cac5053@syzkaller.appspotmail.com
First crash: 924d, last: 921d
▶
▼
Bug presence (2)
| Date |
Name |
Commit |
Repro |
Result |
| 2024/02/05 |
linux-5.15.y (ToT) |
6139f2a02fe0 |
C
|
[report] BUG: sleeping function called from invalid context in bpf_test_timer_continue
|
| 2024/02/05 |
upstream (ToT) |
54be6c6c5ae8 |
C
|
Didn't crash |
▶
▼
Last patch testing requests (10)
▶
▼
Fix bisection attempts (1)
| Created |
Duration |
User |
Patch |
Repo |
Result |
| 2024/03/01 00:08 |
5h30m
|
fix candidate
|
|
upstream |
OK
(1)
job log
|
Sample crash report:
BUG: sleeping function called from invalid context at net/bpf/test_run.c:77
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3536, name: syz-executor233
no locks held by syz-executor233/3536.
Preemption disabled at:
[<ffffffff81964784>] try_get_fmt_tmp_buf kernel/bpf/helpers.c:728 [inline]
[<ffffffff81964784>] bpf_bprintf_prepare+0x114/0x1310 kernel/bpf/helpers.c:778
CPU: 0 PID: 3536 Comm: syz-executor233 Not tainted 5.15.148-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
___might_sleep+0x547/0x6a0 kernel/sched/core.c:9626
bpf_test_timer_continue+0x26f/0x350 net/bpf/test_run.c:77
bpf_test_run+0x42b/0x8a0 net/bpf/test_run.c:120
bpf_prog_test_run_skb+0xb41/0x1420 net/bpf/test_run.c:663
bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3340
__sys_bpf+0x3ac/0x670 kernel/bpf/syscall.c:4641
__do_sys_bpf kernel/bpf/syscall.c:4727 [inline]
__se_sys_bpf kernel/bpf/syscall.c:4725 [inline]
__x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4725
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7faf15fbe229
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc417c8a28 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007faf15fbe229
RDX: 0000000000000050 RSI: 0000000020000640 RDI: 000000000000000a
RBP: 0000000000000000 R08: 00000000000000a0 R09: 00000000000000a0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
</TASK>
BUG: scheduling while atomic: syz-executor233/3536/0x00000002
no locks held by syz-executor233/3536.
Modules linked in:
Preemption disabled at:
[<ffffffff81964784>] try_get_fmt_tmp_buf kernel/bpf/helpers.c:728 [inline]
[<ffffffff81964784>] bpf_bprintf_prepare+0x114/0x1310 kernel/bpf/helpers.c:778
* Struck through repros no longer work on HEAD.