exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x6a3/0x2480 kernel/exit.c:872 do_group_exit+0x144/0x310 kernel/exit.c:994 get_signal+0xc66/0x14e0 kernel/signal.c:2889 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:865 ------------[ cut here ]------------ kernel BUG at mm/slub.c:3532! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6995 Comm: syz-executor.2 Not tainted 5.15.106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:free_nonslab_page+0x14d/0x150 mm/slub.c:3532 Code: e9 41 ff ff ff 48 89 df 48 c7 c6 20 31 13 8c e8 79 1c ed ff 0f 0b e8 32 80 4e 08 48 89 df 48 c7 c6 41 b6 14 8c e8 63 1c ed ff <0f> 0b 90 53 48 89 fb e8 67 50 83 ff 48 89 df e8 df eb ff ff e8 1a RSP: 0018:ffffc900063b7768 EFLAGS: 00010246 RAX: ba6ff7970ed3c900 RBX: ffffea00012f1580 RCX: 0000000000040000 RDX: ffffc9000b8c2000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffea00012f1580 R08: ffffffff81cfc4b4 R09: ffffed1017364f24 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffea00012f1580 FS: 00007fbefca8f700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00e93b000 CR3: 0000000026463000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kfree+0x1cf/0x270 mm/slub.c:4556 ext4_xattr_move_to_block fs/ext4/xattr.c:2628 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2691 [inline] ext4_expand_extra_isize_ea+0x1063/0x1bc0 fs/ext4/xattr.c:2783 __ext4_expand_extra_isize+0x2f7/0x3d0 fs/ext4/inode.c:5828 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5871 [inline] __ext4_mark_inode_dirty+0x539/0x860 fs/ext4/inode.c:5949 __ext4_unlink+0x8cd/0xae0 fs/ext4/namei.c:3255 ext4_unlink+0x1a9/0x530 fs/ext4/namei.c:3298 vfs_unlink+0x359/0x5f0 fs/namei.c:4209 do_unlinkat+0x49d/0x940 fs/namei.c:4277 __do_sys_unlinkat fs/namei.c:4320 [inline] __se_sys_unlinkat fs/namei.c:4313 [inline] __x64_sys_unlinkat+0xca/0xf0 fs/namei.c:4313 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fbefe51d169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbefca8f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 00007fbefe63cf80 RCX: 00007fbefe51d169 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007fbefe578ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd8f09b95f R14: 00007fbefca8f300 R15: 0000000000022000 Modules linked in: ---[ end trace 0b3e790f88380447 ]--- RIP: 0010:free_nonslab_page+0x14d/0x150 mm/slub.c:3532 Code: e9 41 ff ff ff 48 89 df 48 c7 c6 20 31 13 8c e8 79 1c ed ff 0f 0b e8 32 80 4e 08 48 89 df 48 c7 c6 41 b6 14 8c e8 63 1c ed ff <0f> 0b 90 53 48 89 fb e8 67 50 83 ff 48 89 df e8 df eb ff ff e8 1a RSP: 0018:ffffc900063b7768 EFLAGS: 00010246 RAX: ba6ff7970ed3c900 RBX: ffffea00012f1580 RCX: 0000000000040000 RDX: ffffc9000b8c2000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffea00012f1580 R08: ffffffff81cfc4b4 R09: ffffed1017364f24 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffea00012f1580 FS: 00007fbefca8f700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00e93b000 CR3: 0000000026463000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400