syzbot |
sign-in | mailing list | source | docs |
================================================================== BUG: KCSAN: data-race in sg_open / sg_release write to 0xffff888101ee7128 of 4 bytes by task 2073 on cpu 1: sg_release+0x21b/0x2c0 drivers/scsi/sg.c:395 __fput+0x295/0x520 fs/file_table.c:311 ____fput+0x11/0x20 fs/file_table.c:344 task_work_run+0x8e/0x110 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x160/0x190 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300 do_syscall_64+0x50/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888101ee7128 of 4 bytes by task 2224 on cpu 0: open_wait drivers/scsi/sg.c:254 [inline] sg_open+0x5a5/0xe00 drivers/scsi/sg.c:337 chrdev_open+0x362/0x3d0 fs/char_dev.c:414 do_dentry_open+0x52c/0x860 fs/open.c:824 vfs_open+0x43/0x50 fs/open.c:959 do_open fs/namei.c:3476 [inline] path_openat+0x170c/0x1f30 fs/namei.c:3609 do_filp_open+0x105/0x220 fs/namei.c:3636 do_sys_openat2+0xb5/0x2b0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000001 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2224 Comm: syz-executor.1 Not tainted 5.17.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2022/01/26 20:27 | upstream | 0280e3c58f92 | 2cbffd88 | .config | console log | report | info | ci2-upstream-kcsan-gce | KCSAN: data-race in sg_open / sg_release |