syzbot


KCSAN: data-race in loop_configure / loop_configure

Status: auto-closed as invalid on 2022/08/20 07:48
Subsystems: block
[Documentation on labels]
First crash: 649d, last: 649d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in loop_configure / loop_configure (2) block 3 556d 593d 0/26 auto-obsoleted due to no activity on 2022/11/21 10:52

Sample crash report:
loop3: detected capacity change from 0 to 1
loop3: detected capacity change from 0 to 1
==================================================================
BUG: KCSAN: data-race in loop_configure / loop_configure

read-write to 0xffff8881027bf144 of 1 bytes by task 22934 on cpu 1:
 dev_set_uevent_suppress include/linux/device.h:781 [inline]
 loop_configure+0x25b/0xc20 drivers/block/loop.c:1116
 lo_ioctl+0x641/0x1290
 blkdev_ioctl+0x20e/0x440 block/ioctl.c:614
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:856
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read-write to 0xffff8881027bf144 of 1 bytes by task 22929 on cpu 0:
 dev_set_uevent_suppress include/linux/device.h:781 [inline]
 loop_configure+0x25b/0xc20 drivers/block/loop.c:1116
 lo_ioctl+0x641/0x1290
 blkdev_ioctl+0x20e/0x440 block/ioctl.c:614
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:856
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x17 -> 0x07

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 22929 Comm: syz-executor.3 Not tainted 5.19.0-rc6-syzkaller-00364-g9b59ec8d50a1-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/07/16 07:45 upstream 9b59ec8d50a1 95cb00d1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in loop_configure / loop_configure
* Struck through repros no longer work on HEAD.