nfc: nci: free skb on nci_transceive early error paths
Summary
| CVE | CVE-2026-23339 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-25 11:16:31 UTC |
| Updated | 2026-04-18 09:16:19 UTC |
| 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 |
Risk And Classification
EPSS: 0.000320000 probability, percentile 0.090980000 (date 2026-04-18)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 6a2968aaf50c7a22fced77a5e24aa636281efca8 b367cb44d919f35b07cd56feffa15e68cd9f53f9 git | Not specified |
| CNA | Linux | Linux | affected 6a2968aaf50c7a22fced77a5e24aa636281efca8 6d898f943766440cf766d30364e715111c3563b5 git | Not specified |
| CNA | Linux | Linux | affected 6a2968aaf50c7a22fced77a5e24aa636281efca8 33f6b8a96dda045789796c3bcb451c74ac158039 git | Not specified |
| CNA | Linux | Linux | affected 6a2968aaf50c7a22fced77a5e24aa636281efca8 dcbcccfc5195c9caaa4bb8d31f23c345f00a9e89 git | Not specified |
| CNA | Linux | Linux | affected 6a2968aaf50c7a22fced77a5e24aa636281efca8 3245801d44a44c090acefe19a12d22d12cac45c5 git | Not specified |
| CNA | Linux | Linux | affected 6a2968aaf50c7a22fced77a5e24aa636281efca8 9d448bbab724b94d6c561e1f314656f5b88a7cb3 git | Not specified |
| CNA | Linux | Linux | affected 6a2968aaf50c7a22fced77a5e24aa636281efca8 54f7f0eaafa56b5994cdb5c7967946922c2e1d22 git | Not specified |
| CNA | Linux | Linux | affected 6a2968aaf50c7a22fced77a5e24aa636281efca8 7bd4b0c4779f978a6528c9b7937d2ca18e936e2c git | Not specified |
| CNA | Linux | Linux | affected 3.2 | Not specified |
| CNA | Linux | Linux | unaffected 3.2 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.253 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.203 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.167 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.130 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.77 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.17 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.7 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/54f7f0eaafa56b5994cdb5c7967946922c2e1d22 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6d898f943766440cf766d30364e715111c3563b5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/dcbcccfc5195c9caaa4bb8d31f23c345f00a9e89 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9d448bbab724b94d6c561e1f314656f5b88a7cb3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/7bd4b0c4779f978a6528c9b7937d2ca18e936e2c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/33f6b8a96dda045789796c3bcb451c74ac158039 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b367cb44d919f35b07cd56feffa15e68cd9f53f9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/3245801d44a44c090acefe19a12d22d12cac45c5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.