CVE-2026-31689: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-31689 is an error path ordering flaw in the Linux kernel's EDAC/mc (Error Detection and Correction/Memory Controller) subsystem, specifically in the edac_mc_alloc() function. When the mci->pvt_info memory allocation fails, the error path invokes put_device() before device_initialize() has been called, resulting in attempts to dereference uninitialized pointers and call an unset release function pointer. The vulnerability affects Linux kernel versions from 5.19 through multiple stable branches up to 7.0-rc7. It carries a CVSS v3.1 base score of 5.5 (Medium) (GitHub Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified as CWE-824 (Access of Uninitialized Pointer) and CWE-476 (NULL Pointer Dereference). In edac_mc_alloc(), the original code called device_initialize() after the mci->pvt_info allocation, meaning that if the allocation failed, the error path would invoke put_device() — and transitively kobject_put() — on a device structure whose kobject had never been initialized. The fix reorders the initialization sequence so that device_initialize() is called before any allocation that could fail, ensuring the release function pointer is valid before it can be invoked. The bug was discovered by Claude AI while reviewing another EDAC patch (GitHub Advisory).

Impact

Exploitation of this vulnerability is limited to availability impact — there is no confidentiality or integrity risk. A local user with low privileges can trigger the flaw during AMD64 EDAC driver initialization under memory pressure conditions, causing kernel warnings about uninitialized kobjects being freed and potentially leading to system instability or crashes (denial of service). The scope is limited to the local system, with no potential for lateral movement or data exposure (GitHub Advisory, Red Hat Bugzilla).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of writing. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.024% (0.000240), reflecting a very low probability of exploitation in the near term. The attack requires local access with low privileges and is contingent on a memory allocation failure during EDAC driver initialization, making opportunistic exploitation unlikely (GitHub Advisory).

Indicators of compromise

  • Logs: Kernel log entries containing kobject: '(null)': is not initialized, yet kobject_put() is being called. or WARNING: lib/kobject.c:734 at kobject_put during system boot or EDAC module loading.
  • Logs: Kernel call traces referencing edac_mc_alloc in edac_core and amd64_edac_init in amd64_edac modules.
  • Process: Unexpected kernel warnings or oops messages triggered by systemd-udevd or similar processes during hardware initialization on AMD64 systems with EDAC support.

Mitigation and workarounds

Apply the available kernel patches for the relevant stable branch. Fixed versions include: 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13, and 7.0 (stable). Patches are available via the Linux kernel stable tree at multiple commits (e.g., 51520e03, 75825648, 87ce8ae5, aae95970, d20e98c2, d3de72e2). There is no known configuration-based workaround; upgrading to a patched kernel version is the recommended remediation. Administrators should prioritize updates on systems running AMD64 hardware with EDAC drivers loaded (GitHub Advisory, Red Hat Bugzilla).

Community reactions

The vulnerability was noted as having been discovered by Claude AI during a code review of an unrelated EDAC patch, which drew minor attention as an example of AI-assisted vulnerability discovery in the Linux kernel. Community reaction has been muted given the low severity and limited exploitability of the flaw. No significant vendor statements or media coverage beyond standard advisory publication have been observed (GitHub Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.170-1

Fixed

sid

linux: 6.19.13-1

Fixed

trixie

linux: 6.12.85-1

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux

Not Affected

focal (esm-infra)

linux

Not Affected

focal (fips-updates)

linux-fips

Not Affected

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

kernel.src

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-100075CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesSep 25, 2026
CVE-2026-98164MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoYesSep 29, 2026
CVE-2026-98161MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-gkeop
NoYesSep 25, 2026
CVE-2026-100079MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency-hwe-6.8
NoYesSep 25, 2026
CVE-2026-100074MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.14
NoYesSep 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management