syzbot
general protection fault in __sk_msg_free
Status:
upstream: reported C repro on 2026/09/27 03:53
Reported-by: syzbot+3af4d084bae38bdffc67@syzkaller.appspotmail.com
First crash: 12h08m, last: 3h33m
Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 PID: 310 Comm: syz-executor169 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:_compound_head include/linux/page-flags.h:203 [inline]
RIP: 0010:put_page include/linux/mm.h:1292 [inline]
RIP: 0010:sk_msg_free_elem net/core/skmsg.c:186 [inline]
RIP: 0010:__sk_msg_free+0x1f2/0x4c0 net/core/skmsg.c:200
Code: 91 fd 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 70 42 d1 fd 4d 8b 2e 49 83 e5 fc 49 8d 5d 08 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 4f 42 d1 fd 48 8b 1b 89 de 83 e6
RSP: 0018:ffffc90000987630 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff88810ac4bb40
RDX: 0000000000000000 RSI: 000000000004121f RDI: 00000000001fffff
RBP: ffffc900009876c8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000130e44 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff88810b1c9820 R15: 0000000000000000
FS: 00007f637cc606c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f637cd1c97c CR3: 000000010ae25000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
sk_msg_free+0x3e/0x60 net/core/skmsg.c:218
tcp_bpf_send_verdict+0xdd2/0xf50 net/ipv4/tcp_bpf.c:386
tcp_bpf_sendmsg+0x676/0xa70 net/ipv4/tcp_bpf.c:520
inet_sendmsg+0xa5/0xc0 net/ipv4/af_inet.c:830
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg net/socket.c:716 [inline]
__sys_sendto+0x46d/0x620 net/socket.c:2063
__do_sys_sendto net/socket.c:2075 [inline]
__se_sys_sendto net/socket.c:2071 [inline]
__x64_sys_sendto+0xe5/0x100 net/socket.c:2071
x64_sys_call+0x178/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:45
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f637cca13a9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f637cc60208 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f637cd51b78 RCX: 00007f637cca13a9
RDX: 000000000000000a RSI: 0000200000000840 RDI: 0000000000000003
RBP: 00007f637cd51b70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000008000 R11: 0000000000000246 R12: 00007f637cd23378
R13: 0000200000000800 R14: 0000200000000840 R15: 07b4577662b6657b
</TASK>
Modules linked in:
---[ end trace 2f943a99dc1bf505 ]---
RIP: 0010:_compound_head include/linux/page-flags.h:203 [inline]
RIP: 0010:put_page include/linux/mm.h:1292 [inline]
RIP: 0010:sk_msg_free_elem net/core/skmsg.c:186 [inline]
RIP: 0010:__sk_msg_free+0x1f2/0x4c0 net/core/skmsg.c:200
Code: 91 fd 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 70 42 d1 fd 4d 8b 2e 49 83 e5 fc 49 8d 5d 08 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 4f 42 d1 fd 48 8b 1b 89 de 83 e6
RSP: 0018:ffffc90000987630 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff88810ac4bb40
RDX: 0000000000000000 RSI: 000000000004121f RDI: 00000000001fffff
RBP: ffffc900009876c8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000130e44 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff88810b1c9820 R15: 0000000000000000
FS: 00007f637cc606c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f637cd1c97c CR3: 000000010ae25000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 91 xchg %eax,%ecx
1: fd std
2: 4c 89 f0 mov %r14,%rax
5: 48 c1 e8 03 shr $0x3,%rax
9: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
e: 74 08 je 0x18
10: 4c 89 f7 mov %r14,%rdi
13: e8 70 42 d1 fd call 0xfdd14288
18: 4d 8b 2e mov (%r14),%r13
1b: 49 83 e5 fc and $0xfffffffffffffffc,%r13
1f: 49 8d 5d 08 lea 0x8(%r13),%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 48 89 df mov %rbx,%rdi
34: e8 4f 42 d1 fd call 0xfdd14288
39: 48 8b 1b mov (%rbx),%rbx
3c: 89 de mov %ebx,%esi
3e: 83 .byte 0x83
3f: e6 .byte 0xe6
* Struck through repros no longer work on HEAD.