================================================================== 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/30019 CPU: 0 PID: 30019 Comm: kworker/u5:1 Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x137/0x1be lib/dump_stack.c:118 __kasan_report mm/kasan/report.c:549 [inline] kasan_report+0x155/0x1e0 mm/kasan/report.c:562 check_memory_region_inline mm/kasan/generic.c:183 [inline] check_memory_region+0x2b5/0x2f0 mm/kasan/generic.c:192 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:4924 [inline] hci_event_packet+0x619/0x18e0 net/bluetooth/hci_event.c:6278 hci_rx_work+0x225/0x3f0 net/bluetooth/hci_core.c:4926 process_one_work+0x789/0xfc0 kernel/workqueue.c:2272 worker_thread+0xaa4/0x1460 kernel/workqueue.c:2418 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: 30019 Comm: kworker/u5:1 Tainted: G B 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x137/0x1be lib/dump_stack.c:118 panic+0x291/0x800 kernel/panic.c:231 end_report mm/kasan/report.c:106 [inline] __kasan_report mm/kasan/report.c:552 [inline] kasan_report+0x1da/0x1e0 mm/kasan/report.c:562 check_memory_region_inline mm/kasan/generic.c:183 [inline] check_memory_region+0x2b5/0x2f0 mm/kasan/generic.c:192 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:4924 [inline] hci_event_packet+0x619/0x18e0 net/bluetooth/hci_event.c:6278 hci_rx_work+0x225/0x3f0 net/bluetooth/hci_core.c:4926 process_one_work+0x789/0xfc0 kernel/workqueue.c:2272 worker_thread+0xaa4/0x1460 kernel/workqueue.c:2418 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..