syzbot
WARNING in file_remove_privs_flags
Status:
moderation: reported on 2026/05/12 16:39
Subsystems:
fs
Labels:
prio:low
[Documentation on labels]
Reported-by: syzbot+bc273027d5643e48e5b3@syzkaller.appspotmail.com
First crash: 149d, last: 3d22h
Sample crash report:
------------[ cut here ]------------
d_inode(dentry) != file_inode(file)
WARNING: ./include/linux/fs.h:1363 at file_dentry include/linux/fs.h:1363 [inline], CPU#0: kworker/u8:6/148
WARNING: ./include/linux/fs.h:1363 at file_remove_privs_flags+0x556/0x610 fs/inode.c:2373, CPU#0: kworker/u8:6/148
Modules linked in:
CPU: 0 UID: 0 PID: 148 Comm: kworker/u8:6 Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Workqueue: loop5 loop_workfn
RIP: 0010:file_dentry include/linux/fs.h:1363 [inline]
RIP: 0010:file_remove_privs_flags+0x556/0x610 fs/inode.c:2373
Code: 00 75 4d 44 89 e8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 cb 23 12 09 cc e8 b5 ad 7c ff e9 a5 fe ff ff e8 ab ad 7c ff 90 <0f> 0b 90 e9 b0 fb ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c d9
RSP: 0000:ffffc9000422f480 EFLAGS: 00010293
RAX: ffffffff824a1665 RBX: ffff888031a14ea0 RCX: ffff888020babe80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000422f5d8 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1f64570 R12: 0000000000000000
R13: 1ffff110063429d4 R14: 1ffff1100c0788b2 R15: 1ffff92000845e9c
FS: 0000000000000000(0000) GS:ffff888125bc4000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f25dd370000 CR3: 000000001155c000 CR4: 00000000003526f0
Call Trace:
<TASK>
shmem_file_write_iter+0xaa/0x120 mm/shmem.c:3437
lo_rw_aio+0xc78/0xf30 include/linux/percpu-rwsem.h:-1
do_req_filebacked drivers/block/loop.c:430 [inline]
loop_handle_cmd drivers/block/loop.c:1949 [inline]
loop_process_work+0x638/0x11d0 drivers/block/loop.c:1984
process_one_work kernel/workqueue.c:3396 [inline]
process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479
worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560
kthread+0x38b/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
* Struck through repros no longer work on HEAD.