In the Linux kernel, the following vulnerability has been resolved:
net: stmmac: Fix accessing freed irq affinity_hint
In stmmacrequestirqmultimsi(), a pointer to the stack variable cpumask is passed to irqsetaffinityhint(). This value is stored in irqdesc->affinityhint, but once stmmacrequestirqmultimsi() returns, the pointer becomes dangling.
The affinityhint is exposed via procfs with SIRUGO permissions, allowing any unprivileged process to read it. Accessing this stale pointer can lead to:
All platforms that use stmmac with PCI MSI (Intel, Loongson, etc) are affected.
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"174418429329240568640888370159664586606",
"271437842170705075664355416348759889146",
"306583487984125005721638154963826249808",
"319718140099757017962176618820997385663",
"339593077342249104839978642327617834426",
"331010147820436628463395254697827155993",
"277142355484336838113017970232445421322",
"298678161145422617662939584386840957778",
"299562921461522736088276492109871858403",
"265382774843558515545565150489026686207",
"339593077342249104839978642327617834426",
"331010147820436628463395254697827155993",
"20994540030845930875631480554238383584",
"120531768438614884969331758698146817819",
"51888675870253034930499068287875237505",
"214879050723990853310348081809465123054"
]
},
"target": {
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
},
"id": "CVE-2025-23155-168c6de6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c60d101a226f18e9a8f01bb4c6ca2b47dfcb15ef",
"signature_type": "Line"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"174418429329240568640888370159664586606",
"271437842170705075664355416348759889146",
"306583487984125005721638154963826249808",
"319718140099757017962176618820997385663",
"339593077342249104839978642327617834426",
"331010147820436628463395254697827155993",
"277142355484336838113017970232445421322",
"298678161145422617662939584386840957778",
"299562921461522736088276492109871858403",
"265382774843558515545565150489026686207",
"339593077342249104839978642327617834426",
"331010147820436628463395254697827155993",
"20994540030845930875631480554238383584",
"120531768438614884969331758698146817819",
"51888675870253034930499068287875237505",
"214879050723990853310348081809465123054"
]
},
"target": {
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
},
"id": "CVE-2025-23155-3f267b64",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@442312c2a90d60c7a5197246583fa91d9e579985",
"signature_type": "Line"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "202209640995679749918105436875628204037",
"length": 4005.0
},
"target": {
"function": "stmmac_request_irq_multi_msi",
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
},
"id": "CVE-2025-23155-5c0bc506",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9e51a6a44e2c4de780a26e8fe110d708e806a8cd",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"174418429329240568640888370159664586606",
"271437842170705075664355416348759889146",
"306583487984125005721638154963826249808",
"319718140099757017962176618820997385663",
"339593077342249104839978642327617834426",
"331010147820436628463395254697827155993",
"277142355484336838113017970232445421322",
"298678161145422617662939584386840957778",
"299562921461522736088276492109871858403",
"265382774843558515545565150489026686207",
"339593077342249104839978642327617834426",
"331010147820436628463395254697827155993",
"20994540030845930875631480554238383584",
"120531768438614884969331758698146817819",
"51888675870253034930499068287875237505",
"214879050723990853310348081809465123054"
]
},
"target": {
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
},
"id": "CVE-2025-23155-6d837933",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e148266e104fce396ad624079a6812ac3a9982ef",
"signature_type": "Line"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "202209640995679749918105436875628204037",
"length": 4005.0
},
"target": {
"function": "stmmac_request_irq_multi_msi",
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
},
"id": "CVE-2025-23155-7840d082",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@442312c2a90d60c7a5197246583fa91d9e579985",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "202209640995679749918105436875628204037",
"length": 4005.0
},
"target": {
"function": "stmmac_request_irq_multi_msi",
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
},
"id": "CVE-2025-23155-8fb9c6d3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e148266e104fce396ad624079a6812ac3a9982ef",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "202209640995679749918105436875628204037",
"length": 4005.0
},
"target": {
"function": "stmmac_request_irq_multi_msi",
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
},
"id": "CVE-2025-23155-aa807107",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c60d101a226f18e9a8f01bb4c6ca2b47dfcb15ef",
"signature_type": "Function"
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"174418429329240568640888370159664586606",
"271437842170705075664355416348759889146",
"306583487984125005721638154963826249808",
"319718140099757017962176618820997385663",
"339593077342249104839978642327617834426",
"331010147820436628463395254697827155993",
"277142355484336838113017970232445421322",
"298678161145422617662939584386840957778",
"299562921461522736088276492109871858403",
"265382774843558515545565150489026686207",
"339593077342249104839978642327617834426",
"331010147820436628463395254697827155993",
"20994540030845930875631480554238383584",
"120531768438614884969331758698146817819",
"51888675870253034930499068287875237505",
"214879050723990853310348081809465123054"
]
},
"target": {
"file": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
},
"id": "CVE-2025-23155-db4563b1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9e51a6a44e2c4de780a26e8fe110d708e806a8cd",
"signature_type": "Line"
}
]