CVE-2025-23155

MEDIUM

Linux Kernel 5.13-6.14.2 - Unauthenticated Kernel Data Leak via stmmac IRQ Affinity Hint

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0018
EPSS Percentile 7.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (20)
linux/Kernel 5.13.0 - 6.1.164linux
linux/Kernel 6.13.0 - 6.13.12linux
linux/Kernel 6.14.0 - 6.14.3linux
linux/Kernel 6.2.0 - 6.6.117linux
linux/Kernel 6.7.0 - 6.12.36linux
Linux/Linux < 5.13
Linux/Linux 5.13
Linux/Linux 6.1.164 - 6.1.*
Linux/Linux 6.12.36 - 6.12.*
Linux/Linux 6.13.12 - 6.13.*
... and 10 more
Published May 01, 2025
Tracked Since Feb 18, 2026