------------[ cut here ]------------ inode->i_blocks WARNING: mm/shmem.c:1430 at shmem_evict_inode+0x8e6/0xbd0 mm/shmem.c:1430, CPU#1: syz.2.3138/23833 Modules linked in: CPU: 1 UID: 0 PID: 23833 Comm: syz.2.3138 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:shmem_evict_inode+0x8e6/0xbd0 mm/shmem.c:1430 Code: fe e8 ee da b9 ff 45 85 ff 75 ac e8 34 e0 b9 ff 48 8b 74 24 28 48 8b 7c 24 30 e8 35 a3 92 ff e9 e5 fd ff ff e8 1b e0 b9 ff 90 <0f> 0b 90 e9 59 f9 ff ff e8 0d e0 b9 ff 4c 89 e2 48 b8 00 00 00 00 RSP: 0018:ffffc90004ef7a38 EFLAGS: 00010246 RAX: 0000000000080000 RBX: ffff888070a00e70 RCX: ffffc900271c9000 RDX: 0000000000080000 RSI: ffffffff824e3125 RDI: ffff888051114980 RBP: ffffc90004ef7b60 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000000 R12: 0000000000000008 R13: 0000000000000000 R14: ffff888070a00ea0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88809724e000(0063) knlGS:00000000f4f78b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f71a7310 CR3: 000000006bdbe000 CR4: 0000000000352ef0 Call Trace: evict+0x3c2/0xad0 fs/inode.c:846 iput_final fs/inode.c:1966 [inline] iput.part.0+0x605/0xf50 fs/inode.c:2015 iput+0x35/0x40 fs/inode.c:1981 dentry_unlink_inode+0x2a1/0x490 fs/dcache.c:467 __dentry_kill+0x1d0/0x600 fs/dcache.c:670 finish_dput+0x76/0x480 fs/dcache.c:879 dput.part.0+0x456/0x570 fs/dcache.c:928 dput+0x1f/0x30 fs/dcache.c:920 __fput+0x519/0xb40 fs/file_table.c:477 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0x100/0x4a0 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline] __do_fast_syscall_32+0x578/0x8c0 arch/x86/entry/syscall_32.c:310 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf6feef6c Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 58 b8 77 00 00 00 cd 80 0f 0b 8d b6 00 00 00 00 b8 ad RSP: 002b:00000000f4f7850c EFLAGS: 00000292 ORIG_RAX: 00000000000000c0 RAX: 0000000080000000 RBX: 0000000080000000 RCX: 0000000000b36000 RDX: 0000000000000002 RSI: 0000000000008031 RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: d2 74 05 c1 shlb %cl,-0x3f(%rbp,%rax,1) 4: e8 0c 89 02 8b call 0x8b028915 9: 5d pop %rbp a: fc cld b: 31 c0 xor %eax,%eax d: c9 leave e: c3 ret f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 0f 1f 00 nopl (%rax) 21: 51 push %rcx 22: 52 push %rdx 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 ret 2e: 58 pop %rax 2f: b8 77 00 00 00 mov $0x77,%eax 34: cd 80 int $0x80 36: 0f 0b ud2 38: 8d b6 00 00 00 00 lea 0x0(%rsi),%esi 3e: b8 .byte 0xb8 3f: ad lods %ds:(%rsi),%eax