CVE-2026-138845

medium

Description

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.

References

https://git.kernel.org/stable/c/988997e24b4f4680bf5f9eefd4c8e805474db318

https://git.kernel.org/stable/c/5b7d1d7287a82460e4863a7305ad05fbc33f5ae8

https://git.kernel.org/stable/c/019560d23450a320f4060ff235563a5277ea8033

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-138548

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00207