__should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0xf mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] __do_kmalloc mm/slab.c:3725 [inline] __kmalloc+0x2ab/0x3c0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] inotify_handle_event+0x203/0x5e0 fs/notify/inotify/inotify_fsnotify.c:108 send_to_group fs/notify/fsnotify.c:238 [inline] fsnotify+0x657/0xe10 fs/notify/fsnotify.c:374 BUG: unable to handle kernel NULL pointer dereference at 0000000000000030 PGD 38b47067 P4D 38b47067 PUD 35bc8067 PMD 0 fsnotify_close include/linux/fsnotify.h:238 [inline] __fput+0x528/0x890 fs/file_table.c:264 Oops: 0002 [#1] PREEMPT SMP KASAN task_work_run+0x148/0x1c0 kernel/task_work.c:113 CPU: 0 PID: 1712 Comm: kworker/u5:0 Not tainted 4.19.165-syzkaller #0 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 Workqueue: hci1 hci_rx_work entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0010:set_bit arch/x86/include/asm/bitops.h:71 [inline] RIP: 0010:amp_read_loc_assoc_final_data+0x102/0x1d0 net/bluetooth/amp.c:312 RIP: 0033:0x417b71 Code: fc ff df 0f b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 ae 00 00 00 41 0f b7 84 24 9c 03 00 00 66 89 44 24 23 41 80 4d 30 04 48 8d 6c 24 40 4c 89 e6 48 89 ef e8 08 35 fe ff Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 a4 1a 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 0018:ffff8880b24ff978 EFLAGS: 00010246 RSP: 002b:00007f2c0ee9ba10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 1ffff1101649ff2f RCX: 1ffff1101649352b RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000417b71 RDX: 0000000000000000 RSI: ffffffff8765df4e RDI: ffff88805bbd04dc RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 RBP: ffff8880b5004a80 R08: 0000000000000000 R09: 0000000000000002 RBP: 0000000000000000 R08: 0000000020000350 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88805bbd0140 R10: 0000000000007800 R11: 0000000000000293 R12: 00007f2c0ee9c6d4 R13: 0000000000000000 R14: ffff88805bbd1080 R15: ffff88805bbd0140 R13: 0000000000000010 R14: 0000000000000004 R15: 0000000020000360 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000030 CR3: 00000000595bf000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_chan_selected_evt+0x1ef/0x3e0 net/bluetooth/hci_event.c:4655 hci_event_packet+0x2a4a/0x7e19 net/bluetooth/hci_event.c:5910 hci_rx_work+0x4ad/0xc70 net/bluetooth/hci_core.c:4359 process_one_work+0x864/0x1570 kernel/workqueue.c:2155 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Modules linked in: CR2: 0000000000000030 ---[ end trace 387302ba640fcf3b ]--- RIP: 0010:set_bit arch/x86/include/asm/bitops.h:71 [inline] RIP: 0010:amp_read_loc_assoc_final_data+0x102/0x1d0 net/bluetooth/amp.c:312 Code: fc ff df 0f b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 ae 00 00 00 41 0f b7 84 24 9c 03 00 00 66 89 44 24 23 41 80 4d 30 04 48 8d 6c 24 40 4c 89 e6 48 89 ef e8 08 35 fe ff RSP: 0018:ffff8880b24ff978 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff1101649ff2f RCX: 1ffff1101649352b RDX: 0000000000000000 RSI: ffffffff8765df4e RDI: ffff88805bbd04dc RBP: ffff8880b5004a80 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88805bbd0140 R13: 0000000000000000 R14: ffff88805bbd1080 R15: ffff88805bbd0140 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000030 CR3: 00000000595bf000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400