netlink: 'syz.5.1655': attribute type 5 has an invalid length. Bluetooth: hci1: Opcode 0x0c1a failed: -4 Bluetooth: hci1: Opcode 0x0406 failed: -4 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 0 UID: 0 PID: 11700 Comm: syz.5.1655 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:kernfs_rename_ns+0x3b/0xa50 fs/kernfs/dir.c:1750 Code: 48 89 fb 4c 8d 73 30 48 83 ec 28 48 89 14 24 48 89 4c 24 08 e8 e6 17 54 ff 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 f9 08 00 00 48 8b 43 30 48 85 c0 0f 84 a8 08 00 RSP: 0018:ffffc9000412f310 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000c001000 RDX: 0000000000000006 RSI: ffffffff826acc9a RDI: 0000000000000000 RBP: ffff888102ad10f0 R08: 0000000000000007 R09: 0000000000000000 R10: 000000007fffffff R11: ffff8880281f2ff0 R12: ffff88802be236c0 R13: ffff88802be23580 R14: 0000000000000030 R15: 1ffff92000825e6e FS: 00007f86f6fff6c0(0000) GS:ffff8880d68f6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fce040eb6b0 CR3: 0000000045215000 CR4: 0000000000352ef0 Call Trace: kobject_move+0x127/0x260 lib/kobject.c:569 device_move+0xa9/0x1160 drivers/base/core.c:4606 hci_conn_del_sysfs+0xaa/0x1a0 net/bluetooth/hci_sysfs.c:75 hci_conn_cleanup net/bluetooth/hci_conn.c:173 [inline] hci_conn_del+0x680/0x11d0 net/bluetooth/hci_conn.c:1234 hci_abort_conn_sync+0x76a/0xb20 net/bluetooth/hci_sync.c:5721 hci_disconnect_all_sync.constprop.0+0x104/0x3c0 net/bluetooth/hci_sync.c:5744 hci_suspend_sync+0x821/0xb40 net/bluetooth/hci_sync.c:6220 hci_suspend_dev+0x331/0x560 net/bluetooth/hci_core.c:2849 hci_suspend_notifier+0x2e0/0x340 net/bluetooth/hci_core.c:2420 notifier_call_chain+0xbc/0x3e0 kernel/notifier.c:85 notifier_call_chain_robust kernel/notifier.c:120 [inline] blocking_notifier_call_chain_robust kernel/notifier.c:345 [inline] blocking_notifier_call_chain_robust+0xc8/0x160 kernel/notifier.c:333 pm_notifier_call_chain_robust+0x27/0x60 kernel/power/main.c:172 snapshot_open+0x189/0x2b0 kernel/power/user.c:77 misc_open+0x26d/0x450 drivers/char/misc.c:163 chrdev_open+0x234/0x6a0 fs/char_dev.c:414 do_dentry_open+0x748/0x1590 fs/open.c:962 vfs_open+0x82/0x3f0 fs/open.c:1094 do_open fs/namei.c:4628 [inline] path_openat+0x2078/0x3140 fs/namei.c:4787 do_filp_open+0x20b/0x470 fs/namei.c:4814 do_sys_openat2+0x121/0x290 fs/open.c:1430 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __x64_sys_openat+0x174/0x210 fs/open.c:1447 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f86f618f7c9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f86f6fff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f86f63e5fa0 RCX: 00007f86f618f7c9 RDX: 000000000000c000 RSI: 0000200000000680 RDI: ffffffffffffff9c RBP: 00007f86f6213f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000019 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f86f63e6038 R14: 00007f86f63e5fa0 R15: 00007ffc80ef4e28 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:kernfs_rename_ns+0x3b/0xa50 fs/kernfs/dir.c:1750 Code: 48 89 fb 4c 8d 73 30 48 83 ec 28 48 89 14 24 48 89 4c 24 08 e8 e6 17 54 ff 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 f9 08 00 00 48 8b 43 30 48 85 c0 0f 84 a8 08 00 RSP: 0018:ffffc9000412f310 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000c001000 RDX: 0000000000000006 RSI: ffffffff826acc9a RDI: 0000000000000000 RBP: ffff888102ad10f0 R08: 0000000000000007 R09: 0000000000000000 R10: 000000007fffffff R11: ffff8880281f2ff0 R12: ffff88802be236c0 R13: ffff88802be23580 R14: 0000000000000030 R15: 1ffff92000825e6e FS: 00007f86f6fff6c0(0000) GS:ffff8880d68f6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fce040eb6b0 CR3: 0000000045215000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 48 89 fb mov %rdi,%rbx 3: 4c 8d 73 30 lea 0x30(%rbx),%r14 7: 48 83 ec 28 sub $0x28,%rsp b: 48 89 14 24 mov %rdx,(%rsp) f: 48 89 4c 24 08 mov %rcx,0x8(%rsp) 14: e8 e6 17 54 ff call 0xff5417ff 19: 4c 89 f2 mov %r14,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 f9 08 00 00 jne 0x92d 34: 48 8b 43 30 mov 0x30(%rbx),%rax 38: 48 85 c0 test %rax,%rax 3b: 0f .byte 0xf 3c: 84 .byte 0x84 3d: a8 08 test $0x8,%al