syzbot


KCSAN: data-race in lo_ioctl / lo_ioctl (2)

Status: auto-obsoleted due to no activity on 2024/01/20 15:05
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+a54e507b9fa405371318@syzkaller.appspotmail.com
First crash: 408d, last: 408d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in lo_ioctl / lo_ioctl block 2 566d 593d 0/28 auto-obsoleted due to no activity on 2023/08/15 11:47

Sample crash report:
==================================================================
BUG: KCSAN: data-race in lo_ioctl / lo_ioctl

read-write to 0xffff8881005f0104 of 1 bytes by task 2990 on cpu 1:
 dev_set_uevent_suppress include/linux/device.h:938 [inline]
 loop_change_fd drivers/block/loop.c:638 [inline]
 lo_ioctl+0x124f/0x12e0 drivers/block/loop.c:1561
 blkdev_ioctl+0x375/0x460 block/ioctl.c:633
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl+0xcf/0x140 fs/ioctl.c:857
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:857
 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-write to 0xffff8881005f0104 of 1 bytes by task 2987 on cpu 0:
 dev_set_uevent_suppress include/linux/device.h:938 [inline]
 loop_change_fd drivers/block/loop.c:638 [inline]
 lo_ioctl+0x124f/0x12e0 drivers/block/loop.c:1561
 blkdev_ioctl+0x375/0x460 block/ioctl.c:633
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl+0xcf/0x140 fs/ioctl.c:857
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:857
 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

value changed: 0x17 -> 0x07

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 2987 Comm: syz-executor.1 Not tainted 6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/16 15:04 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in lo_ioctl / lo_ioctl
* Struck through repros no longer work on HEAD.