CVE-2025-40197

Source
https://cve.org/CVERecord?id=CVE-2025-40197
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40197.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40197
Downstream
Related
Published
2025-11-12T21:56:32.852Z
Modified
2026-03-20T12:43:12.856448Z
Summary
media: mc: Clear minor number before put device
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40197.json"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2025-40197.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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/osv-test-cve-osv-conversion/osv-output/CVE-2025-40197.json"