syzbot


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

Status: auto-obsoleted due to no activity on 2023/11/26 09:27
Subsystems: nfc net
[Documentation on labels]
First crash: 521d, last: 464d
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 (5) net nfc 3 383d 406d 0/28 auto-obsoleted due to no activity on 2024/02/15 22:13

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

write to 0xffff88811f93e208 of 8 bytes by task 2085 on cpu 1:
 virtual_nci_send+0x84/0xe0 drivers/nfc/virtual_ncidev.c:58
 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:2630 [inline]
 process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2703
 worker_thread+0x525/0x730 kernel/workqueue.c:2784
 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:304

read to 0xffff88811f93e208 of 8 bytes by task 14412 on cpu 0:
 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 -> 0xffff888121fd4300

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 14412 Comm: syz-executor.5 Not tainted 6.6.0-rc6-syzkaller-00334-g1acfd2bd3f0d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/22 09:24 upstream 1acfd2bd3f0d 361b23dc .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/10/12 05:58 upstream 8182d7a3f1b8 83165b57 .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/09/13 07:27 upstream 3669558bdf35 59da8366 .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/08/27 06:52 upstream 3b35375f19fe 7ba13a15 .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/08/25 23:47 upstream 382d4cd18475 03d9c195 .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.