syzbot


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

Status: auto-obsoleted due to no activity on 2023/05/22 16:11
Subsystems: nfc net
[Documentation on labels]
First crash: 652d, last: 652d
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 (5) net nfc 3 383d 406d 0/28 auto-obsoleted due to no activity on 2024/02/15 22:13
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 0xffff88813856a1a8 of 8 bytes by task 3432 on cpu 0:
 virtual_nci_send+0x84/0xe0 drivers/nfc/virtual_ncidev.c:58
 nci_send_frame net/nfc/nci/core.c:1347 [inline]
 nci_cmd_work+0x15c/0x1a0 net/nfc/nci/core.c:1567
 process_one_work+0x3e6/0x750 kernel/workqueue.c:2390
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2537
 kthread+0x1a6/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read to 0xffff88813856a1a8 of 8 bytes by task 6154 on cpu 1:
 virtual_ncidev_read+0x90/0x2b0 drivers/nfc/virtual_ncidev.c:86
 vfs_read+0x192/0x560 fs/read_write.c:468
 ksys_read+0xeb/0x1a0 fs/read_write.c:613
 __do_sys_read fs/read_write.c:623 [inline]
 __se_sys_read fs/read_write.c:621 [inline]
 __x64_sys_read+0x42/0x50 fs/read_write.c:621
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000000000000000 -> 0xffff88810487e300

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 6154 Comm: syz-executor.4 Not tainted 6.3.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
==================================================================
nci: __nci_request: wait_for_completion_interruptible_timeout failed -512
nci: nci_start_poll: failed to set local general bytes

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/17 16:04 upstream 6a8f57ae2eb0 c6ec7083 .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.