# CVE-2025-40197: media: mc: Clear minor number before put device

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-11-12T21:56:32.852Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before dd156f44ea82cc249f46c519eed3b2f8983c8002; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 64dbc6f50ce92b7da203b1bcdd96a370bbc9b74d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5d327391f9fafeb0938be4fc538dd0bd54a0b2ef; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8f52c7f38f0f2ee2afc331e6b873acba5e9490a8; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7bd4e5367d0940ccec4d7546bb6bd019ab2c71aa; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7db47e737128b3585ae679b709b85f3f44cd8750; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ac01416d477c2dc6016782635ae022f8cc634a29; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8cfc8cec1b4da88a47c243a11f384baefd092a50; before 5.4.301; before 5.10.246; before 5.15.195; before 6.1.157; and 3 more (not affected: from 5.4.301 up to 5.4.*; from 5.10.246 up to 5.10.*; from 5.15.195 up to 5.15.*; from 6.1.157 up to 6.1.*; from 6.6.113 up to 6.6.*; from 6.12.54 up to 6.12.*; from 6.17.4 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/dd156f44ea82cc249f46c519eed3b2f8983c8002>
- <https://git.kernel.org/stable/c/64dbc6f50ce92b7da203b1bcdd96a370bbc9b74d>
- <https://git.kernel.org/stable/c/5d327391f9fafeb0938be4fc538dd0bd54a0b2ef>
- <https://git.kernel.org/stable/c/8f52c7f38f0f2ee2afc331e6b873acba5e9490a8>
- <https://git.kernel.org/stable/c/7bd4e5367d0940ccec4d7546bb6bd019ab2c71aa>
- <https://git.kernel.org/stable/c/7db47e737128b3585ae679b709b85f3f44cd8750>
- <https://git.kernel.org/stable/c/ac01416d477c2dc6016782635ae022f8cc634a29>
- <https://git.kernel.org/stable/c/8cfc8cec1b4da88a47c243a11f384baefd092a50>

## Sources

- CVE List: [CVE-2025-40197](https://www.cve.org/CVERecord?id=CVE-2025-40197), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2025-40197](https://nvd.nist.gov/vuln/detail/CVE-2025-40197), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40197 · Whole record: https://cve.day/CVE-2025-40197.json · Rebuilt by cve.day 2026-11-25T22:59:07.596Z
