Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139248

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 5e6808b4c68d7882971514ab3279926eb07c8b2d to < f8f7ec1ccc2e2f0fe9801706aa9655b1428b7394affected
  • 5e6808b4c68d7882971514ab3279926eb07c8b2d to < 6d773e3a8e4a29b6991ba3cc9f84e5551813d4f6affected
  • 5e6808b4c68d7882971514ab3279926eb07c8b2d to < a90c1fe77463c549b2da5718ca212a663e06618eaffected
  • 5e6808b4c68d7882971514ab3279926eb07c8b2d to < 69b78aa3fef0f9c56077578159b94d6b6834f21faffected
  • 5e6808b4c68d7882971514ab3279926eb07c8b2d to < dcaa6219648955f7a8160313f1685321dbd1bf28affected

Linux Linux

Default version status: affected

  • 6.5affected
  • 0 to < 6.5unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References