{"id":"CVE-2026-74275","summary":"cxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()","details":"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.","modified":"2026-08-18T03:56:28.343130683Z","published":"2026-08-15T05:57:47.455Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74275.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/44b2397eb67b7f728640989a22d062e41f94ab64"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cbda6a2c2bec2a5fb30a2ce85baeab15b5fc7db3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74275.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74275"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"87805c32e6ad7b5ce2d9f7f47e76081857a4a335"},{"fixed":"44b2397eb67b7f728640989a22d062e41f94ab64"},{"fixed":"cbda6a2c2bec2a5fb30a2ce85baeab15b5fc7db3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74275.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74275.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}