syzbot


WARNING in shmem_evict_inode (3)

Status: upstream: reported on 2024/05/24 23:40
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+d159dee03e75571264d4@syzkaller.appspotmail.com
First crash: 184d, last: 42d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] WARNING in shmem_evict_inode (3) 0 (1) 2024/05/24 23:40
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in shmem_evict_inode (2) mm 5 306d 413d 0/28 auto-obsoleted due to no activity on 2024/04/28 17:43
upstream WARNING in shmem_evict_inode mm syz done unreliable 4 523d 681d 0/28 auto-obsoleted due to no activity on 2023/09/25 00:58
linux-6.1 WARNING in shmem_evict_inode origin:lts-only C 7 5d07h 30d 0/3 upstream: reported C repro on 2024/10/21 21:43

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 10266 at mm/shmem.c:1295 shmem_evict_inode+0x8b3/0xba0 mm/shmem.c:1295
Modules linked in:
CPU: 0 UID: 0 PID: 10266 Comm: syz.0.1350 Not tainted 6.12.0-rc2-syzkaller-00050-g5b7c893ed5ed #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:shmem_evict_inode+0x8b3/0xba0 mm/shmem.c:1295
Code: e6 e8 31 00 c0 ff 45 85 e4 75 aa e8 e7 fd bf ff 48 8b 74 24 28 48 8b 7c 24 30 e8 18 da 99 ff e9 1a fe ff ff e8 ce fd bf ff 90 <0f> 0b 90 e9 8d f9 ff ff e8 c0 fd bf ff 4c 89 e2 48 b8 00 00 00 00
RSP: 0018:ffffc9000727f7d8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88804ee84fe0 RCX: ffffffff81ccb37f
RDX: ffff88802138c880 RSI: ffffffff81ccb9f2 RDI: 0000000000000007
RBP: ffffc9000727f908 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000008 R11: 0000000000000000 R12: 0000000000000008
R13: 0000000000000000 R14: ffff88804ee85010 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88802b400000(0000) knlGS:0000000000000000
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000331e9ff8 CR3: 0000000062c98000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 evict+0x409/0x970 fs/inode.c:723
 iput_final fs/inode.c:1875 [inline]
 iput fs/inode.c:1901 [inline]
 iput+0x530/0x890 fs/inode.c:1887
 dentry_unlink_inode+0x29c/0x480 fs/dcache.c:412
 __dentry_kill+0x1d0/0x600 fs/dcache.c:615
 dput.part.0+0x4b1/0x9b0 fs/dcache.c:857
 dput+0x1f/0x30 fs/dcache.c:847
 __fput+0x513/0xb60 fs/file_table.c:439
 task_work_run+0x14e/0x250 kernel/task_work.c:228
 exit_task_work include/linux/task_work.h:40 [inline]
 do_exit+0xadd/0x2d70 kernel/exit.c:939
 do_group_exit+0xd3/0x2a0 kernel/exit.c:1088
 get_signal+0x2658/0x26d0 kernel/signal.c:2917
 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 irqentry_exit_to_user_mode+0x13f/0x280 kernel/entry/common.c:231
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0023:0xf7f76579
Code: Unable to access opcode bytes at 0xf7f7654f.
RSP: 002b:00000000f56f651c EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000062000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/09 08:15 upstream 5b7c893ed5ed 402f1df0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/09/01 06:23 upstream 6cd90e5ea72f 1eda0d14 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/08/23 12:32 upstream 3d5f968a177d d7d32352 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/08/15 07:44 upstream 1fb918967b56 e4bacdaf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/08/06 14:14 upstream b446a2dae984 1ef9fe42 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/07/17 16:57 upstream 51835949dda3 877a6ab1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/07/17 06:46 upstream 51835949dda3 215bec2d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/07/15 16:18 upstream 0c3836482481 efee4ed2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/07/03 06:10 upstream 734610514cb0 1ecfa2d8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/06/30 05:13 upstream 27b31deb900d 757f06b1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/06/22 01:32 upstream 66cc544fd75c c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/06/18 18:04 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/06/17 13:57 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/06/16 14:20 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/06/15 00:06 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/06/12 14:15 upstream 2ef5971ff345 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/06/05 02:38 upstream 32f88d65f01b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/06/04 10:26 upstream 2ab795141095 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/06/01 05:59 upstream d8ec19857b09 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
2024/05/20 23:37 upstream 6e51b4b5bbc0 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in shmem_evict_inode
* Struck through repros no longer work on HEAD.