CVE-2025-40221 Details
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.
A vulnerability in the Linux kernel's media PCI MG4B driver could lead to the unintentional exposure of uninitialized stack data to userspace. This issue arises because the 'scan' structure is not properly initialized before it is used. The vulnerability has been addressed by modifying the driver to ensure that the 'scan' structure is zeroed out prior to use.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit addressing this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/b792eba44494b4e6ab5006013335f9819f303b8b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b7f82da7f86479cb6479a76ebe213ece7c77398f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/c0d3f6969bb4d72476cfe7ea9263831f1c283704 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 4, 2025 | New CVE Received | kernel.org |
Volerion