{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40221","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T07:20:57.180Z","datePublished":"2025-12-04T14:50:45.439Z","dateUpdated":"2026-05-11T21:45:07.864Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:45:07.864Z"},"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/pci/mgb4/mgb4_trigger.c"],"versions":[{"version":"0ab13674a9bd10514486cf1670d71dbd8afec421","lessThan":"b7f82da7f86479cb6479a76ebe213ece7c77398f","status":"affected","versionType":"git"},{"version":"0ab13674a9bd10514486cf1670d71dbd8afec421","lessThan":"b792eba44494b4e6ab5006013335f9819f303b8b","status":"affected","versionType":"git"},{"version":"0ab13674a9bd10514486cf1670d71dbd8afec421","lessThan":"c0d3f6969bb4d72476cfe7ea9263831f1c283704","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/pci/mgb4/mgb4_trigger.c"],"versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","status":"unaffected","versionType":"semver"},{"version":"6.12.54","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.4","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.17.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.18"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/b7f82da7f86479cb6479a76ebe213ece7c77398f"},{"url":"https://git.kernel.org/stable/c/b792eba44494b4e6ab5006013335f9819f303b8b"},{"url":"https://git.kernel.org/stable/c/c0d3f6969bb4d72476cfe7ea9263831f1c283704"}],"title":"media: pci: mg4b: fix uninitialized iio scan data","x_generator":{"engine":"bippy-1.2.0"}}}}