{"id":"CVE-2025-40197","summary":"media: mc: Clear minor number before put device","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mc: Clear minor number before put device\n\nThe device minor should not be cleared after the device is released.","modified":"2026-04-02T12:48:19.112072Z","published":"2025-11-12T21:56:32.852Z","related":["SUSE-SU-2026:20012-1","SUSE-SU-2026:20015-1","SUSE-SU-2026:20021-1","openSUSE-SU-2025:20172-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40197.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5d327391f9fafeb0938be4fc538dd0bd54a0b2ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/64dbc6f50ce92b7da203b1bcdd96a370bbc9b74d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7bd4e5367d0940ccec4d7546bb6bd019ab2c71aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7db47e737128b3585ae679b709b85f3f44cd8750"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8cfc8cec1b4da88a47c243a11f384baefd092a50"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f52c7f38f0f2ee2afc331e6b873acba5e9490a8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac01416d477c2dc6016782635ae022f8cc634a29"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd156f44ea82cc249f46c519eed3b2f8983c8002"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40197.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40197"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"},{"fixed":"dd156f44ea82cc249f46c519eed3b2f8983c8002"},{"fixed":"64dbc6f50ce92b7da203b1bcdd96a370bbc9b74d"},{"fixed":"5d327391f9fafeb0938be4fc538dd0bd54a0b2ef"},{"fixed":"8f52c7f38f0f2ee2afc331e6b873acba5e9490a8"},{"fixed":"7bd4e5367d0940ccec4d7546bb6bd019ab2c71aa"},{"fixed":"7db47e737128b3585ae679b709b85f3f44cd8750"},{"fixed":"ac01416d477c2dc6016782635ae022f8cc634a29"},{"fixed":"8cfc8cec1b4da88a47c243a11f384baefd092a50"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40197.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.301"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.246"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.195"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40197.json"}}],"schema_version":"1.7.5"}