Bug 2586230 (CVE-2026-138845) - CVE-2026-138845 kernel: kernel: Denial of Service via use-after-free during CXL downstream port removal
Summary: CVE-2026-138845 kernel: kernel: Denial of Service via use-after-free during C...
Keywords:
Status: NEW
Alias: CVE-2026-138845
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:36 UTC by OSIDB Bzimport
Modified: 2026-11-30 16:56 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:36:40 UTC
In the Linux kernel, the following vulnerability has been resolved:

cxl/port: Clear cached dport pointers when a dport is removed

Switch decoders cache dport pointers in cxlsd->target[], and nothing
clears them when a dport is freed. Readers then dereference freed memory.

KASAN caught it under a cxl_test load/unload loop with concurrent sysfs
reads (abbreviated).

Clear the matching slots from cxl_dport_remove(), walking the port's
decoders the way cxl_port_update_decoder_targets() does on the add side.
Scan all nr_targets slots, the target[] allocation size, and clear every
hit.


Note You need to log in before you can comment on or make changes to this bug.