All reports
Medium

kernel: media: mc: Clear minor number before put device

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40197

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Linux kernel’s media controller (“mc”) subsystem: the code incorrectly clears the device minor number when media_devnode_release() / media_devnode_unregister() is called, even though the device is already released