Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-50226

published high CVSS 3.1 · 7.8

cxl/port: Fix use-after-free, permit out-of-order decoder shutdown

Published
09 Nov 2024, 10:14:37 UTC
Updated
30 Oct 2026, 12:19:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < 3ecd2b229f5e42b36b5acf0e82510a70a632f041 · 176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < 8e1b52c15c81106456437f8e49575040e489e355 · 176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < 78c8454fdce0eeee962be004eb6d99860c80dad1 · 176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < 101c268bd2f37e965a5468353e62d154db38838e · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.60 through 6.6.* (unaffected · semver) · 6.11.7 through 6.11.* (unaffected · semver) · 6.12 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
AlmaLinux 9 bpftool Advisory build 7.4.0-503.15.1.el9_5 ALSA-2024:10274
Debian bookworm linux Advisory build 6.1.192-1 DLA-4906-1
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.4.0-503.15.1.el9_5 ELSA-2024-10274
AlmaLinux 9 kernel Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 kernel-64k Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-debug Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-devel Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-doc Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-headers Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-modules Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-tools Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 libperf Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 perf Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 python3-perf Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 rtla Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
AlmaLinux 9 rv Advisory build 5.14.0-503.15.1.el9_5 ALSA-2024:10274
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.4.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 kernel-uki-virt-addonsx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-503.15.1.el9_5 ELSA-2024-10274

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/port: Fix use-after-free, permit out-of-order decoder shutdown In support of investigating an initialization failure report [1], cxl_test was updated to register mock memory-devices after the mock root-port/bus device had been registered. That led to cxl_test crashing with a use-after-free bug with the following signature: cxl_port_attach_region: cxl region3: cxl_host_bridge.0:port3 decoder3.0 add: mem0:decoder7.0 @ 0 next: cxl_switch_uport.0 nr_eps: 1 nr_targets: 1 cxl_port_attach_region: cxl region3: cxl_host_bridge.0:port3 decoder3.0 add: mem4:decoder14.0 @ 1 next: cxl_switch_uport.0 nr_eps: 2 nr_targets: 1 cxl_port_setup_targets: cxl region3: cxl_switch_uport.0:port6 target[0] = cxl_switch_dport.0 for mem0:decoder7.0 @ 0 1) cxl_port_setup_targets: cxl region3: cxl_switch_uport.0:port6 target[1] = cxl_switch_dport.4 for mem4:decoder14.0 @ 1 [..] cxld_unregister: cxl decoder14.0: cxl_region_decode_reset: cxl_region region3: mock_decoder_reset: cxl_port port3: decoder3.0 reset 2) mock_decoder_reset: cxl_port port3: decoder3.0: out of order reset, expected decoder3.1 cxl_endpoint_decoder_release: cxl decoder14.0: [..] cxld_unregister: cxl decoder7.0: 3) cxl_region_decode_reset: cxl_region region3: Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6bc3: 0000 [#1] PREEMPT SMP PTI [..] RIP: 0010:to_cxl_port+0x8/0x60 [cxl_core] [..] Call Trace: <TASK> cxl_region_decode_reset+0x69/0x190 [cxl_core] cxl_region_detach+0xe8/0x210 [cxl_core] cxl_decoder_kill_region+0x27/0x40 [cxl_core] cxld_unregister+0x5d/0x60 [cxl_core] At 1) a region has been established with 2 endpoint decoders (7.0 and 14.0). Those endpoints share a common switch-decoder in the topology (3.0). At teardown, 2), decoder14.0 is the first to be removed and hits the "out of order reset case" in the switch decoder. The effect though is that region3 cleanup is aborted leaving it in-tact and referencing decoder14.0. At 3) the second attempt to teardown region3 trips over the stale decoder14.0 object which has long since been deleted. The fix here is to recognize that the CXL specification places no mandate on in-order shutdown of switch-decoders, the driver enforces in-order allocation, and hardware enforces in-order commit. So, rather than fail and leave objects dangling, always remove them. In support of making cxl_region_decode_reset() always succeed, cxl_region_invalidate_memregion() failures are turned into warnings. Crashing the kernel is ok there since system integrity is at risk if caches cannot be managed around physical address mutation events like CXL region destruction. A new device_for_each_child_reverse_from() is added to cleanup port->commit_end after all dependent decoders have been disabled. In other words if decoders are allocated 0->1->2 and disabled 1->2->0 then port->commit_end only decrements from 2 after 2 has been disabled, and it decrements all the way to zero since 1 was disabled previously.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

19

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < 3ecd2b229f5e42b36b5acf0e82510a70a632f041 (affected · git)176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < 8e1b52c15c81106456437f8e49575040e489e355 (affected · git)176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < 78c8454fdce0eeee962be004eb6d99860c80dad1 (affected · git)176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < 101c268bd2f37e965a5468353e62d154db38838e (affected · git)Default: unaffected Linux · cna
Linux Linux 6.0 (affected)0 to < 6.0 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.60 through 6.6.* (unaffected · semver)6.11.7 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

cxl/port: Fix use-after-free, permit out-of-order decoder shutdown

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
052d7ca843aab8bde43a5429a12f83356335700af6ef81d4c0a9d052c71d779e
Ingested
30 Oct 2026, 12:31:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected