syzbot


WARNING in bpf_get_stack_raw_tp

Status: upstream: reported C repro on 2024/08/26 12:52
Subsystems: bpf trace
[Documentation on labels]
Reported-by: syzbot+ce35de20ed6652f60652@syzkaller.appspotmail.com
First crash: 89d, last: 2d06h
Cause bisection: failed (error log, bisect log)
  
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly trace report (Oct 2024) 4 (5) 2024/10/15 14:05
[syzbot] Monthly trace report (Sep 2024) 2 (3) 2024/09/10 00:22
[syzbot] [bpf?] [trace?] WARNING in bpf_get_stack_raw_tp 0 (1) 2024/08/26 12:52
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in bpf_get_stack_raw_tp origin:lts-only C done 478 6h57m 93d 0/3 upstream: reported C repro on 2024/08/19 13:02
linux-6.1 WARNING in bpf_get_stack_raw_tp origin:upstream C 8 6h49m 80d 0/3 upstream: reported C repro on 2024/09/01 10:26

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5848 at kernel/trace/bpf_trace.c:1829 get_bpf_raw_tp_regs kernel/trace/bpf_trace.c:1829 [inline]
WARNING: CPU: 1 PID: 5848 at kernel/trace/bpf_trace.c:1829 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1902 [inline]
WARNING: CPU: 1 PID: 5848 at kernel/trace/bpf_trace.c:1829 bpf_get_stack_raw_tp+0x1c9/0x240 kernel/trace/bpf_trace.c:1899
Modules linked in:
CPU: 1 UID: 0 PID: 5848 Comm: syz-executor513 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:get_bpf_raw_tp_regs kernel/trace/bpf_trace.c:1829 [inline]
RIP: 0010:____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1902 [inline]
RIP: 0010:bpf_get_stack_raw_tp+0x1c9/0x240 kernel/trace/bpf_trace.c:1899
Code: fd 82 1f 00 65 ff 0d c6 dc 62 7e 4c 63 f0 4c 89 f0 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 08 50 f4 ff 90 <0f> 0b 90 65 ff 0d 9d dc 62 7e 49 c7 c6 f0 ff ff ff eb d1 44 89 e9
RSP: 0018:ffffc900040166d0 EFLAGS: 00010293
RAX: ffffffff81a08788 RBX: 0000000000000003 RCX: ffff88807ab43c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000fffffffc
RBP: ffffc90004016710 R08: ffffffff81a08657 R09: 1ffffffff2852700
R10: dffffc0000000000 R11: ffffffffa00038f4 R12: ffff8880b8736238
R13: 0000000000000900 R14: 0000000000000000 R15: ffffc90004016728
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f132ac40130 CR3: 00000000754f2000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 </TASK>
Kernel panic - not syncing: kernel: panic_on_warn set ...
CPU: 1 UID: 0 PID: 5848 Comm: syz-executor513 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
 panic+0x349/0x880 kernel/panic.c:354
 __warn+0x34b/0x4e0
 __report_bug lib/bug.c:199 [inline]
 report_bug+0x2b3/0x500 lib/bug.c:219
 handle_bug+0x60/0x90 arch/x86/kernel/traps.c:285
 exc_invalid_op+0x1a/0x50 arch/x86/kernel/traps.c:309
 asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:621
RIP: 0010:get_bpf_raw_tp_regs kernel/trace/bpf_trace.c:1829 [inline]
RIP: 0010:____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1902 [inline]
RIP: 0010:bpf_get_stack_raw_tp+0x1c9/0x240 kernel/trace/bpf_trace.c:1899
Code: fd 82 1f 00 65 ff 0d c6 dc 62 7e 4c 63 f0 4c 89 f0 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 08 50 f4 ff 90 <0f> 0b 90 65 ff 0d 9d dc 62 7e 49 c7 c6 f0 ff ff ff eb d1 44 89 e9
RSP: 0018:ffffc900040166d0 EFLAGS: 00010293
RAX: ffffffff81a08788 RBX: 0000000000000003 RCX: ffff88807ab43c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000fffffffc
RBP: ffffc90004016710 R08: ffffffff81a08657 R09: 1ffffffff2852700
R10: dffffc0000000000 R11: ffffffffa00038f4 R12: ffff8880b8736238
R13: 0000000000000900 R14: 0000000000000000 R15: ffffc90004016728
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (63):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/25 00:57 upstream c2ee9f594da8 9fc8fe02 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in bpf_get_stack_raw_tp
2024/10/22 02:24 upstream 42f7652d3eb5 a93682b3 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in bpf_get_stack_raw_tp
2024/11/18 23:29 bpf adc218676eef 571351cb .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/11/17 23:19 bpf 9f8e716d46c6 cfe3a04a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/11/17 09:26 bpf 9f8e716d46c6 cfe3a04a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/11/17 02:44 bpf 9f8e716d46c6 cfe3a04a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/11/16 21:37 bpf 9f8e716d46c6 cfe3a04a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/11/07 18:28 net 5f897f30f596 c069283c .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/30 16:38 bpf d0b98f6a17a5 66aeb999 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/09 13:32 net 08c8acc9d8f3 402f1df0 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/21 14:24 bpf b831f83e40a2 6f888b75 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/21 09:12 bpf b831f83e40a2 6f888b75 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/19 23:15 bpf b831f83e40a2 6f888b75 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/19 20:02 bpf b831f83e40a2 6f888b75 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/16 21:33 bpf b831f83e40a2 49cf0773 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/08/24 10:20 bpf 872cf28b8df9 d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/08/24 08:59 bpf 872cf28b8df9 d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/08/24 07:38 bpf 872cf28b8df9 d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/08/24 06:13 bpf 872cf28b8df9 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/08/24 04:53 bpf 872cf28b8df9 d7d32352 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/11/13 06:03 bpf-next 47e2c45c9c89 62026c85 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/11/12 12:21 bpf-next 09048d22b782 75bb1b32 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/09 23:24 bpf-next 5bf1557e3d6a 0278d004 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/09 16:28 bpf-next 5bf1557e3d6a 402f1df0 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/09 02:44 bpf-next 31dd994c031a 402f1df0 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/07 19:08 bpf-next a5da3d65681f d7906eff .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/07 15:24 bpf-next a5da3d65681f d7906eff .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/07 13:11 bpf-next a5da3d65681f d7906eff .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/07 12:12 bpf-next a5da3d65681f d7906eff .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/04 19:32 bpf-next a5da3d65681f d7906eff .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/30 20:31 bpf-next 93eeaab4563c bbd4e0a4 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/30 07:40 bpf-next 93eeaab4563c ba29ff75 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/08 19:38 net-next d5c4546062fd 9750182a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/28 14:01 linux-next 40e0c9d414f5 440b26ec .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in bpf_get_stack_raw_tp
2024/11/18 23:22 bpf adc218676eef 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/11/15 05:49 bpf 9f8e716d46c6 f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/11/13 03:03 bpf fb86c42a2a5d 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/31 03:42 bpf 053b212b3a35 fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/31 03:39 bpf 053b212b3a35 fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/29 10:39 bpf 740be3b9a6d7 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/29 10:39 bpf 740be3b9a6d7 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/29 10:39 bpf 740be3b9a6d7 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/10/29 10:39 bpf 740be3b9a6d7 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/04 17:26 bpf b408473ea01b 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/04 17:25 bpf b408473ea01b 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/04 17:24 bpf b408473ea01b 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/04 17:24 bpf b408473ea01b 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/04 17:24 bpf b408473ea01b 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/04 17:22 bpf b408473ea01b 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/04 17:22 bpf b408473ea01b 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/09/04 17:22 bpf b408473ea01b 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/08/24 03:30 bpf 872cf28b8df9 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in bpf_get_stack_raw_tp
2024/11/15 07:19 bpf-next f01750aecdfb f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in bpf_get_stack_raw_tp
* Struck through repros no longer work on HEAD.