5.5

CVE-2026-31689: EDAC/mc: Fix error path ordering in edac_mc_alloc()

Analyzed
AliasesUBUNTU-CVE-2026-31689DEBIAN-CVE-2026-31689
Published 27-04-2026Last modified 11-05-2026

Vulnerability summary

CVE-2026-31689 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 1.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

CIRCL last checked 06-12-2026

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.12%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 25 · Related 20

Timeline

  1. 27-04-2026
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: EDAC/mc: Fix error path ordering in edac_mc_alloc() When the mci->pvt_info allocation in edac_mc_alloc() fails, the error path will call put_device() which will end up calling the device's release function. However, the init ordering is wrong such that device_initialize() happens *after* the failed allocation and thus the device itself and the release function pointer are not initialized yet when they're called: MCE: In-kernel MCE decoding enabled. ------------[ cut here ]------------ kobject: '(null)': is not initialized, yet kobject_put() is being called. WARNING: lib/kobject.c:734 at kobject_put, CPU#22: systemd-udevd CPU: 22 UID: 0 PID: 538 Comm: systemd-udevd Not tainted 7.0.0-rc1+ #2 PREEMPT(full) RIP: 0010:kobject_put Call Trace: <TASK> edac_mc_alloc+0xbe/0xe0 [edac_core] amd64_edac_init+0x7a4/0xff0 [amd64_edac] ? __pfx_amd64_edac_init+0x10/0x10 [amd64_edac] do_one_initcall ... Reorder the calling sequence so that the device is initialized and thus the release function pointer is properly set before it can be used. This was found by Claude while reviewing another EDAC patch.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.12%

Chance of exploitation in the next 30 days

Percentile

2%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.11% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu131 products
  • linux< 6.8.0-136.136 | All versions (No fix recorded)
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1061.64 | All versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 0bbb265f7089584aaa6d440805ca75ea4f3930d4, < aae95970fad2127a1bd49d8713c7cd0677dcd2d6 | ≥ 0bbb265f7089584aaa6d440805ca75ea4f3930d4, < d3de72e2a2b9ee3a57734c1c068823e41a707715 | ≥ 0bbb265f7089584aaa6d440805ca75ea4f3930d4, < d20e98c2df9354cc744431ad8ccbf49405b8b40f | ≥ 0bbb265f7089584aaa6d440805ca75ea4f3930d4, < 87ce8ae511962e105bcb3534944208c6a9471ed9 | ≥ 0bbb265f7089584aaa6d440805ca75ea4f3930d4, < 75825648ce984ca4cebb28e4bd2bf8c3a7e837c5 | ≥ 0bbb265f7089584aaa6d440805ca75ea4f3930d4, < 51520e03e70d6c73e33ee7cbe0319767d05764fe | 5.19
  • linux_kernel≥ 5.19, < 6.1.169 | ≥ 6.2, < 6.6.135 | ≥ 6.7, < 6.12.82 | ≥ 6.13, < 6.18.23 | ≥ 6.19, < 6.19.13 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3 | 7.0:rc4 | 7.0:rc5 | 7.0:rc6 | 7.0:rc7
Debian1 product
  • linux< 6.1.170-1 | < 6.12.85-1 | < 6.19.13-1

3 vendors · 134 products

References

25 links
Show all 25 references