AZL-117151: CVE-2026-139454 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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

cxl/port: Attach endpoints to a dport under the lock that pins it

devmcxlenumerateports() and addportattachep() look up or create a dport under its port's device lock, drop the lock, then pass the dport to cxladdep(). addep() reads dport->port before taking the lock, and cxlgpfportsetup() reads and writes the dport with no lock held.

A concurrent cxldetachep() for another memdev below the same port can free the dport in that window: it calls deldports() under the port lock when the last endpoint leaves. The enumerating memdev then dereferences freed memory.

Attach the endpoint and set up GPF while the port lock from the lookup is still held. Make addep() assert that lock instead of taking it. Under the lock, a dport found in port->dports is still live, since removal erases it from the xarray before freeing it.

[ dj: Added kdoc update from Alison. ]

Affected Software

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

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 deployments are exposed to this issue?

Systems using the Azure Linux kernel package version 6.6.161.1-1 are affected. The race involves CXL port endpoint enumeration and requires multiple memory devices beneath the same port.

2

What activity triggers the vulnerable race?

One memory device must be enumerating or attaching an endpoint while another memory device under the same port concurrently detaches its endpoint. If the detaching device is the last endpoint, it can remove and free the shared dport while enumeration still uses it, causing a freed-memory dereference.

3

What synchronization change resolves the race?

The resolved implementation keeps the port device lock held while attaching the endpoint and performing GPF setup. This ensures that a dport found in the port's dport collection remains live until the lock is released.

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