syzbot


BUG: unable to handle kernel NULL pointer dereference in security_socket_sendmsg

Status: closed as invalid on 2020/06/15 21:23
Subsystems: lsm
[Documentation on labels]
First crash: 1401d, last: 1401d

Sample crash report:
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD a0e1e067 P4D a0e1e067 PUD 88174067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 23251 Comm: syz-executor.2 Not tainted 5.7.0-rc7-next-20200529-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__sanitizer_cov_trace_pc+0x43/0x60 kernel/kcov.c:202
Code: 24 74 0f 80 e6 01 74 35 8b 90 0c 14 00 00 85 d2 74 2b 8b 90 e8 13 00 00 83 fa 02 75 20 48 8b 88 f0 13 00 00 8b 80 ec 13 00 00 <48> 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 66 0f
RSP: 0018:ffffc900046efad0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffff8a058be8 RCX: 0000000000000000
RDX: 0000000000000002 RSI: ffffffff835754ef RDI: 0000000000000005
RBP: dffffc0000000000 R08: ffff88809973a400 R09: fffff520008ddf94
R10: ffffc900046efc9f R11: fffff520008ddf93 R12: 0000000000000000
R13: ffff8880731a7a80 R14: ffffc900046efe70 R15: 0000000000000028
FS:  00007f1a4f361700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000a236d000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 security_socket_sendmsg+0x4f/0xb0 security/security.c:2116
 sock_sendmsg+0x3f/0x120 net/socket.c:669
 ____sys_sendmsg+0x6e6/0x810 net/socket.c:2352
 ___sys_sendmsg+0x100/0x170 net/socket.c:2406
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2439
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x416771
Code: 75 14 b8 2e 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 e4 19 00 00 c3 48 83 ec 08 e8 ea fa ff ff 48 89 04 24 b8 2e 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 33 fb ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007f1a4f3609c0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f1a4f360a58 RCX: 0000000000416771
RDX: 0000000000000000 RSI: 00007f1a4f360a00 RDI: 0000000000000005
RBP: 0000000000000005 R08: 0000000000000008 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000293 R12: 00007f1a4f360a40
R13: 0000000000000bee R14: 00000000004d8870 R15: 00007f1a4f3616d4
Modules linked in:
CR2: 0000000000000000
---[ end trace 9789593d6f1ef19f ]---
RIP: 0010:__sanitizer_cov_trace_pc+0x43/0x60 kernel/kcov.c:202
Code: 24 74 0f 80 e6 01 74 35 8b 90 0c 14 00 00 85 d2 74 2b 8b 90 e8 13 00 00 83 fa 02 75 20 48 8b 88 f0 13 00 00 8b 80 ec 13 00 00 <48> 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 66 0f
RSP: 0018:ffffc900046efad0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffff8a058be8 RCX: 0000000000000000
RDX: 0000000000000002 RSI: ffffffff835754ef RDI: 0000000000000005
RBP: dffffc0000000000 R08: ffff88809973a400 R09: fffff520008ddf94
R10: ffffc900046efc9f R11: fffff520008ddf93 R12: 0000000000000000
R13: ffff8880731a7a80 R14: ffffc900046efe70 R15: 0000000000000028
FS:  00007f1a4f361700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2553770008 CR3: 00000000a236d000 CR4: 00000000001406e0
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/06/15 20:20 linux-next e7b08814b16b baca2611 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.