{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-23155","id":"CVE-2025-23155","title":"net: stmmac: Fix accessing freed irq affinity_hint","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: Fix accessing freed irq affinity_hint\n\nIn stmmac_request_irq_multi_msi(), a pointer to the stack variable\ncpu_mask is passed to irq_set_affinity_hint(). This value is stored in\nirq_desc->affinity_hint, but once stmmac_request_irq_multi_msi()\nreturns, the pointer becomes dangling.\n\nThe affinity_hint is exposed via pro","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: Fix accessing freed irq affinity_hint\n\nIn stmmac_request_irq_multi_msi(), a pointer to the stack variable\ncpu_mask is passed to irq_set_affinity_hint(). This value is stored in\nirq_desc->affinity_hint, but once stmmac_request_irq_multi_msi()\nreturns, the pointer becomes dangling.\n\nThe affinity_hint is exposed via procfs with S_IRUGO permissions,\nallowing any unprivileged process to read it. Accessing this stale\npointer can lead to:\n\n- a kernel oops or panic if the referenced memory has been released and\n  unmapped, or\n- leakage of kernel data into userspace if the memory is re-used for\n  other purposes.\n\nAll platforms that use stmmac with PCI MSI (Intel, Loongson, etc) are\naffected.","published":"2025-05-01T12:55:41.607Z","updated":"2026-10-28T02:30:22.321641371Z","reserved":"2025-01-11T14:28:41.514Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8deec94c6040bb4a767f6e9456a0a44c7f2e713e","lessThan":"2fbf67ddb8a0d0efc00d2df496a9843ec318d48b","status":"affected","versionType":"git"},{"version":"8deec94c6040bb4a767f6e9456a0a44c7f2e713e","lessThan":"960dab23f6d405740c537d095f90a4ee9ddd9285","status":"affected","versionType":"git"},{"version":"8deec94c6040bb4a767f6e9456a0a44c7f2e713e","lessThan":"442312c2a90d60c7a5197246583fa91d9e579985","status":"affected","versionType":"git"},{"version":"8deec94c6040bb4a767f6e9456a0a44c7f2e713e","lessThan":"e148266e104fce396ad624079a6812ac3a9982ef","status":"affected","versionType":"git"},{"version":"8deec94c6040bb4a767f6e9456a0a44c7f2e713e","lessThan":"9e51a6a44e2c4de780a26e8fe110d708e806a8cd","status":"affected","versionType":"git"},{"version":"8deec94c6040bb4a767f6e9456a0a44c7f2e713e","lessThan":"c60d101a226f18e9a8f01bb4c6ca2b47dfcb15ef","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","lessThan":"5.13","status":"unaffected","versionType":"semver"},{"version":"6.1.164","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.117","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.36","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.12","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14.3","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2fbf67ddb8a0d0efc00d2df496a9843ec318d48b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/960dab23f6d405740c537d095f90a4ee9ddd9285","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/442312c2a90d60c7a5197246583fa91d9e579985","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e148266e104fce396ad624079a6812ac3a9982ef","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9e51a6a44e2c4de780a26e8fe110d708e806a8cd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c60d101a226f18e9a8f01bb4c6ca2b47dfcb15ef","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23155.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23155","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00208,"epssPercentile":0.11028,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-23155","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23155","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-23155","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-23155","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}