CVE-2025-40197
publishedmedia: mc: Clear minor number before put device
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < dd156f44ea82cc249f46c519eed3b2f8983c8002 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 64dbc6f50ce92b7da203b1bcdd96a370bbc9b74d · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5d327391f9fafeb0938be4fc538dd0bd54a0b2ef · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8f52c7f38f0f2ee2afc331e6b873acba5e9490a8 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7bd4e5367d0940ccec4d7546bb6bd019ab2c71aa · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7db47e737128b3585ae679b709b85f3f44cd8750 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < ac01416d477c2dc6016782635ae022f8cc634a29 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8cfc8cec1b4da88a47c243a11f384baefd092a50 · 0 to < 5.4.301 · 0 to < 5.10.246 · 0 to < 5.15.195 · 0 to < 6.1.157 · 0 to < 6.6.113 · 0 to < 6.12.54 · 0 to < 6.17.4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.4.301 through 5.4.* · 5.10.246 through 5.10.* · 5.15.195 through 5.15.* · 6.1.157 through 6.1.* · 6.6.113 through 6.6.* · 6.12.54 through 6.12.* · 6.17.4 through 6.17.* · 6.18 and later · Other versions: affected | Unaffected | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-112 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1297 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1316 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux | Advisory build | 5.10.247-1 | DLA-4404-1 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.158-1~deb11u1 | DLA-4379-1 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek64kaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek64k-coreaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek64k-develaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek64k-modulesaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kbaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kb-develaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < dd156f44ea82cc249f46c519eed3b2f8983c8002 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 64dbc6f50ce92b7da203b1bcdd96a370bbc9b74d (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5d327391f9fafeb0938be4fc538dd0bd54a0b2ef (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8f52c7f38f0f2ee2afc331e6b873acba5e9490a8 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7bd4e5367d0940ccec4d7546bb6bd019ab2c71aa (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7db47e737128b3585ae679b709b85f3f44cd8750 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < ac01416d477c2dc6016782635ae022f8cc634a29 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8cfc8cec1b4da88a47c243a11f384baefd092a50 (affected · git)0 to < 5.4.301 (affected · semver)0 to < 5.10.246 (affected · semver)0 to < 5.15.195 (affected · semver)0 to < 6.1.157 (affected · semver)0 to < 6.6.113 (affected · semver)0 to < 6.12.54 (affected · semver)0 to < 6.17.4 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.4.301 through 5.4.* (unaffected · semver)5.10.246 through 5.10.* (unaffected · semver)5.15.195 through 5.15.* (unaffected · semver)6.1.157 through 6.1.* (unaffected · semver)6.6.113 through 6.6.* (unaffected · semver)6.12.54 through 6.12.* (unaffected · semver)6.17.4 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/5d327391f9fafeb0938be4fc538dd0bd54a0b2ef
- https://git.kernel.org/stable/c/64dbc6f50ce92b7da203b1bcdd96a370bbc9b74d
- https://git.kernel.org/stable/c/7bd4e5367d0940ccec4d7546bb6bd019ab2c71aa
- https://git.kernel.org/stable/c/7db47e737128b3585ae679b709b85f3f44cd8750
- https://git.kernel.org/stable/c/8cfc8cec1b4da88a47c243a11f384baefd092a50
- https://git.kernel.org/stable/c/8f52c7f38f0f2ee2afc331e6b873acba5e9490a8
- https://git.kernel.org/stable/c/ac01416d477c2dc6016782635ae022f8cc634a29
- https://git.kernel.org/stable/c/dd156f44ea82cc249f46c519eed3b2f8983c8002
Provider assertions
1Linux · cna
media: mc: Clear minor number before put device
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 12d1a55f40f01cb85b0eb411b642bdd7160a30bc555a8300ba4ae0300a653a84
- Ingested
- 23 Sep 2026, 08:48:04 UTC
- Source record
- Official CVE record