{"id":"CVE-2025-40197","aliases":["CVE-2025-40197"],"related":[],"kind":"vulnerability","state":"published","title":"media: mc: Clear minor number before put device","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmedia: mc: Borrar número menor antes de liberar el dispositivo\n\nEl número menor del dispositivo no debería ser borrado después de que el dispositivo sea liberado.","source":"nvd"}],"published":"2025-11-12T21:56:32.852Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"dd156f44ea82cc249f46c519eed3b2f8983c8002","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"64dbc6f50ce92b7da203b1bcdd96a370bbc9b74d","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"5d327391f9fafeb0938be4fc538dd0bd54a0b2ef","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"8f52c7f38f0f2ee2afc331e6b873acba5e9490a8","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"7bd4e5367d0940ccec4d7546bb6bd019ab2c71aa","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"7db47e737128b3585ae679b709b85f3f44cd8750","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"ac01416d477c2dc6016782635ae022f8cc634a29","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"8cfc8cec1b4da88a47c243a11f384baefd092a50","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4.301","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10.246","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15.195","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1.157","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6.113","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12.54","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.4.301","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.246","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.195","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.157","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.113","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.54","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.4","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/dd156f44ea82cc249f46c519eed3b2f8983c8002","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/64dbc6f50ce92b7da203b1bcdd96a370bbc9b74d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d327391f9fafeb0938be4fc538dd0bd54a0b2ef","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f52c7f38f0f2ee2afc331e6b873acba5e9490a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7bd4e5367d0940ccec4d7546bb6bd019ab2c71aa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7db47e737128b3585ae679b709b85f3f44cd8750","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac01416d477c2dc6016782635ae022f8cc634a29","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8cfc8cec1b4da88a47c243a11f384baefd092a50","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40197","url":"https://www.cve.org/CVERecord?id=CVE-2025-40197","licence":"CVE Terms of Use","modified":"2026-05-23T16:01:38.372Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40197","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40197","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.596Z","epss":{"score":0.0021,"percentile":0.11786,"date":"2026-12-01T12:00:22.000Z"}}