================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_write include/linux/instrumented.h:86 [inline] BUG: KASAN: null-ptr-deref in set_bit include/asm-generic/bitops/instrumented-atomic.h:28 [inline] BUG: KASAN: null-ptr-deref in amp_read_loc_assoc_final_data+0x115/0x260 net/bluetooth/amp.c:304 Write of size 8 at addr 0000000000000030 by task kworker/u5:1/8455 CPU: 0 PID: 8455 Comm: kworker/u5:1 Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci2 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x137/0x1be lib/dump_stack.c:120 __kasan_report mm/kasan/report.c:400 [inline] kasan_report+0x154/0x200 mm/kasan/report.c:413 check_memory_region_inline mm/kasan/generic.c:134 [inline] check_memory_region+0x2b5/0x2f0 mm/kasan/generic.c:185 instrument_atomic_write include/linux/instrumented.h:86 [inline] set_bit include/asm-generic/bitops/instrumented-atomic.h:28 [inline] amp_read_loc_assoc_final_data+0x115/0x260 net/bluetooth/amp.c:304 hci_chan_selected_evt net/bluetooth/hci_event.c:4943 [inline] hci_event_packet+0x619/0x18e0 net/bluetooth/hci_event.c:6296 hci_rx_work+0x229/0x410 net/bluetooth/hci_core.c:4971 process_one_work+0x789/0xfc0 kernel/workqueue.c:2275 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 ================================================================== Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 8455 Comm: kworker/u5:1 Tainted: G B 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci2 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x137/0x1be lib/dump_stack.c:120 panic+0x291/0x800 kernel/panic.c:231 end_report mm/kasan/report.c:100 [inline] __kasan_report mm/kasan/report.c:403 [inline] kasan_report+0x1fb/0x200 mm/kasan/report.c:413 check_memory_region_inline mm/kasan/generic.c:134 [inline] check_memory_region+0x2b5/0x2f0 mm/kasan/generic.c:185 instrument_atomic_write include/linux/instrumented.h:86 [inline] set_bit include/asm-generic/bitops/instrumented-atomic.h:28 [inline] amp_read_loc_assoc_final_data+0x115/0x260 net/bluetooth/amp.c:304 hci_chan_selected_evt net/bluetooth/hci_event.c:4943 [inline] hci_event_packet+0x619/0x18e0 net/bluetooth/hci_event.c:6296 hci_rx_work+0x229/0x410 net/bluetooth/hci_core.c:4971 process_one_work+0x789/0xfc0 kernel/workqueue.c:2275 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Kernel Offset: disabled Rebooting in 86400 seconds..