[moderation] [fs?] KCSAN: data-race in pipe_lock / pipe_release (13)

1 view
Skip to first unread message

syzbot

unread,
Feb 18, 2024, 11:35:18 PMFeb 18
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: b401b621758e Linux 6.8-rc5
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=169298b4180000
kernel config: https://syzkaller.appspot.com/x/.config?x=7507056e4ee79a
dashboard link: https://syzkaller.appspot.com/bug?extid=e4fd2021fa9d8c3b8ac9
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
CC: [bra...@kernel.org ja...@suse.cz 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/292988b16d14/disk-b401b621.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/87ac90addfde/vmlinux-b401b621.xz
kernel image: https://storage.googleapis.com/syzbot-assets/f1b26db595a7/bzImage-b401b621.xz

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

==================================================================
BUG: KCSAN: data-race in pipe_lock / pipe_release

read-write to 0xffff888138244eac of 4 bytes by task 25618 on cpu 1:
put_pipe_info fs/pipe.c:722 [inline]
pipe_release+0x164/0x1c0 fs/pipe.c:752
__fput+0x299/0x630 fs/file_table.c:376
__fput_sync+0x44/0x50 fs/file_table.c:461
__do_sys_close fs/open.c:1554 [inline]
__se_sys_close+0xfa/0x1a0 fs/open.c:1539
__x64_sys_close+0x1f/0x30 fs/open.c:1539
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff888138244eac of 4 bytes by task 25620 on cpu 0:
pipe_lock_nested fs/pipe.c:81 [inline]
pipe_lock+0x17/0x40 fs/pipe.c:90
ipipe_prep fs/splice.c:1677 [inline]
splice_pipe_to_pipe fs/splice.c:1752 [inline]
do_splice+0x200/0x10d0 fs/splice.c:1331
__do_splice fs/splice.c:1436 [inline]
__do_sys_splice fs/splice.c:1652 [inline]
__se_sys_splice+0x24c/0x380 fs/splice.c:1634
__x64_sys_splice+0x78/0x90 fs/splice.c:1634
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00000002 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 25620 Comm: syz-executor.1 Not tainted 6.8.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================


---
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,
Mar 25, 2024, 12:35:15 AMMar 25
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