Security mailing lists by PureSourceCode

CVE-2026-138845

not scored yet

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

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 8330671c57c7056ef5e1e8dccfcdda7d5fe6d0b0, < 5b7d1d7287a82460e4863a7305ad05fbc33f5ae8; >= 8330671c57c7056ef5e1e8dccfcdda7d5fe6d0b0, < 988997e24b4f4680bf5f9eefd4c8e805474db318; >= 8330671c57c7056ef5e1e8dccfcdda7d5fe6d0b0, < 019560d23450a320f4060ff235563a5277ea8033 5b7d1d7287a82460e4863a7305ad05fbc33f5ae8, 988997e24b4f4680bf5f9eefd4c8e805474db318, 019560d23450a320f4060ff235563a5277ea8033
CVE List Linux Linux = 6.18

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.