CVE-2026-138845
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Not affected | — |
| sid | linux |
Fixed | 7.3.4-1 |
| forky | linux |
Fixed | 7.3.4-1 |
| bookworm | linux |
Not affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | 6.18 | |
References
- https://git.kernel.org/stable/c/019560d23450a320f4060ff235563a5277ea8033
- https://git.kernel.org/stable/c/5b7d1d7287a82460e4863a7305ad05fbc33f5ae8
- https://git.kernel.org/stable/c/988997e24b4f4680bf5f9eefd4c8e805474db318
- https://security-tracker.debian.org/tracker/CVE-2026-138845
- https://www.suse.com/security/cve/CVE-2026-138845.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.