syzbot


KCSAN: data-race in virtual_nci_send / virtual_ncidev_read

Status: auto-obsoleted due to no activity on 2023/04/06 05:19
Subsystems: net nfc
[Documentation on labels]
First crash: 719d, last: 719d
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 (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 (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 0xffff888129d9e228 of 8 bytes by task 9239 on cpu 1:
 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:2289
 worker_thread+0x5ef/0xa10 kernel/workqueue.c:2436
 kthread+0x1ac/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read to 0xffff888129d9e228 of 8 bytes by task 10556 on cpu 0:
 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 -> 0xffff88810490c000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 10556 Comm: syz-executor.5 Tainted: G        W          6.2.0-rc7-syzkaller-00018-g0983f6bf2bfc-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/09 05:06 upstream 0983f6bf2bfc 14a312c8 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in virtual_nci_send / virtual_ncidev_read
* Struck through repros no longer work on HEAD.