# CVE-2026-23339: nfc: nci: free skb on nci_transceive early error paths

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-03-25T10:27:28.073Z
- Modified: 2026-10-15T02:18:50.443Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before b367cb44d919f35b07cd56feffa15e68cd9f53f9; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 6d898f943766440cf766d30364e715111c3563b5; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 33f6b8a96dda045789796c3bcb451c74ac158039; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before dcbcccfc5195c9caaa4bb8d31f23c345f00a9e89; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 3245801d44a44c090acefe19a12d22d12cac45c5; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 9d448bbab724b94d6c561e1f314656f5b88a7cb3; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 54f7f0eaafa56b5994cdb5c7967946922c2e1d22; from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 7bd4b0c4779f978a6528c9b7937d2ca18e936e2c; 3.2 (not affected: before 3.2; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.77 up to 6.12.*; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 3.2.1 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.167; from 6.2 before 6.6.130; from 6.7 before 6.12.77; from 6.13 before 6.18.17; from 6.19 before 6.19.7; 3.2; 7.0

## References

- <https://git.kernel.org/stable/c/b367cb44d919f35b07cd56feffa15e68cd9f53f9> (patch)
- <https://git.kernel.org/stable/c/6d898f943766440cf766d30364e715111c3563b5> (patch)
- <https://git.kernel.org/stable/c/33f6b8a96dda045789796c3bcb451c74ac158039> (patch)
- <https://git.kernel.org/stable/c/dcbcccfc5195c9caaa4bb8d31f23c345f00a9e89> (patch)
- <https://git.kernel.org/stable/c/3245801d44a44c090acefe19a12d22d12cac45c5> (patch)
- <https://git.kernel.org/stable/c/9d448bbab724b94d6c561e1f314656f5b88a7cb3> (patch)
- <https://git.kernel.org/stable/c/54f7f0eaafa56b5994cdb5c7967946922c2e1d22> (patch)
- <https://git.kernel.org/stable/c/7bd4b0c4779f978a6528c9b7937d2ca18e936e2c> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-23339](https://www.cve.org/CVERecord?id=CVE-2026-23339), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-23339](https://nvd.nist.gov/vuln/detail/CVE-2026-23339), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-23339 · Whole record: https://cve.day/CVE-2026-23339.json · Rebuilt by cve.day 2026-11-25T22:59:16.678Z
