CVE-2025-40197 json
media: mc: Clear minor number before put device
published 2025-11-12 11 mo ago modified 2026-10-19 20 d ago also EUVD-2025-150377
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 11%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.4.301, 5.10.246, 5.15.195, 6.1.157, 6.6.113, 6.12.54, 6.17.4, 6.18
- linux Debian 12 6.1.158-1
- linux Debian 13 6.12.57-1
- linux Debian 14 6.17.6-1
debian advisories DEBIAN-CVE-2025-40197
- kernel-rt Linux Micro 6.2 6.12.0-160000.8.1
- kernel-64kb SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.8.1
- kernel-source SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.8.1
- kernel-default SLES 16.0, SLE High Availability Extension 16.0, Linux Micro 6.2 +1 more 6.12.0-160000.8.1
- kernel-default-base SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.8.1.160000.2.5
- kernel-syms SLES 16.0, Linux Micro Extras 6.2, SLES for SAP applications 16.0 6.12.0-160000.8.1
- kernel-obs-qa SLES for SAP applications 16.0, SLES 16.0 6.12.0-160000.8.1
- kernel-kvmsmall SLES for SAP applications 16.0, SLES 16.0 6.12.0-160000.8.1
suse advisories SUSE-SU-2026:20012-1SUSE-SU-2026:20015-1SUSE-SU-2026:20021-1SUSE-SU-2026:20562-1
- kernel-rt openSUSE Leap 16.0 6.12.0-160000.8.1
- dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.8.1
- kernel-64kb openSUSE Leap 16.0 6.12.0-160000.8.1
- kernel-syms openSUSE Leap 16.0 6.12.0-160000.8.1
- kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.8.1
- kernel-source openSUSE Leap 16.0 6.12.0-160000.8.1
- kernel-default openSUSE Leap 16.0 6.12.0-160000.8.1
- kernel-kvmsmall openSUSE Leap 16.0 6.12.0-160000.8.1
opensuse advisories openSUSE-SU-2025:20172-1
- git.kernel.org/stable/c/dd156f44ea82cc249f46c519eed3b2f8983c8002 commit
- git.kernel.org/stable/c/64dbc6f50ce92b7da203b1bcdd96a370bbc9b74d commit
- git.kernel.org/stable/c/5d327391f9fafeb0938be4fc538dd0bd54a0b2ef commit
- git.kernel.org/stable/c/8f52c7f38f0f2ee2afc331e6b873acba5e9490a8 commit
- git.kernel.org/stable/c/7bd4e5367d0940ccec4d7546bb6bd019ab2c71aa commit
- git.kernel.org/stable/c/7db47e737128b3585ae679b709b85f3f44cd8750 commit
- git.kernel.org/stable/c/ac01416d477c2dc6016782635ae022f8cc634a29 commit
- git.kernel.org/stable/c/8cfc8cec1b4da88a47c243a11f384baefd092a50 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-40197 updated cvss 4.7
kernel: media: mc: Clear minor number before put device
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: workaround, no fix available
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/dd156f44ea82cc249f46c519eed3b2f8983c8002
- git.kernel.org /stable/c/64dbc6f50ce92b7da203b1bcdd96a370bbc9b74d
- git.kernel.org /stable/c/5d327391f9fafeb0938be4fc538dd0bd54a0b2ef
- git.kernel.org /stable/c/8f52c7f38f0f2ee2afc331e6b873acba5e9490a8
- git.kernel.org /stable/c/7bd4e5367d0940ccec4d7546bb6bd019ab2c71aa
- git.kernel.org /stable/c/7db47e737128b3585ae679b709b85f3f44cd8750
- git.kernel.org /stable/c/ac01416d477c2dc6016782635ae022f8cc634a29
- git.kernel.org /stable/c/8cfc8cec1b4da88a47c243a11f384baefd092a50
Sources
- CVE List CVE-2025-40197
- NVD CVE-2025-40197
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.