CVE-2025-23155: net: stmmac: Fix accessing freed irq affinity_hint

Published May 1, 2025
·
Updated

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

net: stmmac: Fix accessing freed irq affinityhint

In stmmacrequestirqmultimsi(), a pointer to the stack variable cpumask is passed to irqsetaffinityhint(). This value is stored in irqdesc->affinityhint, but once stmmacrequestirqmultimsi() returns, the pointer becomes dangling.

The affinityhint is exposed via procfs with SIRUGO permissions, allowing any unprivileged process to read it. Accessing this stale pointer can lead to:

- a kernel oops or panic if the referenced memory has been released and unmapped, or - leakage of kernel data into userspace if the memory is re-used for other purposes.

All platforms that use stmmac with PCI MSI (Intel, Loongson, etc) are affected.

Affected Software

7 affected componentsFixes available
Linux Kernel
Microsoft cbl2 kernel 5.15.186.1-1
Microsoft azl3 kernel 6.6.104.2-4
Linux Linux kernel>=5.13<6.12.36
Linux Linux kernel>=6.13<6.13.12
Linux Linux kernel>=6.14<6.14.3
Microsoft azl3 kernel 6.6.112.1-2<6.6.117.1-1
6.6.117.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.117.1-1

Event History

May 1, 2025
CVE Published
via MITRE·12:55 PM
Data Sourced
via MITRE·12:55 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityAffected Software
Sep 3, 2025
Data Sourced
via Microsoft·11:04 PM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·11:04 PM
Affected Software
Sep 4, 2025
Updated
via Microsoft·06:04 AM
DescriptionSeverity
Updated
via Microsoft·06:04 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-23155?

CVE-2025-23155 has a medium severity rating, indicating that it can potentially lead to information exposure or system instability.

2

How do I fix CVE-2025-23155?

To fix CVE-2025-23155, ensure that your Linux kernel is updated to the latest version where the vulnerability has been patched.

3

What systems are affected by CVE-2025-23155?

CVE-2025-23155 affects various versions of the Linux Kernel utilized in numerous Linux distributions.

4

What does CVE-2025-23155 specifically address?

CVE-2025-23155 addresses an issue in the Linux kernel related to accessing freed irq affinity_hint, which could lead to undefined behavior.

5

Is CVE-2025-23155 an active threat?

As of now, there are no confirmed active exploits for CVE-2025-23155, but prompt remediation is advised to mitigate potential risks.

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