Vendors › Linux

CVE-2025-40197

N/A (no CVSS assigned) EPSS 0.3% Linux · drivers

Linux kernel: media: mc: Clear minor number before put device

A vulnerability in the Linux kernel drivers subsystem (drivers/media/mc/mc-devnode.c), assigned CVE-2025-40197. The issue was introduced in kernel 0 and is fixed in 5.4.301, 5.10.246, 5.15.195, 6.1.157, 6.6.113, 6.12.54, 6.17.4, 6.18. Updating to a fixed stable release resolves it.

Published2025-11-12
Updated2026-05-24
AffectedLinux kernel 0 and later, before the fix (fixed in 5.4.301, 5.10.246, 5.15.195, 6.1.157, 6.6.113, 6.12.54, 6.17.4, 6.18)
FixUpdate to kernel 5.4.301, 5.10.246, 5.15.195, 6.1.157, 6.6.113, 6.12.54, 6.17.4, 6.18 or later
Vendor advisoryhttps://cve.org/CVERecord/?id=CVE-2025-40197

CVEs (1)

CVECWETypeImpactLinks
CVE-2025-40197—OtherOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.