CVE-2025-23155: net: stmmac: Fix accessing freed irq affinity_hint
Vulnerability summary
CVE-2025-23155 is a high (CVSS 7.1) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.9% of scored vulnerabilities.
Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 32 · Related 30Timeline
- 01-05-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In 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 metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu127 products
- linuxAll versions (No fix recorded) | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 8deec94c6040bb4a767f6e9456a0a44c7f2e713e, < 2fbf67ddb8a0d0efc00d2df496a9843ec318d48b | ≥ 8deec94c6040bb4a767f6e9456a0a44c7f2e713e, < 960dab23f6d405740c537d095f90a4ee9ddd9285 | ≥ 8deec94c6040bb4a767f6e9456a0a44c7f2e713e, < 442312c2a90d60c7a5197246583fa91d9e579985 | ≥ 8deec94c6040bb4a767f6e9456a0a44c7f2e713e, < e148266e104fce396ad624079a6812ac3a9982ef | ≥ 8deec94c6040bb4a767f6e9456a0a44c7f2e713e, < 9e51a6a44e2c4de780a26e8fe110d708e806a8cd | ≥ 8deec94c6040bb4a767f6e9456a0a44c7f2e713e, < c60d101a226f18e9a8f01bb4c6ca2b47dfcb15ef | 5.13
- linux_kernel≥ 5.13, < 6.12.36 | ≥ 6.13, < 6.13.12 | ≥ 6.14, < 6.14.3
Debian1 product
- linux< 6.1.164-1 | < 6.12.37-1
3 vendors · 130 products