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

llc: fix skb UAF and leaks on llc_mac_hdr_init() failure

In llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr(), if llc_mac_hdr_init()
fails, kfree_skb(skb) is called instead of kfree_skb(nskb). This leaks
the newly allocated nskb, reads from the freed skb via LLC_I_GET_NR(pdu),
and double-frees skb when llc_conn_state_process() drops its reference.

In llc_sap_action_send_xid_r() and llc_sap_action_send_test_r(), nskb is
leaked if llc_mac_hdr_init() returns an error.

Free nskb in all three error paths.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Kernel memory corruption and information leak
Action: Apply Patch
AI Analysis

Impact

A fault exists in the Linux kernel’s LLC implementation that is triggered when llc_mac_hdr_init() fails. The error path frees the wrong socket buffer (skb), leading to a use‑after‑free, a subsequent double‑free, and a memory leak of the newly allocated skb. These kernel memory operations can corrupt memory and expose data that should remain private to the kernel space.

Affected Systems

Linux kernels that have not incorporated the error‑path fix for llc_mac_hdr_init(), as embodied in commit 060f827aa3dc and subsequent references. The affected vendor is Linux; no precise version range is enumerated in the advisory, so any kernel missing the patch is considered vulnerable.

Risk and Exploitability

The CVSS score is not disclosed, the EPSS value is unavailable, and the issue is not listed in the CISA KEV catalog. Exploitation requires the ability to trigger the bug via a malformed LLC packet or local code execution. The flaw could allow kernel memory corruption, information disclosure, or double‑free exploits, but there is no evidence of widespread exploitation to date. The likely attack vector is local or network-based access to LLC traffic.

Generated by OpenCVE AI on October 18, 2026 at 23:59 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that contains the llc_mac_hdr_init() error‑path fix, such as a kernel that includes commit 060f827aa3dc.
  • If LLC support is not required, disable the protocol in the kernel configuration (e.g., set CONFIG_LLC=n) to eliminate the vulnerable code path.
  • Use firewall or netfilter rules to block LLC protocol traffic until the kernel patch is available as a temporary network‑level mitigation.

Generated by OpenCVE AI on October 18, 2026 at 23:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
CWE-415
CWE-416

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: llc: fix skb UAF and leaks on llc_mac_hdr_init() failure In llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr(), if llc_mac_hdr_init() fails, kfree_skb(skb) is called instead of kfree_skb(nskb). This leaks the newly allocated nskb, reads from the freed skb via LLC_I_GET_NR(pdu), and double-frees skb when llc_conn_state_process() drops its reference. In llc_sap_action_send_xid_r() and llc_sap_action_send_test_r(), nskb is leaked if llc_mac_hdr_init() returns an error. Free nskb in all three error paths.
Title llc: fix skb UAF and leaks on llc_mac_hdr_init() failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:18:22.631Z

Reserved: 2026-09-25T10:25:14.357Z

Link: CVE-2026-98555

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:07.610

Modified: 2026-10-18T16:17:07.610

Link: CVE-2026-98555

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T04:30:07Z

Weaknesses