cxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 7.1.5
- CVEs
- CVE-2026-74275
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 00:44 UTC · Revision 1
Source evidence
cxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()
core-osv · Original sourcePublished 15 Aug 2026, 05:57 UTC
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.
osv:CVE-2026-74275
Kernel
Fixed versions: 7.1.5
Complete source record
{
"id": "b47177b9680ea4264ee0ff9c38b0eeaf6cbe6377c7d491fa4a3d9dc5d6ea9d57",
"url": "https://osv.dev/vulnerability/CVE-2026-74275",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "cxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()",
"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.",
"evidence": "osv:CVE-2026-74275",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.1.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-74275",
"aliases": [
"CVE-2026-74275"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "87805c32e6ad7b5ce2d9f7f47e76081857a4a335"
},
{
"fixed": "44b2397eb67b7f728640989a22d062e41f94ab64"
},
{
"fixed": "cbda6a2c2bec2a5fb30a2ce85baeab15b5fc7db3"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74275.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.1.0"
},
{
"fixed": "7.1.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74275.json"
}
}
],
"modified": "2026-10-28T02:30:48.383774372Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/44b2397eb67b7f728640989a22d062e41f94ab64",
"https://git.kernel.org/stable/c/cbda6a2c2bec2a5fb30a2ce85baeab15b5fc7db3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74275.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-74275",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74275.json"
}
},
"related_cves": [
{
"value": "CVE-2026-74275",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516716,
"published_at": "2026-08-15T05:57:47.455+00:00"
}