syzbot


BUG: unable to handle kernel paging request in vsscanf

Status: auto-closed as invalid on 2020/12/30 13:41
Reported-by: syzbot+f7f5b22ee4af9c072ee1@syzkaller.appspotmail.com
First crash: 1368d, last: 1332d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: unable to handle kernel paging request in vsscanf 1 1470d 1470d 0/1 auto-closed as invalid on 2020/08/14 14:44
upstream BUG: unable to handle kernel paging request in vsscanf (2) net 1 1389d 1389d 0/26 auto-closed as invalid on 2020/10/04 11:58
linux-4.19 BUG: unable to handle kernel paging request in vsscanf (2) 2 924d 1026d 0/1 auto-closed as invalid on 2022/02/11 22:53
upstream BUG: unable to handle kernel paging request in vsscanf bridge 1 1551d 1551d 0/26 auto-closed as invalid on 2020/04/26 09:37
linux-4.19 BUG: unable to handle kernel paging request in vsscanf (3) 1 732d 732d 0/1 auto-closed as invalid on 2022/08/22 19:56

Sample crash report:
audit: type=1804 audit(1598967655.552:378): pid=370 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir113293004/syzkaller.cGDR2z/1221/bus" dev="sda1" ino=16088 res=1
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
BUG: unable to handle kernel paging request at ffffffffffffffb0
PGD 8c70067 P4D 8c70067 PUD 8c72067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 405 Comm: syz-executor.3 Not tainted 4.19.142-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:vsscanf+0x1dd/0x24c0 lib/vsprintf.c:2932
Code: 89 e9 48 c1 ea 03 4c 89 ac 24 d8 00 00 00 83 e1 07 41 0f b6 04 24 42 0f b6 14 3a 4c 89 eb 38 ca 7f 08 84 d2 0f 85 e6 1b 00 00 <44> 0f b6 75 00 89 c7 88 44 24 08 44 89 f6 e8 70 33 30 fa 0f b6 44
RSP: 0018:ffff8881fcf7ea10 EFLAGS: 00010246
RAX: 0000000000000076 RBX: ffff88804906ad01 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff87397e8a RDI: 0000000000000001
RBP: ffffffffffffffb0 R08: 0000000000000010 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff88804906ad00
R13: ffff88804906ad01 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007f1d3d171700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffb0 CR3: 0000000041c55000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 sscanf+0xbb/0xf0 lib/vsprintf.c:3198
 __dev_alloc_name net/core/dev.c:1081 [inline]
 dev_alloc_name_ns+0x1c4/0x440 net/core/dev.c:1115
 dev_get_valid_name+0x67/0xe0 net/core/dev.c:1150
 register_netdevice+0x267/0x10f0 net/core/dev.c:8640
 veth_newlink+0x3eb/0x930 drivers/net/veth.c:1143
 rtnl_newlink+0x1027/0x15b0 net/core/rtnetlink.c:3141
 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4778
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:632
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
 __sys_sendmsg net/socket.c:2153 [inline]
 __do_sys_sendmsg net/socket.c:2162 [inline]
 __se_sys_sendmsg net/socket.c:2160 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45d5b9
Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f1d3d170c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002ce80 RCX: 000000000045d5b9
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000005
RBP: 000000000118d020 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cfec
R13: 00007ffced1fcabf R14: 00007f1d3d1719c0 R15: 000000000118cfec
Modules linked in:
CR2: ffffffffffffffb0
---[ end trace 38a203f7917b81ff ]---
RIP: 0010:vsscanf+0x1dd/0x24c0 lib/vsprintf.c:2932
Code: 89 e9 48 c1 ea 03 4c 89 ac 24 d8 00 00 00 83 e1 07 41 0f b6 04 24 42 0f b6 14 3a 4c 89 eb 38 ca 7f 08 84 d2 0f 85 e6 1b 00 00 <44> 0f b6 75 00 89 c7 88 44 24 08 44 89 f6 e8 70 33 30 fa 0f b6 44
RSP: 0018:ffff8881fcf7ea10 EFLAGS: 00010246
RAX: 0000000000000076 RBX: ffff88804906ad01 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff87397e8a RDI: 0000000000000001
RBP: ffffffffffffffb0 R08: 0000000000000010 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff88804906ad00
R13: ffff88804906ad01 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007f1d3d171700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffb0 CR3: 0000000041c55000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/01 13:41 linux-4.19.y f6d5cb9e2c06 d5a3ae1f .config console log report ci2-linux-4-19
2020/07/28 06:19 linux-4.19.y 20b3a3dfdf6c cb93dc6a .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.