In the Linux kernel, the following vulnerability has been resolved: net/packet: fix TOCTOU race on mmap'd vnet_hdr in tpacket_snd() In tpacket_snd()...
Description
In the Linux kernel, the following vulnerability has been resolved: net/packet: fix TOCTOU race on mmap'd vnet_hdr in tpacket_snd() In tpacket_snd(), when PACKET_VNET_HDR is enabled, vnet_hdr points directly into the mmap'd TX ring buffer shared with userspace
Remediation
Apply vendor security updates immediately. Monitor for exploitation attempts and review access logs.
---METADATA---
VENDOR: Linux
PRODUCT: Kernel
AFFECTED_VERSIONS: Linux Kernel (multiple versions)
---END_METADATA---
Description Summary:
A use-after-free vulnerability in the Linux kernel's NFC LLCP subsystem results from missing return statements after socket state checks.
Executive Summary:
A use-after-free vulnerability in the Linux kernel's NFC LLCP subsystem could be exploited to cause system instability or potential code execution.
Vulnerability Details
CVE-ID: CVE-2026-31629
Affected Software: Linux Kernel
Affected Versions: Linux Kernel (multiple versions); Systems with NFC hardware and LLCP subsystem enabled
Vulnerability: The flaw occurs in
nfc_llcp_recv_hdlc()andnfc_llcp_recv_disc()where missing return statements afterLLCP_CLOSEDchecks lead to double release operations on socket resources, causing a reference count underflow.Business Impact
The CVSS score of 8.8 indicates a high-severity issue. An attacker with adjacent network access could exploit this reference count underflow to trigger a use-after-free condition, potentially leading to system crashes or arbitrary code execution on the target device.
Remediation Plan
Immediate Action: Update to a kernel version that includes the fix for missing return statements in the NFC LLCP subsystem.
Proactive Monitoring: Monitor system logs for NFC-related errors or kernel warnings associated with socket state management.
Compensating Controls: Disable the NFC LLCP subsystem if it is not required for device functionality.
Exploitation Status
Public Exploit Available: false
Analyst Notes: As of June 2, 2026, there is no public information indicating active exploitation of this vulnerability. However, due to the nature of the flaw, the potential for exploitation is high.
Analyst Recommendation
This vulnerability highlights the complexity of kernel-level networking code. Administrators should prioritize patching systems that utilize NFC LLCP to prevent potential exploitation by attackers within physical proximity.