syzbot


BUG: unable to handle kernel paging request in __ipv6_dev_get_saddr

Status: auto-closed as invalid on 2021/10/03 22:57
Reported-by: syzbot+708a508e0286f5133d22@syzkaller.appspotmail.com
First crash: 1049d, last: 1049d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in __ipv6_dev_get_saddr net 16 2313d 2315d 0/26 closed as invalid on 2018/02/13 19:48
upstream BUG: unable to handle kernel paging request in __ipv6_dev_get_saddr (2) net 1 1093d 1089d 0/26 auto-closed as invalid on 2021/06/21 20:51

Sample crash report:
BUG: unable to handle kernel paging request at ffffffffffffff24
PGD 9e6e067 P4D 9e6e067 PUD 9e70067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'.
CPU: 0 PID: 4695 Comm: systemd-udevd Not tainted 4.19.193-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__ipv6_dev_get_saddr+0x103/0x5f0 net/ipv6/addrconf.c:1619
Code: 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 0f b6 14 08 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 49 04 00 00 <8b> 5d 64 bf 40 00 00 00 83 e3 44 89 de e8 db 41 5f fa 83 fb 40 0f
RSP: 0018:ffff8880ba006fa8 EFLAGS: 00010246
RAX: 0000000000000007 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff87033885 RDI: ffffffffffffff24
RBP: fffffffffffffec0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffff88800010f200
R13: ffff8880ba007098 R14: ffff8880a32e4140 R15: ffff8880ba007058
FS:  00007f710a06a8c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffff24 CR3: 000000009d1ce000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'.
Call Trace:
 <IRQ>
 ipv6_dev_get_saddr+0x56c/0xc20 net/ipv6/addrconf.c:1774
 ip6_route_get_saddr include/net/ip6_route.h:124 [inline]
 ip6_dst_lookup_tail+0x1233/0x19b0 net/ipv6/ip6_output.c:995
netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'.
 ip6_dst_lookup_flow+0x8c/0x1d0 net/ipv6/ip6_output.c:1118
 geneve_get_v6_dst+0x466/0x990 drivers/net/geneve.c:810
 geneve6_xmit_skb drivers/net/geneve.c:892 [inline]
 geneve_xmit+0x6cf/0x2e10 drivers/net/geneve.c:940
 __netdev_start_xmit include/linux/netdevice.h:4345 [inline]
 netdev_start_xmit include/linux/netdevice.h:4359 [inline]
 xmit_one net/core/dev.c:3256 [inline]
 dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272
 __dev_queue_xmit+0x269d/0x2e00 net/core/dev.c:3838
netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'.
 neigh_resolve_output+0x55a/0x910 net/core/neighbour.c:1374
 neigh_output include/net/neighbour.h:501 [inline]
 ip6_finish_output2+0x113d/0x2290 net/ipv6/ip6_output.c:120
 ip6_finish_output+0x795/0xe50 net/ipv6/ip6_output.c:192
 NF_HOOK_COND include/linux/netfilter.h:278 [inline]
 ip6_output+0x205/0x770 net/ipv6/ip6_output.c:209
 dst_output include/net/dst.h:455 [inline]
 NF_HOOK include/linux/netfilter.h:289 [inline]
 ndisc_send_skb+0xa24/0x1720 net/ipv6/ndisc.c:491
 ndisc_send_rs+0x131/0x690 net/ipv6/ndisc.c:685
 addrconf_rs_timer+0x384/0x6a0 net/ipv6/addrconf.c:3835
 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
 __run_timers kernel/time/timer.c:1696 [inline]
 run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:535 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:slab_alloc mm/slab.c:3390 [inline]
RIP: 0010:kmem_cache_alloc+0x2c4/0x370 mm/slab.c:3557
Code: 00 48 c7 c7 83 4a b8 89 e8 29 7c a9 ff e9 b5 fd ff ff e8 1f a9 cf ff 48 83 3d 8f 8b 59 08 00 0f 84 ae 00 00 00 4c 89 ff 57 9d <0f> 1f 44 00 00 e9 1c fe ff ff 65 ff 05 3b e8 69 7e 48 8b 05 4c e6
RSP: 0018:ffff88809d09fc88 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: 00000000006000c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000282
RBP: 00000000006000c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8882113d8e80
R13: ffff88823b843380 R14: ffff88823b843380 R15: 0000000000000282
 getname_flags+0xce/0x590 fs/namei.c:140
 user_path_at_empty+0x2a/0x50 fs/namei.c:2609
 user_path_at include/linux/namei.h:57 [inline]
 vfs_statx+0x113/0x210 fs/stat.c:185
 vfs_lstat include/linux/fs.h:3137 [inline]
 __do_sys_newlstat fs/stat.c:350 [inline]
 __se_sys_newlstat+0x96/0x120 fs/stat.c:344
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f7108edc335
Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89
RSP: 002b:00007ffd68d46da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000006
RAX: ffffffffffffffda RBX: 000055dd2cbf18a0 RCX: 00007f7108edc335
RDX: 00007ffd68d46de0 RSI: 00007ffd68d46de0 RDI: 000055dd2cbf08a0
RBP: 00007ffd68d46ea0 R08: 00007f710919b238 R09: 0000000000001010
R10: 0000000000000100 R11: 0000000000000246 R12: 000055dd2cbf08a0
R13: 000055dd2cbf08ac R14: 000055dd2cc00dc5 R15: 000055dd2cc00dcc
Modules linked in:
CR2: ffffffffffffff24
---[ end trace 77917c6415f18a0d ]---
RIP: 0010:__ipv6_dev_get_saddr+0x103/0x5f0 net/ipv6/addrconf.c:1619
Code: 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 0f b6 14 08 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 49 04 00 00 <8b> 5d 64 bf 40 00 00 00 83 e3 44 89 de e8 db 41 5f fa 83 fb 40 0f
RSP: 0018:ffff8880ba006fa8 EFLAGS: 00010246
RAX: 0000000000000007 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff87033885 RDI: ffffffffffffff24
RBP: fffffffffffffec0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffff88800010f200
R13: ffff8880ba007098 R14: ffff8880a32e4140 R15: ffff8880ba007058
FS:  00007f710a06a8c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffff24 CR3: 000000009d1ce000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/05 22:56 linux-4.19.y 1722257b8ece 500c2339 .config console log report info ci2-linux-4-19 BUG: unable to handle kernel paging request in __ipv6_dev_get_saddr
* Struck through repros no longer work on HEAD.