CVE-2025-40221
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.
Affected versions
Linux kernel versions
6.7
and later are affected. Fixed in
6.12.54,
6.17.4,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-40221 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b792eba44494b4e6ab5006013335f9819f303b8b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b7f82da7f86479cb6479a76ebe213ece7c77398f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/c0d3f6969bb4d72476cfe7ea9263831f1c283704
Frequently asked questions
-
What is CVE-2025-40221?
CVE-2025-40221 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.7 onward and has been patched in 6.12.54, 6.17.4 and 6.18. CVE-2025-40221 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40221?
Yes — CVE-2025-40221 has been patched. Fixed versions include 6.12.54, 6.17.4 and 6.18. If you are running Linux kernel 6.7 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40221 actively exploited?
No — CVE-2025-40221 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.