general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057] CPU: 0 PID: 10473 Comm: syz-executor.2 Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sco_sock_getsockopt+0x29f/0x520 net/bluetooth/sco.c:1006 Code: c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 80 3c 30 00 74 08 48 89 df e8 6f 27 38 f9 48 8b 1b 48 83 c3 50 48 89 d8 48 c1 e8 03 <42> 8a 04 30 84 c0 0f 85 8e 01 00 00 8b 03 48 8b 0c 24 e8 fa 85 67 RSP: 0018:ffffc90009c07e48 EFLAGS: 00010206 RAX: 000000000000000a RBX: 0000000000000050 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000ffffffff R08: dffffc0000000000 R09: fffffbfff1a1c46e R10: fffffbfff1a1c46e R11: 0000000000000000 R12: ffff88807a062000 R13: 0000000000000006 R14: dffffc0000000000 R15: 0000000000000002 FS: 00007f1236385700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000401f10 CR3: 0000000018d85000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sys_getsockopt+0x290/0x4c0 net/socket.c:2173 __do_sys_getsockopt net/socket.c:2188 [inline] __se_sys_getsockopt net/socket.c:2185 [inline] __x64_sys_getsockopt+0xb1/0xc0 net/socket.c:2185 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e159 Code: 0d 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 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f1236384c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e159 RDX: 000000000000000d RSI: 0000000000000112 RDI: 0000000000000004 RBP: 000000000119bfd0 R08: 0000000020000040 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007ffd0b54365f R14: 00007f12363859c0 R15: 000000000119bf8c Modules linked in: ---[ end trace 4641fafcda3be18b ]--- RIP: 0010:sco_sock_getsockopt+0x29f/0x520 net/bluetooth/sco.c:1006 Code: c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 80 3c 30 00 74 08 48 89 df e8 6f 27 38 f9 48 8b 1b 48 83 c3 50 48 89 d8 48 c1 e8 03 <42> 8a 04 30 84 c0 0f 85 8e 01 00 00 8b 03 48 8b 0c 24 e8 fa 85 67 RSP: 0018:ffffc90009c07e48 EFLAGS: 00010206 RAX: 000000000000000a RBX: 0000000000000050 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000ffffffff R08: dffffc0000000000 R09: fffffbfff1a1c46e R10: fffffbfff1a1c46e R11: 0000000000000000 R12: ffff88807a062000 R13: 0000000000000006 R14: dffffc0000000000 R15: 0000000000000002 FS: 00007f1236385700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f586bd2cdb8 CR3: 0000000018d85000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400