CVE-2025-23155 json
net: stmmac: Fix accessing freed irq affinity_hint
published 2025-05-01 18 mo ago modified 2026-08-05 3 mo ago also EUVD-2025-13082
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 6.1.164, 6.6.117, 6.12.36, 6.13.12, 6.14.3, 6.15
- linux Debian 12 6.1.164-1
- linux Debian 14, Debian 13 6.12.37-1
debian advisories DEBIAN-CVE-2025-23155
- linux Ubuntu 24.04 LTS 6.8.0-100.100
- linux-aws Ubuntu 24.04 LTS 6.8.0-1046.49
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1047.50
- linux-gke Ubuntu 24.04 LTS 6.8.0-1043.48
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1044.44
- linux-azure Ubuntu 24.04 LTS 6.8.0-1046.52
- linux-gkeop Ubuntu 24.04 LTS 6.8.0-1030.33
- linux-raspi Ubuntu 24.04 LTS 6.8.0-1047.51
ubuntu advisories UBUNTU-CVE-2025-23155
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.133.1
- kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.133.1
- kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.179.1
- kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.179.1
- kernel-source SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.179.1
- kernel-default SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +7 more 5.14.21-150400.24.179.1
- kernel-zfcpdump SLES 15 SP4-LTSS, Manager Server LTS 4.3 5.14.21-150400.24.179.1
- kernel-obs-build SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.179.1
suse advisories SUSE-SU-2025:3716-1SUSE-SU-2025:03628-1SUSE-SU-2025:02923-1SUSE-SU-2025:02538-1SUSE-SU-2025:02335-1SUSE-SU-2025:02333-1
- git.kernel.org/stable/c/2fbf67ddb8a0d0efc00d2df496a9843ec318d48b commit
- git.kernel.org/stable/c/960dab23f6d405740c537d095f90a4ee9ddd9285 commit
- git.kernel.org/stable/c/442312c2a90d60c7a5197246583fa91d9e579985 commit
- git.kernel.org/stable/c/e148266e104fce396ad624079a6812ac3a9982ef commit
- git.kernel.org/stable/c/9e51a6a44e2c4de780a26e8fe110d708e806a8cd commit
- git.kernel.org/stable/c/c60d101a226f18e9a8f01bb4c6ca2b47dfcb15ef commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-23155 updated
kernel: net: stmmac: Fix accessing freed irq affinity_hint
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/2fbf67ddb8a0d0efc00d2df496a9843ec318d48b
patch
-
git.kernel.org
/stable/c/960dab23f6d405740c537d095f90a4ee9ddd9285
patch
-
git.kernel.org
/stable/c/442312c2a90d60c7a5197246583fa91d9e579985
patch
-
git.kernel.org
/stable/c/e148266e104fce396ad624079a6812ac3a9982ef
patch
-
git.kernel.org
/stable/c/9e51a6a44e2c4de780a26e8fe110d708e806a8cd
patch
-
git.kernel.org
/stable/c/c60d101a226f18e9a8f01bb4c6ca2b47dfcb15ef
patch
Sources
- CVE List CVE-2025-23155
- NVD CVE-2025-23155
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.