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: 25d, last: 4h58m
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 (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in shmem_evict_inode (2) mm 5 147d 254d 0/27 auto-obsoleted due to no activity on 2024/04/28 17:43
upstream WARNING in shmem_evict_inode mm syz done unreliable 4 364d 522d 0/27 auto-obsoleted due to no activity on 2023/09/25 00:58

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5336 at mm/shmem.c:1265 shmem_evict_inode+0x8a1/0xbb0 mm/shmem.c:1265
Modules linked in:
CPU: 0 PID: 5336 Comm: syz-executor.0 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:shmem_evict_inode+0x8a1/0xbb0 mm/shmem.c:1265
Code: e6 e8 e3 e5 c1 ff 45 85 e4 75 aa e8 d9 ea c1 ff 48 8b 74 24 28 48 8b 7c 24 30 e8 0a 60 9c ff e9 1a fe ff ff e8 c0 ea c1 ff 90 <0f> 0b 90 e9 9f f9 ff ff e8 b2 ea c1 ff 4c 89 e2 48 b8 00 00 00 00
RSP: 0018:ffffc9000362f828 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888029632f70 RCX: ffffffff81cc9eaf
RDX: ffff88801a6ec880 RSI: ffffffff81cca510 RDI: 0000000000000007
RBP: ffffc9000362f958 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000008 R11: 0000000000000000 R12: 0000000000000008
R13: 0000000000000000 R14: ffff888029632fa0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88802c000000(0000) knlGS:0000000000000000
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f7ff8ea0 CR3: 00000000481d0000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 evict+0x2ed/0x6c0 fs/inode.c:667
 iput_final fs/inode.c:1741 [inline]
 iput.part.0+0x5a8/0x7f0 fs/inode.c:1767
 iput+0x5c/0x80 fs/inode.c:1757
 dentry_unlink_inode+0x295/0x480 fs/dcache.c:400
 __dentry_kill+0x1d0/0x600 fs/dcache.c:603
 dput.part.0+0x4b1/0x9b0 fs/dcache.c:845
 dput+0x1f/0x30 fs/dcache.c:835
 __fput+0x54e/0xbb0 fs/file_table.c:430
 task_work_run+0x14e/0x250 kernel/task_work.c:180
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xa9b/0x2ba0 kernel/exit.c:874
 do_group_exit+0xd3/0x2a0 kernel/exit.c:1023
 get_signal+0x25c3/0x2670 kernel/signal.c:2909
 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310
 exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x14a/0x2a0 kernel/entry/common.c:218
 __do_fast_syscall_32+0x80/0x120 arch/x86/entry/common.c:389
 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf7255579
Code: Unable to access opcode bytes at 0xf725554f.
RSP: 002b:00000000f5e2665c EFLAGS: 00000292 ORIG_RAX: 00000000000000f0
RAX: fffffffffffffe00 RBX: 00000000f73d2050 RCX: 0000000000000080
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000f73d2054
RBP: 0000000000000081 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.