syzbot


general protection fault in find_entry

Status: closed as invalid on 2018/01/30 23:29
Reported-by: syzbot+175e5d2a9ccf14eecd5874bce460d85ee3d9de8d@syzkaller.appspotmail.com
First crash: 1701d, last: 1701d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in find_entry (3) 1 470d 466d 0/23 auto-closed as invalid on 2021/07/01 18:40
upstream general protection fault in find_entry (2) 1 1331d 1330d 0/23 auto-closed as invalid on 2019/06/21 12:54

Sample crash report:
netlink: 13 bytes leftover after parsing attributes in process `syz-executor2'.
general protection fault: 0000 [#1] SMP
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 26639 Comm: syz-executor5 Not tainted 4.15.0-rc3-next-20171214+ #67
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:find_entry.isra.14+0x45/0xc0 fs/proc/proc_sysctl.c:119
RSP: 0018:ffffc90000dcba60 EFLAGS: 00010282
RAX: 0000000000010000 RBX: ffff1003f68e0980 RCX: ffffffff814becad
RDX: 000000000000674d RSI: ffffc90000fe1000 RDI: ffffc90000dcbaa8
RBP: ffffc90000dcba98 R08: 0000000000000001 R09: 0000000000000004
R10: ffffc90000dcba48 R11: 0000000000000004 R12: ffff8801fb4704d0
R13: ffff8801fb470400 R14: ffff8801fc7ecc00 R15: ffffc90000dcbb7d
FS:  00007f125b750700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001680cd8 CR3: 00000001fd3ac001 CR4: 00000000001606e0
DR0: 0000000020001008 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 find_subdir+0x35/0x80 fs/proc/proc_sysctl.c:923
 get_subdir fs/proc/proc_sysctl.c:977 [inline]
 __register_sysctl_table+0x392/0x7c0 fs/proc/proc_sysctl.c:1327
 register_net_sysctl+0x29/0x30 net/sysctl_net.c:120
 neigh_sysctl_register+0x150/0x220 net/core/neighbour.c:3235
 addrconf_sysctl_register+0x6b/0xc0 net/ipv6/addrconf.c:6442
 ipv6_add_dev+0x3a5/0x590 net/ipv6/addrconf.c:458
 addrconf_notify+0x3c6/0xd50 net/ipv6/addrconf.c:3380
 notifier_call_chain+0x41/0xc0 kernel/notifier.c:93
 __raw_notifier_call_chain kernel/notifier.c:394 [inline]
 raw_notifier_call_chain+0x2d/0x40 kernel/notifier.c:401
 call_netdevice_notifiers_info+0x32/0x60 net/core/dev.c:1679
 call_netdevice_notifiers net/core/dev.c:1697 [inline]
 register_netdevice+0x639/0x710 net/core/dev.c:7772
 tun_set_iff drivers/net/tun.c:2390 [inline]
 __tun_chr_ioctl+0xb62/0x1660 drivers/net/tun.c:2614
 tun_chr_ioctl+0x2a/0x40 drivers/net/tun.c:2867
 vfs_ioctl fs/ioctl.c:46 [inline]
 do_vfs_ioctl+0xaf/0x840 fs/ioctl.c:686
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
 entry_SYSCALL_64_fastpath+0x1f/0x96
RIP: 0033:0x452a09
RSP: 002b:00007f125b74fc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452a09
RDX: 0000000020927fd8 RSI: 00000000400454ca RDI: 0000000000000014
RBP: 0000000000000553 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f5068
R13: 00000000ffffffff R14: 00007f125b7506d4 R15: 0000000000000000
Code: c8 89 4d d0 e8 9d b6 df ff 4d 85 e4 74 5f e8 93 b6 df ff 4d 8b 6c 24 18 4c 89 e3 49 2b 5d 40 48 c1 fb 05 48 c1 e3 06 49 03 5d 00 <4c> 8b 33 4c 89 f7 e8 30 ad 0f 01 8b 75 d0 89 c1 4c 89 f2 4c 89 
RIP: find_entry.isra.14+0x45/0xc0 fs/proc/proc_sysctl.c:119 RSP: ffffc90000dcba60
---[ end trace 2ea5371a2cce6693 ]---

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-next-kasan-gce 2017/12/19 01:50 linux-next 6084b576dca2 1c4160ef .config log report