syzbot


general protection fault in ip6_output (2)

Status: closed as invalid on 2025/01/22 17:34
Subsystems: net
[Documentation on labels]
First crash: 46d, last: 46d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel paging request in ip6_output 2 208d 257d 0/3 auto-obsoleted due to no activity on 2024/10/19 19:05
upstream general protection fault in ip6_output net 4 278d 297d 25/28 fixed on 2024/06/05 19:57

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc000000002b: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000158-0x000000000000015f]
CPU: 0 UID: 0 PID: 20889 Comm: kworker/u8:35 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: ipv6_addrconf addrconf_dad_work
RIP: 0010:skb_dst include/linux/skbuff.h:1144 [inline]
RIP: 0010:ip6_output+0x3a/0x3c0 net/ipv6/ip6_output.c:235
Code: ec 30 49 89 d6 48 89 74 24 08 49 89 fc 48 bb 00 00 00 00 00 fc ff df e8 04 5d 31 f7 4d 8d 7e 58 4d 89 fd 49 c1 ed 03 48 89 dd <41> 80 7c 1d 00 00 74 08 4c 89 ff e8 66 d8 97 f7 49 8b 1f 89 de 83
RSP: 0018:ffffc900000077f8 EFLAGS: 00010206
RAX: ffffffff8a8dc71c RBX: dffffc0000000000 RCX: ffff888026131e00
RDX: 0000000000000100 RSI: 0000000000000001 RDI: ffff88806accdc80
RBP: dffffc0000000000 R08: ffffffff8a8fa478 R09: 1ffffffff203563e
R10: dffffc0000000000 R11: ffffffff8a8dc6f0 R12: ffff88806accdc80
R13: 000000000000002b R14: 0000000000000100 R15: 0000000000000158
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007efe3f951c7f CR3: 0000000064d7a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314
 __netif_receive_skb_one_core net/core/dev.c:5672 [inline]
 __netif_receive_skb+0x1ea/0x650 net/core/dev.c:5785
 process_backlog+0x662/0x15b0 net/core/dev.c:6117
 __napi_poll+0xcb/0x490 net/core/dev.c:6883
 napi_poll net/core/dev.c:6952 [inline]
 net_rx_action+0x89b/0x1240 net/core/dev.c:7074
 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
 do_softirq+0x11b/0x1e0 kernel/softirq.c:462
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:389
 local_bh_enable include/linux/bottom_half.h:33 [inline]
 rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline]
 __dev_queue_xmit+0x1775/0x3f50 net/core/dev.c:4461
 dev_queue_xmit include/linux/netdevice.h:3212 [inline]
 neigh_hh_output include/net/neighbour.h:523 [inline]
 neigh_output include/net/neighbour.h:537 [inline]
 ip6_finish_output2+0x1263/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:1860
 ipv6_mc_dad_complete+0x88/0x490 net/ipv6/mcast.c:2286
 addrconf_dad_completed+0x712/0xcd0 net/ipv6/addrconf.c:4361
 addrconf_dad_work+0xdc2/0x16f0
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 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:skb_dst include/linux/skbuff.h:1144 [inline]
RIP: 0010:ip6_output+0x3a/0x3c0 net/ipv6/ip6_output.c:235
Code: ec 30 49 89 d6 48 89 74 24 08 49 89 fc 48 bb 00 00 00 00 00 fc ff df e8 04 5d 31 f7 4d 8d 7e 58 4d 89 fd 49 c1 ed 03 48 89 dd <41> 80 7c 1d 00 00 74 08 4c 89 ff e8 66 d8 97 f7 49 8b 1f 89 de 83
RSP: 0018:ffffc900000077f8 EFLAGS: 00010206
RAX: ffffffff8a8dc71c RBX: dffffc0000000000 RCX: ffff888026131e00
RDX: 0000000000000100 RSI: 0000000000000001 RDI: ffff88806accdc80
RBP: dffffc0000000000 R08: ffffffff8a8fa478 R09: 1ffffffff203563e
R10: dffffc0000000000 R11: ffffffff8a8dc6f0 R12: ffff88806accdc80
R13: 000000000000002b R14: 0000000000000100 R15: 0000000000000158
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007efe3f951c7f CR3: 0000000064d7a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	49 89 d6             	mov    %rdx,%r14
   3:	48 89 74 24 08       	mov    %rsi,0x8(%rsp)
   8:	49 89 fc             	mov    %rdi,%r12
   b:	48 bb 00 00 00 00 00 	movabs $0xdffffc0000000000,%rbx
  12:	fc ff df
  15:	e8 04 5d 31 f7       	call   0xf7315d1e
  1a:	4d 8d 7e 58          	lea    0x58(%r14),%r15
  1e:	4d 89 fd             	mov    %r15,%r13
  21:	49 c1 ed 03          	shr    $0x3,%r13
  25:	48 89 dd             	mov    %rbx,%rbp
* 28:	41 80 7c 1d 00 00    	cmpb   $0x0,0x0(%r13,%rbx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 ff             	mov    %r15,%rdi
  33:	e8 66 d8 97 f7       	call   0xf797d89e
  38:	49 8b 1f             	mov    (%r15),%rbx
  3b:	89 de                	mov    %ebx,%esi
  3d:	83                   	.byte 0x83

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/21 15:38 linux-next 8155b4ef3466 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ip6_output
* Struck through repros no longer work on HEAD.