CVE-2025-40197: media: mc: Clear minor number before put device
In the Linux kernel, the following vulnerability has been resolved:
media: mc: Clear minor number before put device
The device minor should not be cleared after the device is released.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.4.301 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.246 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.195 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.157 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.113 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.54 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.17.4
Event History
Frequently Asked Questions
What is the severity of CVE-2025-40197?
CVE-2025-40197 is classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2025-40197?
To fix CVE-2025-40197, you should update your Linux kernel to the latest version that includes the security patch.
What are the potential impacts of CVE-2025-40197?
The impacts of CVE-2025-40197 could include improper handling of device minor numbers, potentially leading to information disclosure or system instability.
Which versions of the Linux kernel are affected by CVE-2025-40197?
CVE-2025-40197 affects specific versions of the Linux kernel, and you should consult the latest security advisories for details.
Is CVE-2025-40197 actively exploited in the wild?
As of the latest information, there have been no confirmed reports of active exploitation of CVE-2025-40197 in the wild.