CVE-2025-23155
MediumIn the Linux kernel, the following vulnerability has been resolved: net: stmmac: Fix accessing freed irq affinity_hint In stmmac_request_irq_multi_msi(), a pointer to the stack variable cpu_mask is passed to irq_set_affinity_hint(). This value is stored in irq_desc->affinity_hint, but once stmmac_request_irq_multi_msi() returns, the pointer becomes dangling. The affinity_hint is exposed via procfs with S_IRUGO 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
5.13
and later are affected. Fixed in
6.1.164,
6.6.117,
6.12.36,
6.13.12,
6.14.3,
6.15
and their respective stable series.
References
The following references provide additional information about CVE-2025-23155 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2fbf67ddb8a0d0efc00d2df496a9843ec318d48b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/442312c2a90d60c7a5197246583fa91d9e579985
-
PatchKernel patch commithttps://git.kernel.org/stable/c/960dab23f6d405740c537d095f90a4ee9ddd9285
Frequently asked questions
-
What is CVE-2025-23155?
CVE-2025-23155 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.13 onward and has been patched in 6.1.164, 6.6.117, 6.12.36 and others. CVE-2025-23155 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-23155?
CVE-2025-23155 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-23155?
Yes — CVE-2025-23155 has been patched. Fixed versions include 6.1.164, 6.6.117, 6.12.36 and others. If you are running Linux kernel 5.13 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-23155 actively exploited?
No — CVE-2025-23155 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.