[moderation] [fs?] KCSAN: data-race in __writeback_single_inode / inode_io_list_del (11)

2 views
Skip to first unread message

syzbot

unread,
Dec 25, 2023, 3:54:22 AM12/25/23
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 861deac3b092 Linux 6.7-rc7
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10335776e80000
kernel config: https://syzkaller.appspot.com/x/.config?x=601ed47d1ac58cea
dashboard link: https://syzkaller.appspot.com/bug?extid=eb94f6d5b59ca16f56b4
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
CC: [bra...@kernel.org linux-...@vger.kernel.org linux-...@vger.kernel.org vi...@zeniv.linux.org.uk]

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/4abf00141734/disk-861deac3.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/5aa12aac6105/vmlinux-861deac3.xz
kernel image: https://storage.googleapis.com/syzbot-assets/a440baa56767/bzImage-861deac3.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+eb94f6...@syzkaller.appspotmail.com

==================================================================
BUG: KCSAN: data-race in __writeback_single_inode / inode_io_list_del

read-write to 0xffff88810673a1b0 of 8 bytes by task 29753 on cpu 0:
inode_io_list_del+0x52/0x1d0 fs/fs-writeback.c:1264
evict+0xad/0x410 fs/inode.c:653
iput_final fs/inode.c:1777 [inline]
iput+0x42c/0x5b0 fs/inode.c:1803
d_delete_notify include/linux/fsnotify.h:262 [inline]
vfs_rmdir+0x274/0x2f0 fs/namei.c:4202
do_rmdir+0x194/0x320 fs/namei.c:4248
__do_sys_unlinkat fs/namei.c:4424 [inline]
__se_sys_unlinkat fs/namei.c:4418 [inline]
__x64_sys_unlinkat+0xa4/0xb0 fs/namei.c:4418
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff88810673a1b0 of 8 bytes by task 18957 on cpu 1:
__writeback_single_inode+0x48/0x860 fs/fs-writeback.c:1621
writeback_sb_inodes+0x514/0xad0 fs/fs-writeback.c:1916
wb_writeback+0x252/0x6e0 fs/fs-writeback.c:2092
wb_do_writeback fs/fs-writeback.c:2239 [inline]
wb_workfn+0x1a8/0x8d0 fs/fs-writeback.c:2279
process_one_work kernel/workqueue.c:2627 [inline]
process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2700
worker_thread+0x525/0x730 kernel/workqueue.c:2781
kthread+0x1d7/0x210 kernel/kthread.c:388
ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242

value changed: 0x0000000000020081 -> 0x00000000000000a1

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 18957 Comm: kworker/u4:11 Not tainted 6.7.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: writeback wb_workfn (flush-8:0)
==================================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jan 29, 2024, 3:54:18 AMJan 29
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages