syzbot


WARNING in shmem_evict_inode

Status: upstream: reported C repro on 2024/10/21 21:43
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+049b3f936188dae3be17@syzkaller.appspotmail.com
First crash: 46d, last: 21d
Bug presence (2)
Date Name Commit Repro Result
2024/11/15 linux-6.1.y (ToT) 59d7b1a7104a C [report] WARNING in shmem_evict_inode
2024/10/30 upstream (ToT) c1e939a21eb1 C Didn't crash
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in shmem_evict_inode (2) mm 5 322d 430d 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 539d 697d 0/28 auto-obsoleted due to no activity on 2023/09/25 00:58
upstream WARNING in shmem_evict_inode (3) mm 20 59d 196d 0/28 upstream: reported on 2024/05/24 23:40

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4459 at mm/shmem.c:1193 shmem_evict_inode+0xa22/0xa60
Modules linked in:
CPU: 1 PID: 4459 Comm: syz-executor386 Not tainted 6.1.114-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:shmem_evict_inode+0xa22/0xa60 mm/shmem.c:1193
Code: 00 00 48 3b 84 24 e0 00 00 00 75 4b 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 c8 6b c5 ff e9 12 fe ff ff e8 be 6b c5 ff <0f> 0b e9 d6 fe ff ff 48 c7 c1 40 7b 3e 8d 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc900047d78a0 EFLAGS: 00010293
RAX: ffffffff81c527a2 RBX: ffffffffffffff98 RCX: ffff88807e13d940
RDX: 0000000000000000 RSI: ffffffffffffff98 RDI: 0000000000000000
RBP: ffffc900047d79d0 R08: ffffffff81c52671 R09: fffff520008faf05
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801ef2c6d8
R13: ffff88801ef2c6b0 R14: ffff88801ef2c640 R15: ffff88801ef2c5e8
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc84f32948 CR3: 000000001a6f5000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 evict+0x529/0x930 fs/inode.c:701
 __dentry_kill+0x436/0x650 fs/dcache.c:611
 dentry_kill+0xbb/0x290
 dput+0xfb/0x1d0 fs/dcache.c:918
 __fput+0x62e/0x8d0 fs/file_table.c:328
 task_work_run+0x246/0x300 kernel/task_work.c:203
 exit_task_work include/linux/task_work.h:39 [inline]
 do_exit+0xa73/0x26a0 kernel/exit.c:871
 do_group_exit+0x202/0x2b0 kernel/exit.c:1021
 __do_sys_exit_group kernel/exit.c:1032 [inline]
 __se_sys_exit_group kernel/exit.c:1030 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1030
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f8cf1c14ee9
Code: Unable to access opcode bytes at 0x7f8cf1c14ebf.
RSP: 002b:00007ffc84f329e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8cf1c14ee9
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 00007f8cf1c983b0 R08: ffffffffffffffb0 R09: 00007ffc84f32b00
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8cf1c983b0
R13: 0000000000000000 R14: 00007f8cf1c9b000 R15: 00007f8cf1bd7ca0
 </TASK>

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/28 04:24 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in shmem_evict_inode
2024/10/28 11:45 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in shmem_evict_inode
2024/10/28 09:32 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in shmem_evict_inode
2024/10/27 22:39 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in shmem_evict_inode
2024/10/27 17:34 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in shmem_evict_inode
2024/11/04 04:40 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in shmem_evict_inode
2024/10/21 21:42 linux-6.1.y 54d90d17e8ce f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in shmem_evict_inode
* Struck through repros no longer work on HEAD.