syzbot


general protection fault in neigh_resolve_output

Status: closed as invalid on 2025/03/17 11:18
Subsystems: net
[Documentation on labels]
First crash: 202d, last: 202d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel NULL pointer dereference in neigh_resolve_output net 10 1 299d 299d 0/29 closed as invalid on 2024/11/27 19:42

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
CPU: 0 UID: 0 PID: 5890 Comm: kworker/0:4 Not tainted 6.13.0-syzkaller-09685-gc2933b2befe2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Workqueue: mld mld_ifc_work
RIP: 0010:neigh_resolve_output+0x153/0x740 net/core/neighbour.c:1503
Code: 48 c1 e8 03 48 89 44 24 28 80 3c 28 00 74 08 48 89 df e8 a0 25 64 f8 48 89 5c 24 30 48 8b 1b 48 83 c3 10 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 7f 25 64 f8 48 83 3b 00 74 6d 4d 8d
RSP: 0018:ffffc9000446f590 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: ffff888046e75a00
RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff89c1db9d R09: 1ffffffff285ed1b
R10: dffffc0000000000 R11: ffffffff89c1dab0 R12: ffff888059a15028
R13: ffff88807d9b2800 R14: ffff888059ae6b40 R15: ffff88807d9b2930
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f00d2f12be0 CR3: 00000000639f0000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 neigh_output include/net/neighbour.h:539 [inline]
 ip6_finish_output2+0x12ad/0x1780 net/ipv6/ip6_output.c:141
 ip6_finish_output+0x41e/0x840 net/ipv6/ip6_output.c:226
 NF_HOOK+0x9e/0x430 include/linux/netfilter.h:314
 mld_sendpack+0x843/0xdb0 net/ipv6/mcast.c:1862
 mld_send_cr net/ipv6/mcast.c:2163 [inline]
 mld_ifc_work+0x7d9/0xd90 net/ipv6/mcast.c:2697
 process_one_work kernel/workqueue.c:3236 [inline]
 process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317
 worker_thread+0x870/0xd30 kernel/workqueue.c:3398
 kthread+0x7a9/0x920 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:neigh_resolve_output+0x153/0x740 net/core/neighbour.c:1503
Code: 48 c1 e8 03 48 89 44 24 28 80 3c 28 00 74 08 48 89 df e8 a0 25 64 f8 48 89 5c 24 30 48 8b 1b 48 83 c3 10 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 7f 25 64 f8 48 83 3b 00 74 6d 4d 8d
RSP: 0018:ffffc9000446f590 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: ffff888046e75a00
RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff89c1db9d R09: 1ffffffff285ed1b
R10: dffffc0000000000 R11: ffffffff89c1dab0 R12: ffff888059a15028
R13: ffff88807d9b2800 R14: ffff888059ae6b40 R15: ffff88807d9b2930
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9871d9df98 CR3: 000000005eb16000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	48 c1 e8 03          	shr    $0x3,%rax
   4:	48 89 44 24 28       	mov    %rax,0x28(%rsp)
   9:	80 3c 28 00          	cmpb   $0x0,(%rax,%rbp,1)
   d:	74 08                	je     0x17
   f:	48 89 df             	mov    %rbx,%rdi
  12:	e8 a0 25 64 f8       	call   0xf86425b7
  17:	48 89 5c 24 30       	mov    %rbx,0x30(%rsp)
  1c:	48 8b 1b             	mov    (%rbx),%rbx
  1f:	48 83 c3 10          	add    $0x10,%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 7f 25 64 f8       	call   0xf86425b7
  38:	48 83 3b 00          	cmpq   $0x0,(%rbx)
  3c:	74 6d                	je     0xab
  3e:	4d                   	rex.WRB
  3f:	8d                   	.byte 0x8d

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/01 15:17 net-next c2933b2befe2 0dff8567 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in neigh_resolve_output
* Struck through repros no longer work on HEAD.