BUG: unable to handle kernel paging request in vsscanf

7 views
Skip to first unread message

syzbot

unread,
Jul 28, 2020, 2:20:21 AM7/28/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 20b3a3df Linux 4.19.134
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1259f860900000
kernel config: https://syzkaller.appspot.com/x/.config?x=7c76c572c403b9ac
dashboard link: https://syzkaller.appspot.com/bug?extid=f7f5b22ee4af9c072ee1
compiler: gcc (GCC) 10.1.0-syz 20200507

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f7f5b2...@syzkaller.appspotmail.com

BUG: unable to handle kernel paging request at ffffffffffffffb0
PGD 8c70067 P4D 8c70067 PUD 8c72067 PMD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 939 Comm: syz-executor.5 Not tainted 4.19.134-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 00 07 33 fa 0f b6 44
RSP: 0018:ffff8881f7536a10 EFLAGS: 00010246
RAX: 0000000000000076 RBX: ffff8881fc53c001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8736a8ba RDI: 0000000000000001
RBP: ffffffffffffffb0 R08: 0000000000000010 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8881fc53c000
R13: ffff8881fc53c001 R14: 0000000000000000 R15: dffffc0000000000
FS: 00007f78fde90700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffb0 CR3: 0000000209b41000 CR4: 00000000001426f0
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/0x15a0 net/core/rtnetlink.c:3141
rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4777
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:0x45c369
Code: 8d b6 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 5b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f78fde8fc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002b740 RCX: 000000000045c369
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000006
RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c
R13: 00007ffd46b24b3f R14: 00007f78fde909c0 R15: 000000000078bf0c
Modules linked in:
CR2: ffffffffffffffb0
BUG: unable to handle kernel paging request at ffff888000a53000
PGD c601067 P4D c601067 PUD c602067 PMD a52063 PTE 0
Oops: 0002 [#2] PREEMPT SMP KASAN
CPU: 0 PID: 939 Comm: syz-executor.5 Not tainted 4.19.134-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:writeb arch/x86/include/asm/io.h:65 [inline]
RIP: 0010:vga16fb_fillrect+0x9c0/0x1940 drivers/video/fbdev/vga16fb.c:923
Code: e3 fd 48 63 44 24 10 45 31 f6 48 89 04 24 e8 e7 cb e3 fd 31 ff 89 de 31 ed e8 4c cd e3 fd 85 db 4d 89 ec 74 22 e8 d0 cb e3 fd <45> 88 34 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 ac cc e3 fd 39 eb
RSP: 0018:ffff8881f7536198 EFLAGS: 00010046
RAX: 0000000000040000 RBX: 00000000000000a0 RCX: ffffc9001051f000
RDX: 0000000000040000 RSI: ffffffff8385e370 RDI: 0000000000000004
RBP: 0000000000000080 R08: 0000000000000001 R09: 00000000000000a0
R10: 0000000000000004 R11: 0000000000000000 R12: ffff888000a53000
R13: ffff888000a52f80 R14: 0000000000000000 R15: 00000000ffff07b3
FS: 00007f78fde90700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff888000a53000 CR3: 0000000209b41000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
bit_clear_margins+0x2d5/0x4a0 drivers/video/fbdev/core/bitblit.c:232
fbcon_clear_margins+0x1e2/0x350 drivers/video/fbdev/core/fbcon.c:1342
fbcon_switch+0x1038/0x1d26 drivers/video/fbdev/core/fbcon.c:2324
redraw_screen+0x37d/0x870 drivers/tty/vt/vt.c:1015
fbcon_blank+0xae6/0xec0 drivers/video/fbdev/core/fbcon.c:2395
do_unblank_screen+0x241/0x610 drivers/tty/vt/vt.c:4268
bust_spinlocks+0x5b/0xe0
oops_end+0x2b/0xe0 arch/x86/kernel/dumpstack.c:336
no_context+0x75a/0x940 arch/x86/mm/fault.c:830
__bad_area_nosemaphore+0x2de/0x400 arch/x86/mm/fault.c:918
__do_page_fault+0x1c5/0xde0 arch/x86/mm/fault.c:1344
page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205
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 00 07 33 fa 0f b6 44
RSP: 0018:ffff8881f7536a10 EFLAGS: 00010246
RAX: 0000000000000076 RBX: ffff8881fc53c001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8736a8ba RDI: 0000000000000001
RBP: ffffffffffffffb0 R08: 0000000000000010 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8881fc53c000
R13: ffff8881fc53c001 R14: 0000000000000000 R15: dffffc0000000000
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/0x15a0 net/core/rtnetlink.c:3141
rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4777
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:0x45c369
Code: 8d b6 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 5b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f78fde8fc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002b740 RCX: 000000000045c369
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000006
RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c
R13: 00007ffd46b24b3f R14: 00007f78fde909c0 R15: 000000000078bf0c
Modules linked in:
CR2: ffff888000a53000
---[ end trace e38331c2210b1143 ]---
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 00 07 33 fa 0f b6 44
RSP: 0018:ffff8881f7536a10 EFLAGS: 00010246
RAX: 0000000000000076 RBX: ffff8881fc53c001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8736a8ba RDI: 0000000000000001
RBP: ffffffffffffffb0 R08: 0000000000000010 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8881fc53c000
R13: ffff8881fc53c001 R14: 0000000000000000 R15: dffffc0000000000
FS: 00007f78fde90700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff888000a53000 CR3: 0000000209b41000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 30, 2020, 8:41:12 AM12/30/20
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages