cxl/mce: Make the MCE notifier per-region
In the Linux kernel, the following vulnerability has been resolved: cxl/mce: Make the MCE notifier per-region Flavien Solt reported lifetime issues with the CXL MCE notifier, which can lead to NULL dereferences and use-after-free in the MCE handler. The notifier was registered per memory device and stored in 'struct cxl_memdev_state', even though it only needs the region state (the region's SPA range and its extended linear cache size). Instead of keeping the memory device and endpoint alive, the correct fix is to move the notifier into 'struct cxl_region' and register it from cxl_region_probe() as it should be a per-region notifier. Setup the registration to only happen for regions that have an extended linear cache as that is the only current usage. Remove cxl_port_get_spa_cache_alias() as it is now dead code. [ dj: Update dev_warn() when notifier fails due to kconfig. (Ben) ]
CVE-2026-89570
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-89570
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "516e5bd0b6bf4ae1ad072df637b428a737c3c870",
"lessThan": "5563db13c9528a56c7161260ec75ec8690dc5608",
"versionType": "git"
},
{
"status": "affected",
"version": "516e5bd0b6bf4ae1ad072df637b428a737c3c870",
"lessThan": "491d8c9ac98d55073bda778f88a5248d4cce3fa0",
"versionType": "git"
},
{
"status": "affected",
"version": "516e5bd0b6bf4ae1ad072df637b428a737c3c870",
"lessThan": "775d0f4558f4cec0ee0c8966595d1add1791f36e",
"versionType": "git"
}
],
"programFiles": [
"drivers/cxl/core/mbox.c",
"drivers/cxl/core/mce.c",
"drivers/cxl/core/region.c",
"drivers/cxl/cxl.h",
"drivers/cxl/cxlmem.h"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.15"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.15",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.51",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/cxl/core/mbox.c",
"drivers/cxl/core/mce.c",
"drivers/cxl/core/region.c",
"drivers/cxl/cxl.h",
"drivers/cxl/cxlmem.h"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-89570
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #35081 · Revision 1
- Added to Heist Feed
- Publisher date