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

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2025-11-12 · Modified: 2026-05-23
- Aliases: UBUNTU-CVE-2025-40197, DEBIAN-CVE-2025-40197
- Record: https://cvemate.com/vulnerability/CVE-2025-40197 · JSON: https://cvemate.com/vulnerability/CVE-2025-40197/json

## Description

```text
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.
```

## Signals

- CVSS: none published
- EPSS: 0.21%, percentile 11.751%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 85)

- debian linux (Debian): \< 6.1.158-1 \| \< 6.12.57-1 \| \< 6.17.6-1
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-edge (Ubuntu): All versions (No fix recorded)

## 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>
- <https://ubuntu.com/security/CVE-2025-40197>
- <https://www.cve.org/CVERecord?id=CVE-2025-40197>
- <https://git.kernel.org/linus/8cfc8cec1b4da88a47c243a11f384baefd092a50>
- <https://security-tracker.debian.org/tracker/CVE-2025-40197>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-40197>

---

Data as of 2026-12-05T03:59:37.104Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
