CVE-2026-139248

octeontx2: Fix use-after-free of qos node in delete path

Published Nov 30, 2026 CVSS 3.1 · 6.7 Medium EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

octeontx2: Fix use-after-free of qos node in delete path

hash_del_rcu() only unlinks the node; a reader that already holds the
bucket iterator still uses the node. The immediate kfree() has no
grace period, so a concurrent transmit on a socket whose skb priority
carries the deleted classid reads node->classid / node->qid from freed
memory (use-after-free in the softirq transmit path).

Fix this by calling synchronize_net() before the node is freed, as
mlx5e does.

Found during a static-analysis-assisted audit: candidate sites were
surfaced by a Coccinelle rule, and the reader/writer paths were
confirmed by LLM-assisted (GLM-5.3) code inspection. The issue was
not observed at runtime; it is identified by code inspection only.

Analysis

AI-generated

Technical impact

A use‑after‑free flaw exists in the octeontx2 driver when a QoS node is deleted. The deletion path frees the node immediately after unlinking it, without a grace period. A concurrent transmission that reads the node’s classid or qid field accesses freed memory, which could lead to malformed packet handling, kernel corruption, or an undefined state in the softirq transmit path. The vulnerability is a classic use‑after‑free in the kernel that could compromise the confidentiality, integrity, or availability of the affected system if triggered during packet processing.

Affected Systems

Linux kernels that include the octeontx2 network driver are affected. The CNA list names Linux as the vendor, and the path of the vulnerability is a kernel driver. No specific kernel versions or release epochs are listed, so any kernel build that incorporates the octeontx2 driver without the applied fix is susceptible.

Risk and Exploitability

The CVSS score is not provided, and EPSS data is unavailable, so the exact quantitative risk cannot be calculated. The fix involves adding a synchronize_net() call before freeing the node, similar to the mlx5e driver, indicating that the underlying issue is a race condition in packet processing. Because the flaw manifests when a socket’s skb priority matches a deleted classid, an attacker that can trigger crafted packets may exploit the use‑after‑free. The issue was discovered only by static analysis and code inspection; it has not been observed at runtime, but the nature of the bug suggests a potentially severe impact if exercised. The vulnerability is not listed in CISA KEV, so no known active exploits are reported as of now.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the octeontx2 use‑after‑free fix (commit 69b78aa3f…)
  • If upgrading is not possible, back‑port the patch that adds synchronize_net() before freeing the QoS node and rebuild the kernel
  • Reboot the affected systems to ensure the driver is reinitialized with the patch

Generated by OpenCVE AI on December 1, 2026 at 07:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: octeontx2: Fix use-after-free of qos node in delete path hash_del_rcu() only unlinks the node; a reader that already holds the bucket iterator still uses the node. The immediate kfree() has no grace period, so a concurrent transmit on a socket whose skb priority carries the deleted classid reads node->classid / node->qid from freed memory (use-after-free in the softirq transmit path). Fix this by calling synchronize_net() before the node is freed, as mlx5e does. Found during a static-analysis-assisted audit: candidate sites were surfaced by a Coccinelle rule, and the reader/writer paths were confirmed by LLM-assisted (GLM-5.3) code inspection. The issue was not observed at runtime; it is identified by code inspection only.
Title octeontx2: Fix use-after-free of qos node in delete path
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:32 PM