KCSAN: data-race in lbmIODone / lbmRead

5 views
Skip to first unread message

syzbot

unread,
Dec 7, 2020, 6:34:11 AM12/7/20
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 32f741b0 Merge tag 'powerpc-5.10-5' of git://git.kernel.or..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15652823500000
kernel config: https://syzkaller.appspot.com/x/.config?x=c949fed53798f819
dashboard link: https://syzkaller.appspot.com/bug?extid=373a4d46af1e75b33362
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project.git 913f6005669cfb590c99865a90bc51ed0983d09d)
CC: [jfs-dis...@lists.sourceforge.net linux-...@vger.kernel.org sha...@kernel.org]

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

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

==================================================================
BUG: KCSAN: data-race in lbmIODone / lbmRead

read-write to 0xffff88810d83ce08 of 4 bytes by interrupt on cpu 1:
lbmIODone+0x48/0xa70 fs/jfs/jfs_logmgr.c:2193
bio_endio+0x28b/0x350 block/bio.c:1450
req_bio_endio block/blk-core.c:263 [inline]
blk_update_request+0x4d5/0xb00 block/blk-core.c:1467
blk_mq_end_request+0x22/0x50 block/blk-mq.c:562
lo_complete_rq+0xca/0x180 drivers/block/loop.c:501
blk_done_softirq+0x145/0x190 block/blk-mq.c:586
__do_softirq+0x12c/0x2b1 kernel/softirq.c:298
run_ksoftirqd+0x13/0x20 kernel/softirq.c:653
smpboot_thread_fn+0x34f/0x520 kernel/smpboot.c:165
kthread+0x1fd/0x220 kernel/kthread.c:292
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

read to 0xffff88810d83ce08 of 4 bytes by task 9600 on cpu 0:
lbmRead+0x27f/0x320 fs/jfs/jfs_logmgr.c:2001
lmLogInit+0x5e9/0xaf0 fs/jfs/jfs_logmgr.c:1342
open_inline_log fs/jfs/jfs_logmgr.c:1183 [inline]
lmLogOpen+0x2db/0x8f0 fs/jfs/jfs_logmgr.c:1077
jfs_mount_rw+0x7c/0x270 fs/jfs/jfs_mount.c:259
jfs_fill_super+0x363/0x570 fs/jfs/super.c:571
mount_bdev+0x1e2/0x280 fs/super.c:1419
jfs_do_mount+0x2d/0x40 fs/jfs/super.c:676
legacy_get_tree+0x70/0xc0 fs/fs_context.c:592
vfs_get_tree+0x4a/0x190 fs/super.c:1549
do_new_mount fs/namespace.c:2875 [inline]
path_mount+0x119d/0x1c10 fs/namespace.c:3205
do_mount fs/namespace.c:3218 [inline]
__do_sys_mount fs/namespace.c:3426 [inline]
__se_sys_mount+0x23d/0x2e0 fs/namespace.c:3403
__x64_sys_mount+0x63/0x70 fs/namespace.c:3403
do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 9600 Comm: syz-executor.1 Not tainted 5.10.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================


---
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.

syzbot

unread,
May 19, 2021, 10:18:15 PM5/19/21
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