CVE-2023-52792
publishedcxl/region: Do not try to cleanup after cxl_region_setup_targets() fails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5e42bcbc3fef6e759dfb4d3f4cfb394c382b4249 to < 90db4c1d5ebaf574d3c3065c055977982c378a83 · 5e42bcbc3fef6e759dfb4d3f4cfb394c382b4249 to < 9090c5537c93cd0811ab7bfbd925b57addfffb60 · 5e42bcbc3fef6e759dfb4d3f4cfb394c382b4249 to < 07ffcd8ec79cf7383e1e45815f4842fd357991c2 · 5e42bcbc3fef6e759dfb4d3f4cfb394c382b4249 to < 0718588c7aaa7a1510b4de972370535b61dddd0d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.1.64 through 6.1.* (unaffected · semver) · 6.5.13 through 6.5.* (unaffected · semver) · 6.6.3 through 6.6.* (unaffected · semver) · 6.7 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azureaarch64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azurex86_64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.14.2.150600.12.4.3 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.14.2.150600.12.4.3 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.14.2.150600.12.4.3 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-develnoarch | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-docsnoarch | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_10_5-rtx86_64 | Advisory build | 1-150600.1.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_14-defaultppc64le | Advisory build | 1-150600.13.3.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_14-defaults390x | Advisory build | 1-150600.13.3.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_14-defaultx86_64 | Advisory build | 1-150600.13.3.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-macrosnoarch | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-builds390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt-develx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debugx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debug-develx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-sourcenoarch | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-azurenoarch | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-rtnoarch | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symss390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azureaarch64 | Advisory build | 6.4.0-150600.8.8.1 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azurex86_64 | Advisory build | 6.4.0-150600.8.8.1 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-64kbaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-azureaarch64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-azurex86_64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-64kbaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-azureaarch64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-azurex86_64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-allwinneraarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-alteraaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-amazonaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-amdaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-amlogicaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-apmaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-appleaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-armaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: cxl/region: Do not try to cleanup after cxl_region_setup_targets() fails Commit 5e42bcbc3fef ("cxl/region: decrement ->nr_targets on error in cxl_region_attach()") tried to avoid 'eiw' initialization errors when ->nr_targets exceeded 16, by just decrementing ->nr_targets when cxl_region_setup_targets() failed. Commit 86987c766276 ("cxl/region: Cleanup target list on attach error") extended that cleanup to also clear cxled->pos and p->targets[pos]. The initialization error was incidentally fixed separately by: Commit 8d4285425714 ("cxl/region: Fix port setup uninitialized variable warnings") which was merged a few days after 5e42bcbc3fef. But now the original cleanup when cxl_region_setup_targets() fails prevents endpoint and switch decoder resources from being reused: 1) the cleanup does not set the decoder's region to NULL, which results in future dpa_size_store() calls returning -EBUSY 2) the decoder is not properly freed, which results in future commit errors associated with the upstream switch Now that the initialization errors were fixed separately, the proper cleanup for this case is to just return immediately. Then the resources associated with this target get cleanup up as normal when the failed region is deleted. The ->nr_targets decrement in the error case also helped prevent a p->targets[] array overflow, so add a new check to prevent against that overflow. Tested by trying to create an invalid region for a 2 switch * 2 endpoint topology, and then following up with creating a valid region.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5e42bcbc3fef6e759dfb4d3f4cfb394c382b4249 to < 90db4c1d5ebaf574d3c3065c055977982c378a83 (affected · git)5e42bcbc3fef6e759dfb4d3f4cfb394c382b4249 to < 9090c5537c93cd0811ab7bfbd925b57addfffb60 (affected · git)5e42bcbc3fef6e759dfb4d3f4cfb394c382b4249 to < 07ffcd8ec79cf7383e1e45815f4842fd357991c2 (affected · git)5e42bcbc3fef6e759dfb4d3f4cfb394c382b4249 to < 0718588c7aaa7a1510b4de972370535b61dddd0d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.0 (affected)0 to < 6.0 (unaffected · semver)6.1.64 through 6.1.* (unaffected · semver)6.5.13 through 6.5.* (unaffected · semver)6.6.3 through 6.6.* (unaffected · semver)6.7 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
cxl/region: Do not try to cleanup after cxl_region_setup_targets() fails
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 50f601d32188a82726ed6ec3e1b382a325e00749c3267a331f001bd535a56a4c
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record