syzbot


general protection fault in sendmsg (2)

Status: auto-closed as invalid on 2021/07/25 21:15
Reported-by: syzbot+72b5c39db91ce941bb45@syzkaller.appspotmail.com
First crash: 454d, last: 454d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in sendmsg 1 595d 595d 0/1 auto-closed as invalid on 2021/03/06 12:35

Sample crash report:
vhci_hcd: stop threads
 nfnetlink_rcv+0x1ab/0x1da0 net/netfilter/nfnetlink.c:515
kasan: CONFIG_KASAN_INLINE enabled
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 15800 Comm: syz-executor.5 Not tainted 4.14.227-syzkaller #0
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88803e012140 task.stack: ffff888041558000
RIP: 0010:__lock_acquire+0x1cc/0x3f20 kernel/locking/lockdep.c:3369
RSP: 0018:ffff88804155f868 EFLAGS: 00010006
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
RDX: 00000000000000fc RSI: 0000000000000000 RDI: 00000000000007e0
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000001 R11: ffff88803e012140 R12: 00000000000007e0
R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8beb5d40
FS:  00007f67139d7700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f54b3a94010 CR3: 00000000a35b4000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:160
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x466459
 try_to_wake_up+0x6a/0x1100 kernel/sched/core.c:1997
RSP: 002b:00007f7b76b9b188 EFLAGS: 00000246
 ORIG_RAX: 000000000000002e
 store_attach+0x577/0x990 drivers/usb/usbip/vhci_sysfs.c:435
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007f7b76b9b1d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
 dev_attr_store+0x56/0x80 drivers/base/core.c:738
R13: 00007fffcdd6c2cf R14: 00007f7b76b9b300 R15: 0000000000022000
vhci_hcd: release socket
 sysfs_kf_write+0x106/0x160 fs/sysfs/file.c:142
vhci_hcd: disconnect device
 kernfs_fop_write+0x289/0x440 fs/kernfs/file.c:316
 __vfs_write+0xe4/0x630 fs/read_write.c:480
 vfs_write+0x17f/0x4d0 fs/read_write.c:544
 SYSC_write fs/read_write.c:590 [inline]
 SyS_write+0xf2/0x210 fs/read_write.c:582
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x41913f
RSP: 002b:00007f67139d6b90 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 000000000041913f
RDX: 0000000000000008 RSI: 00007f67139d6be0 RDI: 0000000000000005
RBP: 0000000000000005 R08: 0000000000000000 R09: 00007f67139d6b30
R10: 0000000000000000 R11: 0000000000000293 R12: 00000000004afb38
R13: 00007f67139d6be0 R14: 0000000000000000 R15: 0000000000022000
Code: 18 00 00 00 00 48 81 c4 80 01 00 00 44 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 67 2a 00 00 49 81 3c 24 a0 17 2e 8b 0f 84 5f 
RIP: __lock_acquire+0x1cc/0x3f20 kernel/locking/lockdep.c:3369 RSP: ffff88804155f868
---[ end trace c54b20dad1231686 ]---

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2021/03/27 21:14 linux-4.14.y 670d6552eda8 a8529b82 .config log report info general protection fault in sendmsg