syzbot


KMSAN: uninit-value in nci_ntf_packet (3)

Status: upstream: reported C repro on 2024/06/16 13:15
Subsystems: net nfc
[Documentation on labels]
Reported-by: syzbot+3f8fa0edaa75710cd66e@syzkaller.appspotmail.com
First crash: 444d, last: 1d04h
Discussions (9)
Title Replies (including bot) Last reply
[syzbot] Monthly nfc report (Aug 2025) 0 (1) 2025/08/08 12:35
[syzbot] Monthly nfc report (Jul 2025) 0 (1) 2025/07/08 13:41
[syzbot] Monthly nfc report (Jun 2025) 0 (1) 2025/06/08 17:33
[syzbot] Monthly nfc report (Mar 2025) 0 (1) 2025/03/04 15:15
[syzbot] Monthly nfc report (Dec 2024) 0 (1) 2025/01/02 13:21
[PATCH] nfc/nci: Fix uninit-value issue in nci_ntf_packet 3 (3) 2024/10/16 08:35
[syzbot] [net?] [nfc?] KMSAN: uninit-value in nci_ntf_packet (3) 1 (4) 2024/10/12 18:00
[syzbot] Monthly nfc report (Sep 2024) 0 (1) 2024/09/17 21:51
[syzbot] Monthly nfc report (Aug 2024) 0 (1) 2024/08/19 07:39
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in nci_ntf_packet net nfc 7 C 79 466d 607d 25/29 fixed on 2024/05/22 23:16
upstream KMSAN: uninit-value in nci_ntf_packet (2) net nfc 7 C 13 447d 460d 25/29 fixed on 2024/06/11 03:41
Last patch testing requests (7)
Created Duration User Patch Repo Result
2025/05/21 06:43 23m retest repro upstream report log
2025/04/21 07:31 42m retest repro upstream report log
2025/03/11 11:19 23m retest repro upstream report log
2025/02/10 05:57 21m retest repro upstream report log
2024/12/30 03:26 27m retest repro upstream report log
2024/10/21 00:03 21m retest repro upstream report log
2024/10/12 14:16 32m qianqiang.liu@163.com patch upstream OK log

Sample crash report:
nci: nci_add_new_protocol: the target found does not have the desired protocol
nci: nci_add_new_protocol: the target found does not have the desired protocol
nci: nci_add_new_protocol: the target found does not have the desired protocol
=====================================================
BUG: KMSAN: uninit-value in nci_rf_discover_ntf_packet net/nfc/nci/ntf.c:386 [inline]
BUG: KMSAN: uninit-value in nci_ntf_packet+0x2b0b/0x42b0 net/nfc/nci/ntf.c:828
 nci_rf_discover_ntf_packet net/nfc/nci/ntf.c:386 [inline]
 nci_ntf_packet+0x2b0b/0x42b0 net/nfc/nci/ntf.c:828
 nci_rx_work+0x403/0x750 net/nfc/nci/core.c:1555
 process_one_work kernel/workqueue.c:3236 [inline]
 process_scheduled_works+0xb91/0x1d80 kernel/workqueue.c:3319
 worker_thread+0xedf/0x1590 kernel/workqueue.c:3400
 kthread+0xd59/0xf00 kernel/kthread.c:463
 ret_from_fork+0x1e3/0x310 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Uninit was stored to memory at:
 nci_rf_discover_ntf_packet net/nfc/nci/ntf.c:380 [inline]
 nci_ntf_packet+0x1f6e/0x42b0 net/nfc/nci/ntf.c:828
 nci_rx_work+0x403/0x750 net/nfc/nci/core.c:1555
 process_one_work kernel/workqueue.c:3236 [inline]
 process_scheduled_works+0xb91/0x1d80 kernel/workqueue.c:3319
 worker_thread+0xedf/0x1590 kernel/workqueue.c:3400
 kthread+0xd59/0xf00 kernel/kthread.c:463
 ret_from_fork+0x1e3/0x310 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Uninit was created at:
 slab_post_alloc_hook mm/slub.c:4186 [inline]
 slab_alloc_node mm/slub.c:4229 [inline]
 kmem_cache_alloc_node_noprof+0x818/0xf00 mm/slub.c:4281
 kmalloc_reserve+0x13c/0x4b0 net/core/skbuff.c:578
 __alloc_skb+0x347/0x7d0 net/core/skbuff.c:669
 alloc_skb include/linux/skbuff.h:1336 [inline]
 virtual_ncidev_write+0x6b/0x430 drivers/nfc/virtual_ncidev.c:120
 vfs_write+0x48a/0x15d0 fs/read_write.c:684
 ksys_write fs/read_write.c:738 [inline]
 __do_sys_write fs/read_write.c:749 [inline]
 __se_sys_write fs/read_write.c:746 [inline]
 __x64_sys_write+0x1fb/0x4d0 fs/read_write.c:746
 x64_sys_call+0x3014/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

CPU: 1 UID: 0 PID: 3584 Comm: kworker/u8:13 Not tainted 6.17.0-rc1-syzkaller-00199-gdfd4b508c8c6 #0 PREEMPT(none) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: nfc2_nci_rx_wq nci_rx_work
=====================================================

Crashes (102):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/16 12:52 upstream dfd4b508c8c6 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/01/26 13:29 upstream aa22f4da2a46 9fbd772e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2024/10/06 23:19 upstream 8f602276d390 d7906eff .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/29 09:27 upstream 07d9df80082b 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/26 21:21 upstream fab1beda7597 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/26 21:21 upstream fab1beda7597 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/25 08:28 upstream 69fd6b99b8f8 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/23 11:28 upstream 6debb6904172 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/21 10:54 upstream 41cd3fd15263 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/21 04:18 upstream 41cd3fd15263 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/19 19:03 upstream be48bcf004f9 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/19 09:20 upstream be48bcf004f9 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/17 14:55 upstream 99bade344cfa 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/16 10:40 upstream dfd4b508c8c6 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/14 12:10 upstream 0cc53520e68b 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/11 07:54 upstream 8f5ae30d69d7 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/08 16:58 upstream bec077162bd0 987b750d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/08 03:18 upstream 6e64f4580381 6a893178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/08/05 07:00 upstream d632ab86aff2 abdcb213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/27 23:49 upstream ec2df4364666 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/23 07:46 upstream 89be9a83ccf1 e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/22 03:56 upstream 89be9a83ccf1 0b3788a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/22 02:23 upstream 89be9a83ccf1 0b3788a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/22 00:50 upstream 89be9a83ccf1 0b3788a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/21 05:52 upstream 89be9a83ccf1 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/20 16:32 upstream f4a40a4282f4 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/20 01:49 upstream bf61759db409 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/19 13:42 upstream 4871b7cb27f4 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/17 10:00 upstream e2291551827f 44f8051e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/15 15:14 upstream 155a3c003e55 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/12 15:28 upstream 379f604cc3dc 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/12 00:34 upstream 40f92e79b0aa 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/07/01 01:35 upstream d0b3b7b22dfa 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/06/30 08:11 upstream d0b3b7b22dfa fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/06/29 14:33 upstream dfba48a70cb6 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/06/28 12:01 upstream 35e261cd95dd fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/06/27 16:46 upstream 67a993863163 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/06/21 20:57 upstream 3f75bfff44be d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/06/20 17:45 upstream 75f5f23f8787 e3003213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/06/18 09:00 upstream 52da431bf03b e77fae15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/06/17 13:08 upstream 9afe652958c3 417d98fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/06/15 23:12 upstream 08215f5486ec 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/06/14 01:32 upstream 02adc1490e6d 0e8da31f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/06/07 08:40 upstream 7a912d04415b 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/05/07 03:27 upstream 02ddfb981de8 350f4ffc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2025/02/25 10:25 upstream d082ecbc71e9 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2024/06/12 14:12 upstream 614da38e2f7a 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
2024/06/12 13:12 upstream 614da38e2f7a 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in nci_ntf_packet
* Struck through repros no longer work on HEAD.