syzbot


general protection fault in tipc_udp_nl_dump_remoteip (2)

Status: closed as invalid on 2024/12/17 17:57
Subsystems: net
[Documentation on labels]
First crash: 54d, last: 54d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in tipc_udp_nl_dump_remoteip tipc 5 209d 349d 0/28 auto-obsoleted due to no activity on 2024/09/19 16:07
upstream general protection fault in tipc_udp_nl_dump_remoteip (3) net 1 7d19h 3d18h 0/28 upstream: reported on 2025/01/03 10:04

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 10588 Comm: syz.2.1399 Not tainted 6.12.0-rc6-syzkaller-00192-g2b99b2532593 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:tipc_udp_nl_dump_remoteip+0x5d0/0xd40
Code: 89 44 24 40 49 8d 84 24 d0 00 00 00 48 89 44 24 60 49 8d 84 24 c8 00 00 00 48 89 44 24 68 31 db 4c 89 e8 48 c1 e8 03 4d 89 f7 <42> 80 3c 30 00 74 08 4c 89 ef e8 01 08 9a f6 4d 8b 75 00 89 df 89
RSP: 0018:ffffc900046c6fe0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc900046c70c2
RDX: ffffc900046c70e2 RSI: 0000000000000269 RDI: 000000000000026a
RBP: ffffc900046c71d0 R08: ffffffff8999a4f6 R09: 1ffffffff203a12d
R10: dffffc0000000000 R11: fffffbfff203a12e R12: ffff88802b68b500
R13: 0000000000000000 R14: dffffc0000000000 R15: dffffc0000000000
FS:  00007f485b3ad6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc7e6e03440 CR3: 000000002a11e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 genl_dumpit+0x107/0x1a0 net/netlink/genetlink.c:1027
 netlink_dump+0x647/0xd80 net/netlink/af_netlink.c:2311
 __netlink_dump_start+0x5a2/0x790 net/netlink/af_netlink.c:2426
 genl_family_rcv_msg_dumpit net/netlink/genetlink.c:1076 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:1192 [inline]
 genl_rcv_msg+0x88c/0xec0 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2536
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1316 [inline]
 netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1342
 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1886
 sock_sendmsg_nosec net/socket.c:729 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:744
 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2607
 ___sys_sendmsg net/socket.c:2661 [inline]
 __sys_sendmsg+0x292/0x380 net/socket.c:2690
 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:0x7f485a57e719
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:00007f485b3ad038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f485a736058 RCX: 00007f485a57e719
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004
RBP: 00007f485a5f1616 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f485a736058 R15: 00007ffd6b5f6828
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:tipc_udp_nl_dump_remoteip+0x5d0/0xd40
Code: 89 44 24 40 49 8d 84 24 d0 00 00 00 48 89 44 24 60 49 8d 84 24 c8 00 00 00 48 89 44 24 68 31 db 4c 89 e8 48 c1 e8 03 4d 89 f7 <42> 80 3c 30 00 74 08 4c 89 ef e8 01 08 9a f6 4d 8b 75 00 89 df 89
RSP: 0018:ffffc900046c6fe0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc900046c70c2
RDX: ffffc900046c70e2 RSI: 0000000000000269 RDI: 000000000000026a
RBP: ffffc900046c71d0 R08: ffffffff8999a4f6 R09: 1ffffffff203a12d
R10: dffffc0000000000 R11: fffffbfff203a12e R12: ffff88802b68b500
R13: 0000000000000000 R14: dffffc0000000000 R15: dffffc0000000000
FS:  00007f485b3ad6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005580d013e018 CR3: 000000002a11e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	89 44 24 40          	mov    %eax,0x40(%rsp)
   4:	49 8d 84 24 d0 00 00 	lea    0xd0(%r12),%rax
   b:	00
   c:	48 89 44 24 60       	mov    %rax,0x60(%rsp)
  11:	49 8d 84 24 c8 00 00 	lea    0xc8(%r12),%rax
  18:	00
  19:	48 89 44 24 68       	mov    %rax,0x68(%rsp)
  1e:	31 db                	xor    %ebx,%ebx
  20:	4c 89 e8             	mov    %r13,%rax
  23:	48 c1 e8 03          	shr    $0x3,%rax
  27:	4d 89 f7             	mov    %r14,%r15
* 2a:	42 80 3c 30 00       	cmpb   $0x0,(%rax,%r14,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ef             	mov    %r13,%rdi
  34:	e8 01 08 9a f6       	call   0xf69a083a
  39:	4d 8b 75 00          	mov    0x0(%r13),%r14
  3d:	89 df                	mov    %ebx,%edi
  3f:	89                   	.byte 0x89

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/13 14:18 net 2b99b2532593 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in tipc_udp_nl_dump_remoteip
* Struck through repros no longer work on HEAD.