CVE-2026-139779

drm/ras: Cancel and free message on get counter failure

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

drm/ras: Cancel and free message on get counter failure

doit_reply_value() directly returns on get counter failure, which results
in stale sk_buff and genetlink header that aren't cleaned up. Fix it and
while at it, consolidate error handling using goto.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Linux kernel's DRM RAS subsystem. On a get counter failure, the function doit_reply_value returns immediately without adequately releasing the stashed sk_buff and genetlink header structures. This omission leaves allocated resources in a stale state, which can accumulate over time and lead to resource exhaustion or a crash. The core weakness is a memory leak in the kernel's handling of response objects, yielding a loss of critical memory resources and potentially disrupting system stability.

Affected Systems

The flaw affects the Linux kernel, specifically versions that contain the drm/ras module. No precise version range is documented here, so any kernel build containing this module is potentially susceptible until the patch is applied.

Risk and Exploitability

Because the defect results in unwanted memory retention rather than direct code execution, the likelihood of exploitation by an attacker is limited to scenarios that can trigger repeated counter failures. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. The CVSS score is also unspecified; however, the potential for denial of service via resource exhaustion places this issue in a moderate to high risk tier for systems that rely heavily on the affected DRM functionality. The attack vector would likely require an attacker to provoke frequent failure conditions in the DRM RAS interface, which may be non-trivial to achieve for remote actors.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the latest DRM RAS patch
  • Monitor system memory and kernel logs for signs of sk_buff or genetlink header leaks after deployment
  • Apply any vendor backports or security updates as they become available
  • Follow kernel mailing list announcements for further details on remediation timelines

Generated by OpenCVE AI on December 1, 2026 at 01:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/ras: Cancel and free message on get counter failure doit_reply_value() directly returns on get counter failure, which results in stale sk_buff and genetlink header that aren't cleaned up. Fix it and while at it, consolidate error handling using goto.
Title drm/ras: Cancel and free message on get counter failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM