================================================================== 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+0x183/0x340 net/bluetooth/amp.c:304 Write of size 8 at addr 0000000000000030 by task kworker/u5:2/8469 CPU: 1 PID: 8469 Comm: kworker/u5:2 Not tainted 5.11.0-rc4-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:79 [inline] dump_stack+0x183/0x22e 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+0x183/0x340 net/bluetooth/amp.c:304 hci_chan_selected_evt net/bluetooth/hci_event.c:4943 [inline] hci_event_packet+0x724/0x1be0 net/bluetooth/hci_event.c:6296 hci_rx_work+0x229/0x410 net/bluetooth/hci_core.c:4971 process_one_work+0x833/0x10c0 kernel/workqueue.c:2275 worker_thread+0xaa4/0x1460 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: 1 PID: 8469 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc4-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:79 [inline] dump_stack+0x183/0x22e lib/dump_stack.c:120 panic+0x2e1/0x850 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+0x183/0x340 net/bluetooth/amp.c:304 hci_chan_selected_evt net/bluetooth/hci_event.c:4943 [inline] hci_event_packet+0x724/0x1be0 net/bluetooth/hci_event.c:6296 hci_rx_work+0x229/0x410 net/bluetooth/hci_core.c:4971 process_one_work+0x833/0x10c0 kernel/workqueue.c:2275 worker_thread+0xaa4/0x1460 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..