syzbot


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

Status: auto-obsoleted due to no activity on 2023/08/06 14:55
Subsystems: nfc net
[Documentation on labels]
First crash: 788d, last: 788d
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in virtual_nci_send / virtual_ncidev_read net nfc 6 1 932d 932d 0/29 auto-obsoleted due to no activity on 2023/04/06 05:19
upstream KCSAN: data-race in virtual_nci_send / virtual_ncidev_read (2) net nfc 6 1 864d 864d 0/29 auto-obsoleted due to no activity on 2023/05/22 16:11
upstream KCSAN: data-race in virtual_nci_send / virtual_ncidev_read (5) net nfc 6 3 595d 618d 0/29 auto-obsoleted due to no activity on 2024/02/15 22:13
upstream KCSAN: data-race in virtual_nci_send / virtual_ncidev_read (4) net nfc 6 5 677d 734d 0/29 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 0xffff8881391b3f28 of 8 bytes by task 1474 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+0x434/0x860 kernel/workqueue.c:2597
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2748
 kthread+0x1d7/0x210 kernel/kthread.c:389
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read to 0xffff8881391b3f28 of 8 bytes by task 5986 on cpu 1:
 virtual_ncidev_read+0xd4/0x2b0 drivers/nfc/virtual_ncidev.c:86
 vfs_read+0x19f/0x5c0 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 -> 0xffff88813ab6aa00

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 5986 Comm: syz-executor.3 Not tainted 6.4.0-syzkaller-10096-gdfab92f27c60 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/02 14:51 upstream dfab92f27c60 bfc47836 .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.