syzbot


general protection fault in put_page (2)

Status: closed as invalid on 2024/10/04 22:16
Subsystems: net
[Documentation on labels]
First crash: 69d, last: 69d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in put_page net 1 852d 852d 0/28 auto-obsoleted due to no activity on 2022/10/12 21:11
upstream general protection fault in put_page (3) net C done 10 2d01h 11d 1/28 upstream: reported C repro on 2024/11/01 17:44

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 UID: 0 PID: 7355 Comm: syz.3.448 Not tainted 6.11.0-rc6-syzkaller-00026-g88fac17500f4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:_compound_head include/linux/page-flags.h:240 [inline]
RIP: 0010:put_page+0x23/0x260 include/linux/mm.h:1554
Code: 90 90 90 90 90 90 90 55 41 57 41 56 53 49 89 fe 48 bd 00 00 00 00 00 fc ff df e8 28 b5 1b f8 49 8d 5e 08 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 4f d7 7f f8 48 8b 1b 48 89 de 48 83
RSP: 0000:ffffc9000327ea48 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000040000
RDX: ffffc9000bb5a000 RSI: 0000000000015d21 RDI: 0000000000015d22
RBP: dffffc0000000000 R08: ffffffff89776b5d R09: 1ffff1100d828eec
R10: dffffc0000000000 R11: ffffed100d828eed R12: 0000000000000009
R13: ffff88806c147742 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fbd9d6e86c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3220dff8 CR3: 0000000031668000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 skb_page_unref include/linux/skbuff_ref.h:44 [inline]
 __skb_frag_unref include/linux/skbuff_ref.h:57 [inline]
 skb_release_data+0x467/0x880 net/core/skbuff.c:1117
 skb_release_all net/core/skbuff.c:1188 [inline]
 __kfree_skb net/core/skbuff.c:1202 [inline]
 sk_skb_reason_drop+0x1a5/0x3d0 net/core/skbuff.c:1240
 tcp_drop_reason net/ipv4/tcp_input.c:4901 [inline]
 tcp_data_queue+0xc96/0x76c0 net/ipv4/tcp_input.c:5298
 tcp_rcv_state_process+0x17cc/0x4570 net/ipv4/tcp_input.c:6931
 tcp_v4_do_rcv+0x77d/0xc70 net/ipv4/tcp_ipv4.c:1934
 sk_backlog_rcv include/net/sock.h:1111 [inline]
 __release_sock+0x214/0x350 net/core/sock.c:3004
 release_sock+0x61/0x1f0 net/core/sock.c:3558
 __mptcp_close_ssk+0x6ad/0x1070 net/mptcp/protocol.c:2455
 mptcp_pm_nl_rm_addr_or_subflow+0x4ea/0xbb0 net/mptcp/pm_netlink.c:867
 mptcp_pm_nl_rm_subflow_received net/mptcp/pm_netlink.c:903 [inline]
 mptcp_nl_remove_id_zero_address net/mptcp/pm_netlink.c:1584 [inline]
 mptcp_pm_nl_del_addr_doit+0xa7d/0x1bc0 net/mptcp/pm_netlink.c:1615
 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
 genl_rcv_msg+0xb14/0xec0 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
 netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357
 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:745
 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597
 ___sys_sendmsg net/socket.c:2651 [inline]
 __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbd9c97cef9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbd9d6e8038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fbd9cb36208 RCX: 00007fbd9c97cef9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 000000000000000a
RBP: 00007fbd9c9ef01e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fbd9cb36208 R15: 00007ffe305247e8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:_compound_head include/linux/page-flags.h:240 [inline]
RIP: 0010:put_page+0x23/0x260 include/linux/mm.h:1554
Code: 90 90 90 90 90 90 90 55 41 57 41 56 53 49 89 fe 48 bd 00 00 00 00 00 fc ff df e8 28 b5 1b f8 49 8d 5e 08 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 4f d7 7f f8 48 8b 1b 48 89 de 48 83
RSP: 0000:ffffc9000327ea48 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000040000
RDX: ffffc9000bb5a000 RSI: 0000000000015d21 RDI: 0000000000015d22
RBP: dffffc0000000000 R08: ffffffff89776b5d R09: 1ffff1100d828eec
R10: dffffc0000000000 R11: ffffed100d828eed R12: 0000000000000009
R13: ffff88806c147742 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fbd9d6e86c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055cec2047078 CR3: 0000000031668000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	90                   	nop
   1:	90                   	nop
   2:	90                   	nop
   3:	90                   	nop
   4:	90                   	nop
   5:	90                   	nop
   6:	90                   	nop
   7:	55                   	push   %rbp
   8:	41 57                	push   %r15
   a:	41 56                	push   %r14
   c:	53                   	push   %rbx
   d:	49 89 fe             	mov    %rdi,%r14
  10:	48 bd 00 00 00 00 00 	movabs $0xdffffc0000000000,%rbp
  17:	fc ff df
  1a:	e8 28 b5 1b f8       	call   0xf81bb547
  1f:	49 8d 5e 08          	lea    0x8(%r14),%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 28 00          	cmpb   $0x0,(%rax,%rbp,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	48 89 df             	mov    %rbx,%rdi
  33:	e8 4f d7 7f f8       	call   0xf87fd787
  38:	48 8b 1b             	mov    (%rbx),%rbx
  3b:	48 89 de             	mov    %rbx,%rsi
  3e:	48                   	rex.W
  3f:	83                   	.byte 0x83

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/04 02:15 upstream 88fac17500f4 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in put_page
* Struck through repros no longer work on HEAD.