syzbot


BUG: unable to handle kernel paging request in vsscanf (2)

Status: auto-closed as invalid on 2020/10/04 11:58
Subsystems: net
[Documentation on labels]
First crash: 1383d, last: 1383d
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 1464d 1464d 0/1 auto-closed as invalid on 2020/08/14 14:44
linux-4.19 BUG: unable to handle kernel paging request in vsscanf 2 1326d 1361d 0/1 auto-closed as invalid on 2020/12/30 13:41
linux-4.19 BUG: unable to handle kernel paging request in vsscanf (2) 2 918d 1020d 0/1 auto-closed as invalid on 2022/02/11 22:53
upstream BUG: unable to handle kernel paging request in vsscanf bridge 1 1544d 1544d 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 726d 726d 0/1 auto-closed as invalid on 2022/08/22 19:56

Sample crash report:
BUG: unable to handle page fault for address: ffffffffffffffb8
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 927c067 P4D 927c067 PUD 927e067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 26206 Comm: syz-executor.0 Not tainted 5.8.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:vsscanf+0x220/0x2ef0 lib/vsprintf.c:3261
Code: 48 89 9c 24 80 00 00 00 43 8a 04 2c 84 c0 0f 85 39 23 00 00 41 8a 1e 4c 89 f8 48 c1 e8 03 42 8a 04 28 84 c0 0f 85 3e 23 00 00 <45> 0f b6 37 0f b6 db 89 df 44 89 f6 e8 cf 71 b7 fd 44 38 f3 0f 85
RSP: 0018:ffffc90003e06ef0 EFLAGS: 00010246
RAX: 1fffffffffffff00 RBX: ffff888018c20076 RCX: 0000000000000000
RDX: 0000000000000002 RSI: ffffffff894614a0 RDI: 0000000000000076
RBP: ffffc90003e06fe0 R08: 0000000000000001 R09: ffffffff83bd0a37
R10: 0000000000000002 R11: ffff888042b58500 R12: 1ffff11003184000
R13: dffffc0000000000 R14: ffff888018c20000 R15: ffffffffffffffb8
FS:  00007f167240c700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffb8 CR3: 000000021872e000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 sscanf+0x6c/0x90 lib/vsprintf.c:3527
 __dev_alloc_name net/core/dev.c:1195 [inline]
 dev_alloc_name_ns+0x47b/0x780 net/core/dev.c:1229
 dev_get_valid_name net/core/dev.c:1264 [inline]
 register_netdevice+0x552/0x1b80 net/core/dev.c:9433
 veth_newlink+0x810/0xba0 drivers/net/veth.c:1393
 __rtnl_newlink net/core/rtnetlink.c:3339 [inline]
 rtnl_newlink+0x143e/0x1bf0 net/core/rtnetlink.c:3397
 rtnetlink_rcv_msg+0x889/0xd40 net/core/rtnetlink.c:5460
 netlink_rcv_skb+0x190/0x3a0 net/netlink/af_netlink.c:2469
 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline]
 netlink_unicast+0x786/0x940 net/netlink/af_netlink.c:1329
 netlink_sendmsg+0xa57/0xd70 net/netlink/af_netlink.c:1918
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg net/socket.c:672 [inline]
 ____sys_sendmsg+0x519/0x800 net/socket.c:2352
 ___sys_sendmsg net/socket.c:2406 [inline]
 __sys_sendmsg+0x2b1/0x360 net/socket.c:2439
 do_syscall_64+0x73/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cb29
Code: Bad RIP value.
RSP: 002b:00007f167240bc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000502760 RCX: 000000000045cb29
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000006
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000a43 R14: 00000000004cd2a1 R15: 00007f167240c6d4
Modules linked in:
CR2: ffffffffffffffb8
---[ end trace ba92b3f842eb5a39 ]---
RIP: 0010:vsscanf+0x220/0x2ef0 lib/vsprintf.c:3261
Code: 48 89 9c 24 80 00 00 00 43 8a 04 2c 84 c0 0f 85 39 23 00 00 41 8a 1e 4c 89 f8 48 c1 e8 03 42 8a 04 28 84 c0 0f 85 3e 23 00 00 <45> 0f b6 37 0f b6 db 89 df 44 89 f6 e8 cf 71 b7 fd 44 38 f3 0f 85
RSP: 0018:ffffc90003e06ef0 EFLAGS: 00010246
RAX: 1fffffffffffff00 RBX: ffff888018c20076 RCX: 0000000000000000
RDX: 0000000000000002 RSI: ffffffff894614a0 RDI: 0000000000000076
RBP: ffffc90003e06fe0 R08: 0000000000000001 R09: ffffffff83bd0a37
R10: 0000000000000002 R11: ffff888042b58500 R12: 1ffff11003184000
R13: dffffc0000000000 R14: ffff888018c20000 R15: ffffffffffffffb8
FS:  00007f167240c700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffb8 CR3: 000000021872e000 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
2020/07/06 11:50 upstream 7cc2a8ea1048 51095195 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.