In the Linux kernel, the following vulnerability has been resolved:
dmaengine: idxd: fix memory leak in error handling path of idxd_alloc
Memory allocated for idxd is not freed if an error occurs during idxd_alloc(). To fix it, free the allocated memory in the reverse order of allocation before exiting the function in case of an error.
[
{
"signature_version": "v1",
"id": "CVE-2025-38015-076b792a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"51797763334848303198099261148493485291",
"204944993203966769457835976468424362161",
"294444239501756450435859747675934631012",
"181069586141153671160483486099790598735",
"150326548481064205372537911918977456875",
"99654412096425264200218053310900207906",
"295246002018698326241803433375374133865",
"210345027105355241805900420585298722682",
"269597962911191619657727287881704888260",
"292813337155254418027494978017408051196",
"311970447788630054508894163148989755461",
"145590172626695485146342757858175550065",
"169312353982284624115292458469427351896",
"292443721689803942197596772709833152329",
"214528485866799781950078867940831212295",
"172582560550999906648992698137428932025",
"149000283071273736900114400339681706533",
"27956858966239390799205060239027294814",
"282110417494778753521464723414374387312",
"11496124133787513496757837739905038392",
"1317846381809342128093033111749361718"
]
},
"target": {
"file": "drivers/dma/idxd/init.c"
}
},
{
"signature_version": "v1",
"id": "CVE-2025-38015-0fa51244",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46a5cca76c76c86063000a12936f8e7875295838",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"51797763334848303198099261148493485291",
"204944993203966769457835976468424362161",
"294444239501756450435859747675934631012",
"181069586141153671160483486099790598735",
"150326548481064205372537911918977456875",
"99654412096425264200218053310900207906",
"295246002018698326241803433375374133865",
"210345027105355241805900420585298722682",
"269597962911191619657727287881704888260",
"292813337155254418027494978017408051196",
"311970447788630054508894163148989755461",
"145590172626695485146342757858175550065",
"169312353982284624115292458469427351896",
"292443721689803942197596772709833152329",
"214528485866799781950078867940831212295",
"172582560550999906648992698137428932025",
"149000283071273736900114400339681706533",
"27956858966239390799205060239027294814",
"282110417494778753521464723414374387312",
"11496124133787513496757837739905038392",
"1317846381809342128093033111749361718"
]
},
"target": {
"file": "drivers/dma/idxd/init.c"
}
},
{
"signature_version": "v1",
"id": "CVE-2025-38015-1ce8994f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4f005eb68890698e5abc6a3af04dab76f175c50c",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"51797763334848303198099261148493485291",
"204944993203966769457835976468424362161",
"294444239501756450435859747675934631012",
"181069586141153671160483486099790598735",
"150326548481064205372537911918977456875",
"99654412096425264200218053310900207906",
"295246002018698326241803433375374133865",
"210345027105355241805900420585298722682",
"269597962911191619657727287881704888260",
"292813337155254418027494978017408051196",
"311970447788630054508894163148989755461",
"145590172626695485146342757858175550065",
"169312353982284624115292458469427351896",
"292443721689803942197596772709833152329",
"214528485866799781950078867940831212295",
"172582560550999906648992698137428932025",
"149000283071273736900114400339681706533",
"27956858966239390799205060239027294814",
"282110417494778753521464723414374387312",
"11496124133787513496757837739905038392",
"1317846381809342128093033111749361718"
]
},
"target": {
"file": "drivers/dma/idxd/init.c"
}
},
{
"signature_version": "v1",
"id": "CVE-2025-38015-256b6fb8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64afd9a1f644b27661420257dcc007d5009c99dd",
"deprecated": false,
"signature_type": "Function",
"digest": {
"length": 931.0,
"function_hash": "30842274812128597185853793421071820920"
},
"target": {
"file": "drivers/dma/idxd/init.c",
"function": "idxd_alloc"
}
},
{
"signature_version": "v1",
"id": "CVE-2025-38015-2942e15b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4f005eb68890698e5abc6a3af04dab76f175c50c",
"deprecated": false,
"signature_type": "Function",
"digest": {
"length": 931.0,
"function_hash": "30842274812128597185853793421071820920"
},
"target": {
"file": "drivers/dma/idxd/init.c",
"function": "idxd_alloc"
}
},
{
"signature_version": "v1",
"id": "CVE-2025-38015-54a18d11",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46a5cca76c76c86063000a12936f8e7875295838",
"deprecated": false,
"signature_type": "Function",
"digest": {
"length": 931.0,
"function_hash": "30842274812128597185853793421071820920"
},
"target": {
"file": "drivers/dma/idxd/init.c",
"function": "idxd_alloc"
}
},
{
"signature_version": "v1",
"id": "CVE-2025-38015-5d82de07",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@868dbce755ec92855362d213f47e045a8388361a",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"51797763334848303198099261148493485291",
"204944993203966769457835976468424362161",
"294444239501756450435859747675934631012",
"181069586141153671160483486099790598735",
"150326548481064205372537911918977456875",
"99654412096425264200218053310900207906",
"295246002018698326241803433375374133865",
"210345027105355241805900420585298722682",
"269597962911191619657727287881704888260",
"292813337155254418027494978017408051196",
"311970447788630054508894163148989755461",
"145590172626695485146342757858175550065",
"169312353982284624115292458469427351896",
"292443721689803942197596772709833152329",
"214528485866799781950078867940831212295",
"172582560550999906648992698137428932025",
"149000283071273736900114400339681706533",
"27956858966239390799205060239027294814",
"282110417494778753521464723414374387312",
"11496124133787513496757837739905038392",
"1317846381809342128093033111749361718"
]
},
"target": {
"file": "drivers/dma/idxd/init.c"
}
},
{
"signature_version": "v1",
"id": "CVE-2025-38015-9c042b32",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64afd9a1f644b27661420257dcc007d5009c99dd",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"51797763334848303198099261148493485291",
"204944993203966769457835976468424362161",
"294444239501756450435859747675934631012",
"181069586141153671160483486099790598735",
"150326548481064205372537911918977456875",
"99654412096425264200218053310900207906",
"295246002018698326241803433375374133865",
"210345027105355241805900420585298722682",
"269597962911191619657727287881704888260",
"292813337155254418027494978017408051196",
"311970447788630054508894163148989755461",
"145590172626695485146342757858175550065",
"169312353982284624115292458469427351896",
"292443721689803942197596772709833152329",
"214528485866799781950078867940831212295",
"172582560550999906648992698137428932025",
"149000283071273736900114400339681706533",
"27956858966239390799205060239027294814",
"282110417494778753521464723414374387312",
"11496124133787513496757837739905038392",
"1317846381809342128093033111749361718"
]
},
"target": {
"file": "drivers/dma/idxd/init.c"
}
},
{
"signature_version": "v1",
"id": "CVE-2025-38015-c4856be7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@868dbce755ec92855362d213f47e045a8388361a",
"deprecated": false,
"signature_type": "Function",
"digest": {
"length": 931.0,
"function_hash": "30842274812128597185853793421071820920"
},
"target": {
"file": "drivers/dma/idxd/init.c",
"function": "idxd_alloc"
}
},
{
"signature_version": "v1",
"id": "CVE-2025-38015-e7292a3a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0",
"deprecated": false,
"signature_type": "Function",
"digest": {
"length": 931.0,
"function_hash": "30842274812128597185853793421071820920"
},
"target": {
"file": "drivers/dma/idxd/init.c",
"function": "idxd_alloc"
}
}
]