CVE-2026-74275 (GCVE-0-2026-74275)
Vulnerability from cvelistv5
Published
2026-08-15 05:57
Modified
2026-08-17 05:45
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
cxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()
In cxl_cancel_auto_attach(), it assumes cxled->pos is a valid index for
accessing p->targets[]. However, cxled->pos can be set to negative errno
in cxl_region_sort_targets() if cxl_calc_interleave_pos() fails. This
causes the driver to use a negative index to access p->targets[],
resulting in out-of-bounds access.
Fix it by walking p->targets[] instead of using cxled->pos directly.
References
Impacted products
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/cxl/core/region.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "44b2397eb67b7f728640989a22d062e41f94ab64",
"status": "affected",
"version": "87805c32e6ad7b5ce2d9f7f47e76081857a4a335",
"versionType": "git"
},
{
"lessThan": "cbda6a2c2bec2a5fb30a2ce85baeab15b5fc7db3",
"status": "affected",
"version": "87805c32e6ad7b5ce2d9f7f47e76081857a4a335",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/cxl/core/region.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "7.1"
},
{
"lessThan": "7.1",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.5",
"versionStartIncluding": "7.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "7.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()\n\nIn cxl_cancel_auto_attach(), it assumes cxled-\u003epos is a valid index for\naccessing p-\u003etargets[]. However, cxled-\u003epos can be set to negative errno\nin cxl_region_sort_targets() if cxl_calc_interleave_pos() fails. This\ncauses the driver to use a negative index to access p-\u003etargets[],\nresulting in out-of-bounds access.\n\nFix it by walking p-\u003etargets[] instead of using cxled-\u003epos directly."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 8.4,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The flaw is in the CXL region driver reached via local kernel paths\u2014CXL endpoint decoder auto-discovery/attach, sysfs region/target management under /sys/bus/cxl/, and PCI/CXL device removal\u2014not via any network protocol or remote packet handler.\nAC:L - Once CXL auto-region assembly fails in cxl_region_sort_targets() leaving a decoder AUTO_STAGED with a negative cxled-\u003epos, an attacker who can present or remove CXL endpoints can reliably trigger cxl_cancel_auto_attach() during decoder teardown without uncontrollable timing or memory-layout dependencies.\nPR:N - The vulnerable teardown path runs automatically during kernel-driven CXL endpoint decoder unregistration after failed auto-assembly; it does not require authenticated access or elevated credentials, only that a CXL topology causes cxl_calc_interleave_pos() to fail before the decoder is removed.\nUI:N - Exploitation requires no end-user interaction such as opening files or mounting filesystems; it is triggered by kernel CXL auto-discovery, region assembly failure, and subsequent endpoint decoder detach/unregister events.\nS:U - The out-of-bounds access corrupts kernel cxl_region_params memory within the same kernel security boundary and does not by itself cross VM, container, or IOMMU isolation boundaries.\nC:H - cxl_region_by_target() performs an out-of-bounds read using the negative cxled-\u003epos as an index into p-\u003etargets[], leaking adjacent kernel memory from the cxl_region_params structure before the array base.\nI:H - cxl_cancel_auto_attach() writes NULL via p-\u003etargets[pos] using the same negative index, corrupting adjacent fields such as the region resource pointer and other cxl_region_params metadata exploitable for further memory corruption.\nA:H - Out-of-bounds access and corruption of critical region metadata pointers can cause kernel oops, panic, or hang during CXL region teardown on systems with CONFIG_CXL_REGION and interleaved CXL memory expanders."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-17T05:45:17.863Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/44b2397eb67b7f728640989a22d062e41f94ab64"
},
{
"url": "https://git.kernel.org/stable/c/cbda6a2c2bec2a5fb30a2ce85baeab15b5fc7db3"
}
],
"title": "cxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-74275",
"datePublished": "2026-08-15T05:57:47.455Z",
"dateReserved": "2026-08-15T05:44:03.879Z",
"dateUpdated": "2026-08-17T05:45:17.863Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…