AZL-117118: CVE-2026-139417 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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

platform/x86/amd/pmc: clear devm-managed pointers on remove to prevent stale reuse

The driver stores its state in a single file-scope static struct amdpmcdev, which is reused on every bind. Its regbase, smuvirtaddr, stbvirtaddr and fchvirtaddr members are MMIO mappings created with devmioremap().

On unbind the driver core unmaps these mappings, but it does not clear the pointers in the static struct. Since the struct is not freed, the members keep pointing at the now-unmapped addresses.

On the next bind, the probe path re-maps a region only when its pointer is still NULL, so the stale pointer is reused and the following memcpyfromio()/ioread32() touches freed MMIO, causing use-after-unmap crash. Clear these pointers in amdpmcremove() so the next probe re-maps them instead of reusing stale ones.

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 the Linux kernel AMD PMC driver, clear the devm-managed MMIO mapping pointers in amd_pmc_remove() (including regbase, smu_virt_addr, stb_virt_addr, and fch_virt_addr) so the next probe remaps them.

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

When can this issue be triggered?

The vulnerable path requires the AMD PMC driver to be unbound and then bound again. During the subsequent probe, stale MMIO pointers can be reused, leading to accesses to mappings that were removed.

2

What is the likely impact of successful triggering?

The described outcome is a use-after-unmap access to MMIO that can cause a system crash. The provided information does not describe privilege escalation, information disclosure, or remote exploitation.

3

What should be done if the package cannot be updated immediately?

Avoid unbinding and rebinding the affected AMD PMC driver, since that lifecycle sequence triggers stale pointer reuse. The data does not provide another mitigation or configuration workaround.

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