AZL-117154: CVE-2026-139455 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

cxl/core: Hold the dport host lock across dport lookup and use

Callers of cxlpcifindport() and cxlmemfindport() can be handed a 'struct cxldport' that is already freed, and all four dereference it without the lock that would prevent that.

A dport is kzalloc()'d into a devres group on its host device, so it dies when that host unbinds. The host is &port->dev for a switch port and port->uportdev for the root port.

Both helpers return the dport through an output parameter. The caller's port reference pins struct cxlport, not the dport allocation, and the lookup itself is a bare xaload() under no lock.

Add cxlportdporthost() to name the device that pins a dport, and cxlpcifinddport() / cxlmemfinddport() to look one up with that device's lock held and asserted. Convert the four callers to use them and bail if the dport is gone. cxlportadddport() already follows this rule.

cxlmemprobe() chose its endpoint devm host from dport->rch, which meant dereferencing the dport before taking any lock. Use cxlportdporthost(): rch dports only ever land on the root port, so it selects the same device without needing the dport.

With every caller converted, the dport output parameter of cxlpcifindport() and cxlmemfindport() is unused. Drop it.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In Linux kernel CXL core, convert the four callers to use cxl_pci_find_dport()/cxl_mem_find_dport() with the dport host’s lock held across lookup and use; bail out if the dport is gone. Use cxl_port_dport_host() to identify the host device.

Event History

Nov 30, 2026
Advisory Published
via OSV·02:19 PM
Data Sourced
via OSV·02:19 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the affected Azure Linux kernel package with CXL support are exposed when CXL ports or their host devices can be unbound while code is looking up and using CXL dports. The issue involves CXL PCI and CXL memory dport lookup paths.

2

What condition is required to trigger the vulnerability?

A CXL dport must be freed as its host device unbinds while a caller performs an unlocked dport lookup or dereferences the returned dport. The affected callers previously pinned the CXL port, but that reference did not pin the dport allocation.

3

How does the fix prevent the race?

The fix holds the dport host device lock across lookup and use, and updates callers to bail out when the dport is no longer present. It also uses a helper to identify the device that pins a dport before accessing it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203