syzbot


BUG: unable to handle kernel NULL pointer dereference in ipv6_rcv (2)

Status: closed as invalid on 2019/06/14 19:45
Subsystems: net
[Documentation on labels]
First crash: 1767d, last: 1767d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel NULL pointer dereference in ipv6_rcv net 1 1879d 1879d 0/26 closed as invalid on 2019/03/10 18:51
android-5-10 BUG: unable to handle kernel NULL pointer dereference in ipv6_rcv syz 1 718d 718d 0/2 auto-closed as invalid on 2022/08/30 17:09

Sample crash report:
BUG: kernel NULL pointer dereference, address: 0000000000000001
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 62342067 P4D 62342067 PUD 5f277067 PMD 0 
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 31488 Comm: syz-executor.5 Not tainted 5.2.0-rc1+ #1
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:0x1
Code: Bad RIP value.
RSP: 0018:ffff8880a002f5d0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880a8a21bd8 RCX: ffffc9000a002000
RDX: 1ffff11015144380 RSI: ffffffff861b7ef5 RDI: ffff8880646baa40
RBP: ffff8880a002f600 R08: ffff8880638f8640 R09: ffffed1015d06be0
R10: ffffed1015d06bdf R11: ffff8880ae835efb R12: ffff8880646baa40
R13: 0000000000000001 R14: ffff8880646baa98 R15: 0000000000000000
FS:  00007f66407bc700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd7 CR3: 000000008a1bd000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 NF_HOOK include/linux/netfilter.h:305 [inline]
 NF_HOOK include/linux/netfilter.h:299 [inline]
 ipv6_rcv+0x10e/0x420 net/ipv6/ip6_input.c:276
 __netif_receive_skb_one_core+0x113/0x1a0 net/core/dev.c:4990
 __netif_receive_skb+0x2c/0x1d0 net/core/dev.c:5104
 netif_receive_skb_internal+0x117/0x5c0 net/core/dev.c:5207
 napi_frags_finish net/core/dev.c:5774 [inline]
 napi_gro_frags+0xada/0xd10 net/core/dev.c:5848
 tun_get_user+0x2f3c/0x3ff0 drivers/net/tun.c:1991
 tun_chr_write_iter+0xbd/0x156 drivers/net/tun.c:2037
 call_write_iter include/linux/fs.h:1872 [inline]
 do_iter_readv_writev+0x5f8/0x8f0 fs/read_write.c:693
 do_iter_write fs/read_write.c:970 [inline]
 do_iter_write+0x184/0x610 fs/read_write.c:951
 vfs_writev+0x1b3/0x2f0 fs/read_write.c:1015
 do_writev+0x15b/0x330 fs/read_write.c:1058
 __do_sys_writev fs/read_write.c:1131 [inline]
 __se_sys_writev fs/read_write.c:1128 [inline]
 __x64_sys_writev+0x75/0xb0 fs/read_write.c:1128
 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459131
Code: 75 14 b8 14 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 b9 fb ff c3 48 83 ec 08 e8 fa 2c 00 00 48 89 04 24 b8 14 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 43 2d 00 00 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007f66407bbba0 EFLAGS: 00000293 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 0000000000459131
RDX: 0000000000000001 RSI: 00007f66407bbc00 RDI: 00000000000000f0
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 00007f66407bc9d0 R11: 0000000000000293 R12: 00007f66407bc6d4
R13: 00000000004c7d21 R14: 00000000004de160 R15: 00000000ffffffff
Modules linked in:
CR2: 0000000000000001
---[ end trace a9b535489a1d9c8b ]---
RIP: 0010:0x1
Code: Bad RIP value.
RSP: 0018:ffff8880a002f5d0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880a8a21bd8 RCX: ffffc9000a002000
RDX: 1ffff11015144380 RSI: ffffffff861b7ef5 RDI: ffff8880646baa40
RBP: ffff8880a002f600 R08: ffff8880638f8640 R09: ffffed1015d06be0
R10: ffffed1015d06bdf R11: ffff8880ae835efb R12: ffff8880646baa40
R13: 0000000000000001 R14: ffff8880646baa98 R15: 0000000000000000
FS:  00007f66407bc700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd7 CR3: 000000008a1bd000 CR4: 00000000001406f0
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
2019/05/27 03:46 net-next-old 9b3c520e9628 85c57315 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.