usercopy: Kernel memory overwrite attempt detected to SLUB object 'kmalloc-32' (offset 8, size 28)! ------------[ cut here ]------------ kernel BUG at mm/usercopy.c:102! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 11262 Comm: syz-executor.2 Not tainted 6.9.0-rc2-next-20240403-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:usercopy_abort+0x84/0x90 mm/usercopy.c:102 Code: 49 89 ce 48 c7 c3 60 27 d8 8b 48 0f 44 de 48 c7 c7 00 26 d8 8b 4c 89 de 48 89 c1 41 52 41 56 53 e8 81 ac 75 09 48 83 c4 18 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000a257d78 EFLAGS: 00010286 RAX: 0000000000000063 RBX: ffffffff8bd82760 RCX: c1f7a5196a3ec300 RDX: ffffc9000b3c0000 RSI: 0000000000003699 RDI: 000000000000369a RBP: 0000000000000008 R08: ffffffff81760b5c R09: fffffbfff1c39b10 R10: dffffc0000000000 R11: fffffbfff1c39b10 R12: ffffea0000a63000 R13: 000000000000001c R14: 0000000000000008 R15: 000000000000001c FS: 00007fc3d8e1c6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2e677a5694 CR3: 0000000023f4e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __check_heap_object+0xb1/0x100 mm/slub.c:5482 check_heap_object mm/usercopy.c:196 [inline] __check_object_size+0x1e3/0x900 mm/usercopy.c:251 check_object_size include/linux/thread_info.h:215 [inline] check_copy_size include/linux/thread_info.h:251 [inline] copy_from_user include/linux/uaccess.h:182 [inline] handle_to_path fs/fhandle.c:203 [inline] do_handle_open+0x1f6/0x660 fs/fhandle.c:226 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7fc3d807dde9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc3d8e1c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000130 RAX: ffffffffffffffda RBX: 00007fc3d81abf80 RCX: 00007fc3d807dde9 RDX: 0000000000101100 RSI: 0000000020000dc0 RDI: ffffffffffffffff RBP: 00007fc3d80ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc3d81abf80 R15: 00007ffccc6cfca8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:usercopy_abort+0x84/0x90 mm/usercopy.c:102 Code: 49 89 ce 48 c7 c3 60 27 d8 8b 48 0f 44 de 48 c7 c7 00 26 d8 8b 4c 89 de 48 89 c1 41 52 41 56 53 e8 81 ac 75 09 48 83 c4 18 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000a257d78 EFLAGS: 00010286 RAX: 0000000000000063 RBX: ffffffff8bd82760 RCX: c1f7a5196a3ec300 RDX: ffffc9000b3c0000 RSI: 0000000000003699 RDI: 000000000000369a RBP: 0000000000000008 R08: ffffffff81760b5c R09: fffffbfff1c39b10 R10: dffffc0000000000 R11: fffffbfff1c39b10 R12: ffffea0000a63000 R13: 000000000000001c R14: 0000000000000008 R15: 000000000000001c FS: 00007fc3d8e1c6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3a62dd3d58 CR3: 0000000023f4e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400