syzbot


KCSAN: data-race in virtual_nci_send / virtual_ncidev_read (5)

Status: auto-obsoleted due to no activity on 2024/02/15 22:13
Subsystems: net nfc
[Documentation on labels]
First crash: 405d, last: 383d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in virtual_nci_send / virtual_ncidev_read (3) net nfc 1 576d 576d 0/28 auto-obsoleted due to no activity on 2023/08/06 14:55
upstream KCSAN: data-race in virtual_nci_send / virtual_ncidev_read net nfc 1 719d 719d 0/28 auto-obsoleted due to no activity on 2023/04/06 05:19
upstream KCSAN: data-race in virtual_nci_send / virtual_ncidev_read (2) nfc net 1 652d 652d 0/28 auto-obsoleted due to no activity on 2023/05/22 16:11
upstream KCSAN: data-race in virtual_nci_send / virtual_ncidev_read (4) nfc net 5 464d 521d 0/28 auto-obsoleted due to no activity on 2023/11/26 09:27

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

write to 0xffff888136d13088 of 8 bytes by task 48 on cpu 0:
 virtual_nci_send+0xa7/0x100 drivers/nfc/virtual_ncidev.c:63
 nci_send_frame net/nfc/nci/core.c:1352 [inline]
 nci_cmd_work+0x15c/0x1a0 net/nfc/nci/core.c:1572
 process_one_work kernel/workqueue.c:2633 [inline]
 process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2706
 worker_thread+0x525/0x730 kernel/workqueue.c:2787
 kthread+0x1d7/0x210 kernel/kthread.c:388
 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242

read to 0xffff888136d13088 of 8 bytes by task 18819 on cpu 1:
 virtual_ncidev_read+0x90/0x2b0 drivers/nfc/virtual_ncidev.c:91
 vfs_read+0x141/0x480 fs/read_write.c:474
 ksys_read+0xeb/0x1a0 fs/read_write.c:619
 __do_sys_read fs/read_write.c:629 [inline]
 __se_sys_read fs/read_write.c:627 [inline]
 __x64_sys_read+0x42/0x50 fs/read_write.c:627
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x0000000000000000 -> 0xffff8881428b6c00

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

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/11 22:09 upstream 3e7aeb78ab01 dda5a988 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in virtual_nci_send / virtual_ncidev_read
2023/12/20 22:18 upstream 1a44b0073b92 de21eb89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in virtual_nci_send / virtual_ncidev_read
2023/12/19 22:39 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in virtual_nci_send / virtual_ncidev_read
* Struck through repros no longer work on HEAD.