[moderation] [kernel?] KCSAN: data-race in do_mq_timedreceive / do_mq_timedreceive

0 views
Skip to first unread message

syzbot

unread,
Mar 21, 2024, 4:18:27 AMMar 21
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: dba89d1b81df Merge tag 'docs-6.9-2' of git://git.lwn.net/l..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=12fc1531180000
kernel config: https://syzkaller.appspot.com/x/.config?x=8e033e6bf1fa349a
dashboard link: https://syzkaller.appspot.com/bug?extid=a0e694e8028ad532d47c
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
CC: [linux-...@vger.kernel.org]

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/4bfd121c5b45/disk-dba89d1b.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/e1b090399db0/vmlinux-dba89d1b.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3fe63dba9796/bzImage-dba89d1b.xz

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

==================================================================
BUG: KCSAN: data-race in do_mq_timedreceive / do_mq_timedreceive

write to 0xffff888100e68dd8 of 8 bytes by task 6195 on cpu 1:
do_mq_timedreceive+0x289/0x6e0 ipc/mqueue.c:1238
__do_sys_mq_timedreceive ipc/mqueue.c:1308 [inline]
__se_sys_mq_timedreceive ipc/mqueue.c:1297 [inline]
__x64_sys_mq_timedreceive+0xca/0x150 ipc/mqueue.c:1297
do_syscall_64+0xd3/0x1d0
entry_SYSCALL_64_after_hwframe+0x6d/0x75

read to 0xffff888100e68dd8 of 8 bytes by task 6198 on cpu 0:
do_mq_timedreceive+0x207/0x6e0 ipc/mqueue.c:1230
__do_sys_mq_timedreceive ipc/mqueue.c:1308 [inline]
__se_sys_mq_timedreceive ipc/mqueue.c:1297 [inline]
__x64_sys_mq_timedreceive+0xca/0x150 ipc/mqueue.c:1297
do_syscall_64+0xd3/0x1d0
entry_SYSCALL_64_after_hwframe+0x6d/0x75

value changed: 0x0000000000000000 -> 0xffff88815ef42d80

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 6198 Comm: syz-executor.2 Tainted: G W 6.8.0-syzkaller-11752-gdba89d1b81df #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/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,
Apr 25, 2024, 4:18:16 AM (2 days ago) Apr 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