================================================================== BUG: KASAN: vmalloc-out-of-bounds in notifier_chain_unregister kernel/notifier.c:51 [inline] BUG: KASAN: vmalloc-out-of-bounds in blocking_notifier_chain_unregister+0x230/0x290 kernel/notifier.c:329 Read of size 8 at addr ffffc9000ae63be8 by task syz-executor.4/12487 CPU: 1 PID: 12487 Comm: syz-executor.4 Not tainted 6.0.0-rc1-syzkaller-00066-g3b06a2755758 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:317 [inline] print_report.cold+0x59/0x719 mm/kasan/report.c:433 kasan_report+0xb1/0x1e0 mm/kasan/report.c:495 notifier_chain_unregister kernel/notifier.c:51 [inline] blocking_notifier_chain_unregister+0x230/0x290 kernel/notifier.c:329 kvm_destroy_pm_notifier arch/x86/kvm/../../../virt/kvm/kvm_main.c:943 [inline] kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1285 [inline] kvm_put_kvm+0xd1/0xb70 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1352 kvm_vm_release+0x3f/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1375 __fput+0x277/0x9d0 fs/file_table.c:320 task_work_run+0xdd/0x1a0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc4b9c3bebb Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007fc4ba2cfb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fc4b9c3bebb RDX: 00007fc4b9da03a0 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007fc4b9d9d980 R08: 0000000000000000 R09: 00007fc4b9da03a8 R10: 00007fc4ba2cfc80 R11: 0000000000000293 R12: 000000000007759b R13: 00007fc4ba2cfc80 R14: 00007fc4b9d9bf80 R15: 0000000000000032 Memory state around the buggy address: ffffc9000ae63a80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc9000ae63b00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc9000ae63b80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc9000ae63c00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc9000ae63c80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================