# CVE-2026-23150: nfc: llcp: Fix memleak in nfc\_llcp\_send\_ui\_frame().

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-02-14T16:01:18.968Z
- **Modified:** 2026-06-17T10:20:59.510Z

## Who should check

- Anyone running Linux \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< ab660cb8e17aa93426d1e821c2cce60e4b9bc56a; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 65e976e1f474ae3bf5681d7abafb8f3fdb34b8cc; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 6734ff1ac6beba1d0c22dc9a3dc1849b773b511f; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< f8d002626d434f5fea9085e2557711c16a15cec6; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 3098e5c8af0f4c8f7eebbb370798df8aa2e12ba5; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 61858cbce6ca4bef9ed116c689a4be9520841339; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 165c34fb6068ff153e3fc99a932a80a9d5755709
- Anyone running Linux 3.8

## Description

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

nfc: llcp: Fix memleak in nfc\_llcp\_send\_ui\_frame().

syzbot reported various memory leaks related to NFC, struct
nfc\_llcp\_sock, sk\_buff, nfc\_dev, etc. \[0\]

The leading log hinted that nfc\_llcp\_send\_ui\_frame() failed
to allocate skb due to sock\_error(sk) being -ENXIO.

ENXIO is set by nfc\_llcp\_socket\_release() when struct
nfc\_llcp\_local is destroyed by local\_cleanup().

The problem is that there is no synchronisation between
nfc\_llcp\_send\_ui\_frame() and local\_cleanup(), and skb
could be put into local-\>tx\_queue after it was purged in
local\_cleanup():

  CPU1                          CPU2
  ----                          ----
  nfc\_llcp\_send\_ui\_frame()      local\_cleanup()
  \|- do {                       '
     \|- pdu = nfc\_alloc\_send\_skb(..., &err)
     \|                          .
     \|                          \|- nfc\_llcp\_socket\_release(local, false, ENXIO);
     \|                          \|- skb\_queue\_purge(&local-\>tx\_queue);      \|
     \|                          '                                          \|
     \|- skb\_queue\_tail(&local-\>tx\_queue, pdu);                             \|
    ...                                                                    \|
     \|- pdu = nfc\_alloc\_send\_skb(..., &err)                                \|
                                       ^.\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_.'

local\_cleanup() is called for struct nfc\_llcp\_local only
after nfc\_llcp\_remove\_local() unlinks it from llcp\_devices.

If we hold local-\>tx\_queue.lock then, we can synchronise
the thread and nfc\_llcp\_send\_ui\_frame().

Let's do that and check list\_empty(&local-\>list) before
queuing skb to local-\>tx\_queue in nfc\_llcp\_send\_ui\_frame().

\[0\]:
\[   56.074943\]\[ T6096\] llcp: nfc\_llcp\_send\_ui\_frame: Could not allocate PDU (error=-6)
\[   64.318868\]\[ T5813\] kmemleak: 6 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
BUG: memory leak
unreferenced object 0xffff8881272f6800 (size 1024):
  comm "syz.0.17", pid 6096, jiffies 4294942766
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    27 00 03 40 00 00 00 00 00 00 00 00 00 00 00 00  '..@............
  backtrace (crc da58d84d):
    kmemleak\_alloc\_recursive include/linux/kmemleak.h:44 \[inline\]
    slab\_post\_alloc\_hook mm/slub.c:4979 \[inline\]
    slab\_alloc\_node mm/slub.c:5284 \[inline\]
    \_\_do\_kmalloc\_node mm/slub.c:5645 \[inline\]
    \_\_kmalloc\_noprof+0x3e3/0x6b0 mm/slub.c:5658
    kmalloc\_noprof include/linux/slab.h:961 \[inline\]
    sk\_prot\_alloc+0x11a/0x1b0 net/core/sock.c:2239
    sk\_alloc+0x36/0x360 net/core/sock.c:2295
    nfc\_llcp\_sock\_alloc+0x37/0x130 net/nfc/llcp\_sock.c:979
    llcp\_sock\_create+0x71/0xd0 net/nfc/llcp\_sock.c:1044
    nfc\_sock\_create+0xc9/0xf0 net/nfc/af\_nfc.c:31
    \_\_sock\_create+0x1a9/0x340 net/socket.c:1605
    sock\_create net/socket.c:1663 \[inline\]
    \_\_sys\_socket\_create net/socket.c:1700 \[inline\]
    \_\_sys\_socket+0xb9/0x1a0 net/socket.c:1747
    \_\_do\_sys\_socket net/socket.c:1761 \[inline\]
    \_\_se\_sys\_socket net/socket.c:1759 \[inline\]
    \_\_x64\_sys\_socket+0x1b/0x30 net/socket.c:1759
    do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
    do\_syscall\_64+0xa4/0xfa0 arch/x86/entry/syscall\_64.c:94
    entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

BUG: memory leak
unreferenced object 0xffff88810fbd9800 (size 240):
  comm "syz.0.17", pid 6096, jiffies 4294942850
  hex dump (first 32 bytes):
    68 f0 ff 08 81 88 ff ff 68 f0 ff 08 81 88 ff ff  h.......h.......
    00 00 00 00 00 00 00 00 00 68 2f 27 81 88 ff ff  .........h/'....
  backtrace (crc 6cc652b1):
    kmemleak\_alloc\_recursive include/linux/kmemleak.h:44 \[inline\]
    slab\_post\_alloc\_hook mm/slub.c:4979 \[inline\]
    slab\_alloc\_node mm/slub.c:5284 \[inline\]
    kmem\_cache\_alloc\_node\_noprof+0x36f/0x5e0 mm/slub.c:5336
    \_\_alloc\_skb+0x203/0x240 net/core/skbuff.c:660
    alloc\_skb include/linux/skbuff.h:1383 \[inline\]
    alloc\_skb\_with\_frags+0x69/0x3f0 net/core/sk
---truncated---

## Affected and fixed versions

- Linux: \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< ab660cb8e17aa93426d1e821c2cce60e4b9bc56a; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 65e976e1f474ae3bf5681d7abafb8f3fdb34b8cc; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 6734ff1ac6beba1d0c22dc9a3dc1849b773b511f; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< f8d002626d434f5fea9085e2557711c16a15cec6; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 3098e5c8af0f4c8f7eebbb370798df8aa2e12ba5; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 61858cbce6ca4bef9ed116c689a4be9520841339; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 165c34fb6068ff153e3fc99a932a80a9d5755709 (cvelist)
- Linux: 3.8 (cvelist)

## Mitigation

- Upgrade Linux to 165c34fb6068ff153e3fc99a932a80a9d5755709 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23150. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23150.md
Affected: Linux >= 94f418a206648c9be6fd84d6681d6956b8f8b106, < ab660cb8e17aa93426d1e821c2cce60e4b9bc56a; >= 94f418a206648c9be6fd84d6681d6956b8f8b106, < 65e976e1f474ae3bf5681d7abafb8f3fdb34b8cc; >= 94f418a206648c9be6fd84d6681d6956b8f8b106, < 6734ff1ac6beba1d0c22dc9a3dc1849b773b511f; >= 94f418a206648c9be6fd84d…
Fixed in: Linux 65e976e1f474ae3bf5681d7abafb8f3fdb34b8cc, Linux 6734ff1ac6beba1d0c22dc9a3dc1849b773b511f, Linux 3098e5c8af0f4c8f7eebbb370798df8aa2e12ba5, Linux 61858cbce6ca4bef9ed116c689a4be9520841339, Linux 165c34fb6068ff153e3fc99a932a80a9d5755709

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23150 being exploited?

There is no confirmed exploitation: CVE-2026-23150 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23150?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23150?

Linux \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< ab660cb8e17aa93426d1e821c2cce60e4b9bc56a; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 65e976e1f474ae3bf5681d7abafb8f3fdb34b8cc; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 6734ff1ac6beba1d0c22dc9a3dc1849b773b511f; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< f8d002626d434f5fea9085e2557711c16a15cec6; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 3098e5c8af0f4c8f7eebbb370798df8aa2e12ba5; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 61858cbce6ca4bef9ed116c689a4be9520841339; \>= 94f418a206648c9be6fd84d6681d6956b8f8b106, \< 165c34fb6068ff153e3fc99a932a80a9d5755709; Linux 3.8.

### Is there a fix for CVE-2026-23150?

Yes. Fixed in Linux 65e976e1f474ae3bf5681d7abafb8f3fdb34b8cc, Linux 6734ff1ac6beba1d0c22dc9a3dc1849b773b511f, Linux 3098e5c8af0f4c8f7eebbb370798df8aa2e12ba5, Linux 61858cbce6ca4bef9ed116c689a4be9520841339, Linux 165c34fb6068ff153e3fc99a932a80a9d5755709. Upgrade Linux to 165c34fb6068ff153e3fc99a932a80a9d5755709 or later.

### How do I check if I'm affected by CVE-2026-23150?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ab660cb8e17aa93426d1e821c2cce60e4b9bc56a>
- patch: <https://git.kernel.org/stable/c/65e976e1f474ae3bf5681d7abafb8f3fdb34b8cc>
- patch: <https://git.kernel.org/stable/c/6734ff1ac6beba1d0c22dc9a3dc1849b773b511f>
- patch: <https://git.kernel.org/stable/c/f8d002626d434f5fea9085e2557711c16a15cec6>
- patch: <https://git.kernel.org/stable/c/3098e5c8af0f4c8f7eebbb370798df8aa2e12ba5>
- patch: <https://git.kernel.org/stable/c/61858cbce6ca4bef9ed116c689a4be9520841339>
- patch: <https://git.kernel.org/stable/c/165c34fb6068ff153e3fc99a932a80a9d5755709>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23150>

HTML: <https://flawdb.com/CVE-2026-23150> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23150>
