CVE-2025-40221
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: media: pci: mg4b: fix uninitialized iio scan data Fix potential leak of uninitialized stack data to userspace by ensuring that the `scan` structure is zeroed before use.
Severity
Not scored
CVSS score
Not available
Vulnerability status
Deferred
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-12-04 15:15:58.200000
Last modified
2026-10-19 19:10:00.130000
View original CVE JSON
{
"id": "CVE-2025-40221",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2025-12-04T15:15:58.200",
"lastModified": "2026-10-19T19:10:00.130",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: pci: mg4b: fix uninitialized iio scan data\n\nFix potential leak of uninitialized stack data to userspace by ensuring\nthat the `scan` structure is zeroed before use."
},
{
"lang": "es",
"value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmedia: pci: mg4b: soluciona datos de escaneo iio no inicializados\n\nSoluciona una posible fuga de datos de pila no inicializados al espacio de usuario asegurando que la estructura 'scan' se inicialice a cero antes de su uso."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/media/pci/mgb4/mgb4_trigger.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "0ab13674a9bd10514486cf1670d71dbd8afec421",
"lessThan": "b7f82da7f86479cb6479a76ebe213ece7c77398f",
"versionType": "git",
"status": "affected"
},
{
"version": "0ab13674a9bd10514486cf1670d71dbd8afec421",
"lessThan": "b792eba44494b4e6ab5006013335f9819f303b8b",
"versionType": "git",
"status": "affected"
},
{
"version": "0ab13674a9bd10514486cf1670d71dbd8afec421",
"lessThan": "c0d3f6969bb4d72476cfe7ea9263831f1c283704",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/media/pci/mgb4/mgb4_trigger.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "6.7",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.7",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.54",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.17.4",
"lessThanOrEqual": "6.17.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/b792eba44494b4e6ab5006013335f9819f303b8b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/b7f82da7f86479cb6479a76ebe213ece7c77398f",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/c0d3f6969bb4d72476cfe7ea9263831f1c283704",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}