Skip to main content

Linux Kernel NFC CVE-2026-31629

| EUVDEUVD-2026-25522 HIGH
Improper Locking (CWE-667)
2026-04-24 Linux GHSA-cfpg-q83x-6923
8.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Achieve adjacent network access
  2. Delivery
    Establish NFC LLCP connection
  3. Exploit
    Send crafted HDLC/DISC frames to closed socket
  4. Install
    Trigger double cleanup via fall-through bug
  5. C2
    Induce refcount underflow and premature free
  6. Execute
    Manipulate heap with subsequent NFC operations
  7. Impact
    Overwrite freed socket structure
  8. Step 8
    Execute arbitrary kernel code

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
Exploitation Conditions

Requires target system with NFC hardware physically present and enabled, with Linux kernel NFC subsystem loaded (CONFIG_NFC kernel configuration enabled as module or built-in). Attacker must achieve adjacent network access (AV:A), meaning physical proximity for NFC radio communication or presence on same logical network segment if NFC-over-network protocols are in use. The vulnerable code path is triggered when processing NFC LLCP frames (HDLC or DISC messages) on a socket already in LLCP_CLOSED state, requiring precise timing to create the race condition between socket state transition and frame processing. Most limiting factor is NFC hardware requirement: the vast majority of Linux server and desktop deployments do not include NFC hardware or load NFC kernel modules, making them immune despite running vulnerable kernel versions. Mobile devices, payment terminals, transit system readers, and IoT devices with NFC are the realistic attack surface. No special authentication required (PR:N) once adjacent access achieved, and no user interaction needed (UI:N). Default Linux kernel configurations typically compile NFC as modules rather than built-in, so vulnerability only manifests if NFC modules are explicitly loaded, further limiting exposure.

Impact

CVSS 8.8 (High) with vector AV:A/AC:L/PR:N/UI:N indicates adjacent-network attack requiring no privileges or user interaction with low complexity. However, real-world risk is significantly constrained by multiple factors. The attack vector requires adjacent network access (AV:A), meaning the attacker must be on the same physical or logical network segment as the target, which limits remote internet-based exploitation. More critically, successful exploitation requires NFC hardware present and enabled on the target system, with the LLCP protocol stack loaded and actively processing NFC peer-to-peer communications. NFC is primarily deployed in mobile devices, payment terminals, and specialized IoT devices rather than traditional servers or enterprise infrastructure. Desktop and server Linux systems rarely have NFC hardware or load the NFC kernel modules. EPSS score of 0.02% (5th percentile) aligns with these exploitation constraints, indicating security researchers and attackers assess this as low real-world risk despite high CVSS. No CISA KEV listing and no public POC further support low immediate threat. The vulnerability requires triggering specific socket state (LLCP_CLOSED) during HDLC or DISC frame processing, adding complexity to exploitation. While use-after-free vulnerabilities are theoretically exploitable for code execution, successful exploitation requires precise heap manipulation and kernel memory layout knowledge, particularly challenging with modern kernel exploit mitigations (KASLR, SMEP, SMAP). Priority should be moderate: patch systems with NFC hardware during normal maintenance cycles, but this is not an emergency requiring immediate out-of-band patching for most enterprise environments. Mobile device manufacturers and NFC-heavy deployments (payment systems, transit) should prioritize higher.

Exploit ScenarioDerived

Attacker positions themselves on the same network segment as a target Linux device with active NFC hardware (e.g., Android phone, payment terminal, or NFC-enabled laptop). Attacker uses custom NFC peer-to-peer communication tools to establish LLCP connection with target, then sends specially crafted HDLC frames or disconnect messages designed to race socket state transitions to LLCP_CLOSED. When the kernel processes these frames in nfc_llcp_recv_hdlc() or nfc_llcp_recv_disc() functions with socket already in LLCP_CLOSED state, the missing return statement triggers double cleanup, causing refcount underflow and socket structure to be freed prematurely. Attacker then manipulates NFC traffic to trigger additional operations on the freed socket memory, achieving use-after-free condition. By carefully controlling heap allocations through subsequent NFC operations, attacker overwrites freed socket structure with attacker-controlled data, potentially achieving arbitrary kernel code execution to gain root privileges or compromise kernel integrity. No public POC code exists at time of analysis, increasing exploitation difficulty.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 27, 2026

Use-after-free in Linux kernel NFC LLCP implementation allows adjacent-network attackers to execute arbitrary code with kernel privileges. The flaw occurs when socket state is LLCP_CLOSED in nfc_llcp_recv_hdlc() and nfc_llcp_recv_disc(), where missing return statements cause double release_sock() and refcount underflow, leading to memory corruption. Vendor-released patches available for stable kernels 6.12.83, 6.18.24, 6.19.14, and 7.0.1. EPSS score of 0.02% (5th percentile) indicates low observed exploitation probability, and no active exploitation or public POC confirmed at time of analysis.

RemediationAI

Update to patched Linux kernel versions: 6.12.83, 6.18.24, 6.19.14, or 7.0.1 and later in respective stable branches. Upstream fixes are available in kernel.org git stable tree at commits 796e0cac058252d0ad34ebe288e6f7979b5fc9b2, 8977fad2b3c6eefd414131168d597c5d1d5e1abf, ff3d9e8f7244293e303f7b6ef70774291c7c27e9, and aba4712e8f0381cd5d196534ce2ad082626a5ab6. Distribution-specific advisories should be consulted for backported patches in enterprise kernels. If immediate patching is not feasible and NFC functionality is not required, disable the NFC subsystem entirely by blacklisting kernel modules (modprobe blacklist nfc, nfc_digital, nfc_llcp) or unloading them if already loaded (rmmod nfc_llcp nfc). This eliminates the vulnerable code path but renders all NFC functionality unavailable, which is acceptable for servers and workstations but breaks NFC-dependent workflows on mobile devices and payment terminals. For systems requiring NFC, restrict adjacent network access through network segmentation and ensure only trusted devices can communicate on the same network segment as NFC-enabled systems. Monitor for abnormal NFC traffic patterns or kernel warnings related to socket refcount errors. Note that disabling NFC modules may require kernel rebuild if compiled as built-in (=y) rather than module (=m). Enterprise environments should prioritize patching mobile device fleets and specialized NFC infrastructure (payment terminals, access control systems) over general server infrastructure where NFC is typically absent.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <796e0cac058252d0ad34ebe288e6f7979b5fc9b2
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8977fad2b3c6eefd414131168d597c5d1d5e1abf
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ff3d9e8f7244293e303f7b6ef70774291c7c27e9
Linux patch: 7.0.1
Linux patch: 6.18.24
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <aba4712e8f0381cd5d196534ce2ad082626a5ab6
Linux patch: 6.12.83
Linux patch: 6.19.14

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects the Linux kernel's NFC (Near Field Communication) subsystem, specifically the LLCP (Logical Link Control Protocol) implementation used for peer-to-peer NFC communications. The affected code paths handle HDLC (High-Level Data Link Control) frames and disconnect messages in the NFC LLCP stack. The bug is a classic control flow error where two functions (nfc_llcp_recv_hdlc and nfc_llcp_recv_disc) check if a socket is in LLCP_CLOSED state and correctly perform cleanup operations (release_sock() and nfc_llcp_sock_put()), but then fall through to execute the same cleanup operations again at the function's normal exit path. The release_sock() function releases a socket lock, and calling it twice on the same lock corrupts lock state. The nfc_llcp_sock_put() function decrements a reference counter; calling it twice causes an underflow, making the counter wrap around or become negative. When the reference count reaches zero prematurely, the kernel frees the socket structure while code still holds pointers to it, creating a use-after-free condition. An attacker who can trigger these code paths with a socket in LLCP_CLOSED state can potentially exploit the freed memory for arbitrary code execution at kernel privilege level. The vulnerability has existed since the initial LLCP implementation (commit 1da177e4c3f4 from Linux 2.6.12-rc2 in 2005), affecting nearly two decades of kernel versions.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 8.8 HIGH
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Patch released
Apr 27, 2026 - 20:36 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
8.8 (HIGH)
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:42 nvd
HIGH 8.8

DescriptionCVE.org

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

nfc: llcp: add missing return after LLCP_CLOSED checks

In nfc_llcp_recv_hdlc() and nfc_llcp_recv_disc(), when the socket state is LLCP_CLOSED, the code correctly calls release_sock() and nfc_llcp_sock_put() but fails to return. Execution falls through to the remainder of the function, which calls release_sock() and nfc_llcp_sock_put() again. This results in a double release_sock() and a refcount underflow via double nfc_llcp_sock_put(), leading to a use-after-free.

Add the missing return statements after the LLCP_CLOSED branches in both functions to prevent the fall-through.

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel NFC LLCP subsystem allows adjacent-network attackers to execute arbitrary code with kernel privileges, affecting systems with NFC capabilities. Organizations running affected kernel versions (pre-6.12.83, pre-6.18.24, pre-6.19.14, or pre-7.0.1) must prioritize patching, as kernel-level code execution enables complete system compromise and lateral movement.

Business Impact: High
Compensating Controls

Restrict network access to NFC interfaces by disabling NFC modules on systems where not required (echo 'blacklist nfc' >> /etc/modprobe.d/blacklist.conf); segment NFC-enabled devices on isolated VLANs; monitor kernel logs for LLCP socket errors. Apply vendor patch (6.12.83, 6.18.24, 6.19.14, or 7.0.1 or later) as primary remediation.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy