syzbot
general protection fault in sk_filter_trim_cap
Status:
premoderation: reported on 2026/08/08 07:19
Reported-by: syzbot+322e75c4a039e46cbbb1@syzkaller.appspotmail.com
First crash: 6d09h, last: 6d09h
Sample crash report:
general protection fault, probably for non-canonical address 0x1fffc22000c43ad0: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8549 Comm: syz.5.11669 Tainted: G W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:__bpf_prog_run_save_cb include/linux/filter.h:720 [inline]
RIP: 0010:bpf_prog_run_save_cb include/linux/filter.h:732 [inline]
RIP: 0010:sk_filter_trim_cap+0x253/0x6e0 net/core/filter.c:152
Code: 7c 24 38 49 83 c4 30 4c 89 e0 48 c1 e8 03 42 80 3c 30 00 74 08 4c 89 e7 e8 0a 03 fa fd 48 89 df 4c 89 fe 41 ff 14 24 41 89 c7 <43> 0f b6 44 35 00 84 c0 48 8b 54 24 18 0f 85 65 02 00 00 44 0f b7
RSP: 0018:ffffc90000bf7830 EFLAGS: 00010283
RAX: 00000000eb18a9c6 RBX: ffff88813bf0edc0 RCX: 0000000000080000
RDX: ffffc90005785000 RSI: 000000000000006a RDI: 000000000000006b
RBP: ffffc90000bf78d0 R08: ffff88813bf0ee03 R09: ffff88813bf0edf0
R10: dffffc0000000000 R11: ffffed10277e1dc1 R12: ffffc90000261030
R13: 1ffff9200004c200 R14: ffffc90000bf78d0 R15: 00000000eb18a9c6
FS: 00007f901c1ba6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000000 CR3: 000000014458f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000200000000300
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
sk_filter include/linux/filter.h:862 [inline]
unix_dgram_sendmsg+0xbc6/0x18f0 net/unix/af_unix.c:1756
sock_sendmsg_nosec net/socket.c:652 [inline]
__sock_sendmsg net/socket.c:664 [inline]
____sys_sendmsg+0x5be/0x8f0 net/socket.c:2377
___sys_sendmsg+0x236/0x2e0 net/socket.c:2431
__sys_sendmsg net/socket.c:2460 [inline]
__do_sys_sendmsg net/socket.c:2469 [inline]
__se_sys_sendmsg net/socket.c:2467 [inline]
__x64_sys_sendmsg+0x201/0x2d0 net/socket.c:2467
do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f901d7610d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f901c1ba028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f901d9e8fa0 RCX: 00007f901d7610d9
RDX: 0000000000004000 RSI: 0000200000000140 RDI: 000000000000000d
RBP: 00007f901d7f8024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f901d9e9038 R14: 00007f901d9e8fa0 R15: 00007fff6c124af8
Modules linked in:
---[ end trace 66ebec8f41201a89 ]---
RIP: 0010:__bpf_prog_run_save_cb include/linux/filter.h:720 [inline]
RIP: 0010:bpf_prog_run_save_cb include/linux/filter.h:732 [inline]
RIP: 0010:sk_filter_trim_cap+0x253/0x6e0 net/core/filter.c:152
Code: 7c 24 38 49 83 c4 30 4c 89 e0 48 c1 e8 03 42 80 3c 30 00 74 08 4c 89 e7 e8 0a 03 fa fd 48 89 df 4c 89 fe 41 ff 14 24 41 89 c7 <43> 0f b6 44 35 00 84 c0 48 8b 54 24 18 0f 85 65 02 00 00 44 0f b7
RSP: 0018:ffffc90000bf7830 EFLAGS: 00010283
RAX: 00000000eb18a9c6 RBX: ffff88813bf0edc0 RCX: 0000000000080000
RDX: ffffc90005785000 RSI: 000000000000006a RDI: 000000000000006b
RBP: ffffc90000bf78d0 R08: ffff88813bf0ee03 R09: ffff88813bf0edf0
R10: dffffc0000000000 R11: ffffed10277e1dc1 R12: ffffc90000261030
R13: 1ffff9200004c200 R14: ffffc90000bf78d0 R15: 00000000eb18a9c6
FS: 00007f901c1ba6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000000 CR3: 000000014458f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000200000000300
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 24 38 and $0x38,%al
2: 49 83 c4 30 add $0x30,%r12
6: 4c 89 e0 mov %r12,%rax
9: 48 c1 e8 03 shr $0x3,%rax
d: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1)
12: 74 08 je 0x1c
14: 4c 89 e7 mov %r12,%rdi
17: e8 0a 03 fa fd call 0xfdfa0326
1c: 48 89 df mov %rbx,%rdi
1f: 4c 89 fe mov %r15,%rsi
22: 41 ff 14 24 call *(%r12)
26: 41 89 c7 mov %eax,%r15d
* 29: 43 0f b6 44 35 00 movzbl 0x0(%r13,%r14,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 48 8b 54 24 18 mov 0x18(%rsp),%rdx
36: 0f 85 65 02 00 00 jne 0x2a1
3c: 44 rex.R
3d: 0f .byte 0xf
3e: b7 .byte 0xb7
* Struck through repros no longer work on HEAD.