Description
In the Linux kernel, the following vulnerability has been resolved:

nfc: nci: free skb on nci_transceive early error paths

nci_transceive() takes ownership of the skb passed by the caller,
but the -EPROTO, -EINVAL, and -EBUSY error paths return without
freeing it.

Due to issues clearing NCI_DATA_EXCHANGE fixed by subsequent changes
the nci/nci_dev selftest hits the error path occasionally in NIPA,
and kmemleak detects leaks:

unreferenced object 0xff11000015ce6a40 (size 640):
comm "nci_dev", pid 3954, jiffies 4295441246
hex dump (first 32 bytes):
6b 6b 6b 6b 00 a4 00 0c 02 e1 03 6b 6b 6b 6b 6b kkkk.......kkkkk
6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
backtrace (crc 7c40cc2a):
kmem_cache_alloc_node_noprof+0x492/0x630
__alloc_skb+0x11e/0x5f0
alloc_skb_with_frags+0xc6/0x8f0
sock_alloc_send_pskb+0x326/0x3f0
nfc_alloc_send_skb+0x94/0x1d0
rawsock_sendmsg+0x162/0x4c0
do_syscall_64+0x117/0xfc0
Published: 2026-03-25
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Memory Leak (Resource Exhaustion)
Action: Immediate Patch
AI Analysis

Impact

The flaw resides in the Linux kernel’s NFC NCI subsystem. In nci_transceive() the socket buffer passed by the caller is owned, but when the function returns due to protocol, input validation, or busy errors the buffer is not freed. This omission creates a memory leak that kmemleak reports as an unreleased object. The issue exemplifies CWE‑772, unaligned resource release, and can permit an attacker to exhaust system memory over time, potentially destabilizing the system or causing crashes.

Affected Systems

The vulnerability is in the core Linux kernel, specifically the NFC NCI driver component. Any Linux kernel build that contains the unpatched nci_driver is affected; versions prior to the commit that introduces the fix are vulnerable. Since the description mentions the nci_dev selftest and NIPA, modules that enable NFC for embedded devices are impacted. Users should verify whether their kernel version predates the patch and consider the system at risk.

Risk and Exploitability

The EPSS score indicates a likelihood of less than 1% for exploitation, and the flaw is not listed in the CISA KEV catalog, implying limited active targeting. Exploitation would require triggering the error paths, for example by sending malformed NFC frames or exercising the NIPA selftest. An attacker with sufficient local or device-level access could repeatedly invoke the path, steadily depleting system memory. While no remote code execution is possible, persistent memory exhaustion can lead to a denial‑of‑service condition.

Generated by OpenCVE AI on March 26, 2026 at 13:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the patch for nci_transceive early error paths.
  • If the patch is not yet available, disable the NFC NCI driver (nci_dev) or block access to NFC devices to prevent interaction.
  • Monitor system memory usage and run kmemleak to detect any unreleased buffers.
  • Disable or limit the use of NIPA selftest or related functionality that triggers the error path if possible.

Generated by OpenCVE AI on March 26, 2026 at 13:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 18 Apr 2026 09:15:00 +0000


Thu, 26 Mar 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Thu, 26 Mar 2026 00:15:00 +0000


Wed, 25 Mar 2026 22:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Wed, 25 Mar 2026 10:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nfc: nci: free skb on nci_transceive early error paths nci_transceive() takes ownership of the skb passed by the caller, but the -EPROTO, -EINVAL, and -EBUSY error paths return without freeing it. Due to issues clearing NCI_DATA_EXCHANGE fixed by subsequent changes the nci/nci_dev selftest hits the error path occasionally in NIPA, and kmemleak detects leaks: unreferenced object 0xff11000015ce6a40 (size 640): comm "nci_dev", pid 3954, jiffies 4295441246 hex dump (first 32 bytes): 6b 6b 6b 6b 00 a4 00 0c 02 e1 03 6b 6b 6b 6b 6b kkkk.......kkkkk 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk backtrace (crc 7c40cc2a): kmem_cache_alloc_node_noprof+0x492/0x630 __alloc_skb+0x11e/0x5f0 alloc_skb_with_frags+0xc6/0x8f0 sock_alloc_send_pskb+0x326/0x3f0 nfc_alloc_send_skb+0x94/0x1d0 rawsock_sendmsg+0x162/0x4c0 do_syscall_64+0x117/0xfc0
Title nfc: nci: free skb on nci_transceive early error paths
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-04-18T08:58:02.658Z

Reserved: 2026-01-13T15:37:45.997Z

Link: CVE-2026-23339

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-03-25T11:16:31.670

Modified: 2026-04-18T09:16:19.983

Link: CVE-2026-23339

cve-icon Redhat

Severity :

Publid Date: 2026-03-25T00:00:00Z

Links: CVE-2026-23339 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-03-27T09:49:34Z

Weaknesses