syzbot
BUG: unable to handle kernel paging request in dst_release
Status: fixed on 2018/01/22 13:19
Subsystems:
net
[Documentation on labels]
Fix commit:
95ef498d977b
ipv6: ip6_make_skb() needs to clear cork.base.dst
First crash: 3115d, last: 3110d
Sample crash report:
R13: 00007ff068e9cbc8 R14: 00000000004b7b16 R15: 0000000000000000
BUG: unable to handle kernel paging request at 0000000041b58b33
IP: atomic_add_return arch/x86/include/asm/atomic.h:157 [inline]
IP: atomic_sub_return arch/x86/include/asm/atomic.h:169 [inline]
IP: dst_release+0x1e/0x90 net/core/dst.c:183
PGD 1d0822067 P4D 1d0822067 PUD 0
Oops: 0002 [#1] SMP KASAN
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 10486 Comm: syz-executor4 Not tainted 4.15.0-rc8+ #263
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:atomic_add_return arch/x86/include/asm/atomic.h:157 [inline]
RIP: 0010:atomic_sub_return arch/x86/include/asm/atomic.h:169 [inline]
RIP: 0010:dst_release+0x1e/0x90 net/core/dst.c:183
RSP: 0018:ffff8801c59e7598 EFLAGS: 00010246
RAX: 0000000000010000 RBX: ffff8801c59e7720 RCX: 00000000ffffffff
RDX: 0000000000010000 RSI: ffffc900018b7000 RDI: 0000000041b58ab3
RBP: ffff8801c59e75a8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000041b58ab3
R13: 0000000041b58ab3 R14: ffff8801c59e7648 R15: ffff8801c59e77c8
FS: 00007ff068e9d700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000071c000 CR3: 00000001d1fe7005 CR4: 00000000001626e0
Call Trace:
ip6_cork_release.isra.42+0x1bb/0x2c0 net/ipv6/ip6_output.c:1579
ip6_make_skb+0x4f1/0x5a0 net/ipv6/ip6_output.c:1739
udpv6_sendmsg+0x27fc/0x3400 net/ipv6/udp.c:1340
inet_sendmsg+0x11f/0x5e0 net/ipv4/af_inet.c:763
sock_sendmsg_nosec net/socket.c:638 [inline]
sock_sendmsg+0xca/0x110 net/socket.c:648
SYSC_sendto+0x361/0x5c0 net/socket.c:1729
SyS_sendto+0x40/0x50 net/socket.c:1697
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x452df9
RSP: 002b:00007ff068e9cc58 EFLAGS: 00000212 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007ff068e9caa0 RCX: 0000000000452df9
RDX: 0000000000000581 RSI: 0000000020fa4a7f RDI: 0000000000000013
RBP: 00007ff068e9ca90 R08: 00000000204d4fe4 R09: 000000000000001c
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b7b16
R13: 00007ff068e9cbc8 R14: 00000000004b7b16 R15: 0000000000000000
Code: f7 ff 31 c0 5b 5d c3 66 0f 1f 44 00 00 55 48 89 e5 41 54 53 49 89 fc e8 61 7e 35 fd 4d 85 e4 74 24 e8 57 7e 35 fd b9 ff ff ff ff <f0> 41 0f c1 8c 24 80 00 00 00 89 cb 83 eb 01 78 33 e8 3c 7e 35
RIP: atomic_add_return arch/x86/include/asm/atomic.h:157 [inline] RSP: ffff8801c59e7598
RIP: atomic_sub_return arch/x86/include/asm/atomic.h:169 [inline] RSP: ffff8801c59e7598
RIP: dst_release+0x1e/0x90 net/core/dst.c:183 RSP: ffff8801c59e7598
CR2: 0000000041b58b33
---[ end trace 8376cd9a014a7e74 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
(ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..
* Struck through repros no longer work on HEAD.