Skip to content
OpenAdvisories
Unscored CVE-2025-40197 EUVD-2025-150377GHSA-qcmj-qqpx-xfgc

media: mc: Clear minor number before put device

Published Nov 12, 2025 · Updated May 23, 2026 · Assigned by Linux

Vendor: Linux Product: Linux Package: kernel Package: linux Package: linux-allwinner-5.19 Package: linux-aws-5.0 Package: linux-aws-5.11 Package: linux-aws-5.13 Package: linux-aws-5.19 Package: linux-aws-5.3 Package: linux-aws-5.8 Package: linux-aws-6.2 Package: linux-aws-6.5 Package: linux-azure Package: linux-azure-5.11 Package: linux-azure-5.13 Package: linux-azure-5.19 Package: linux-azure-5.3 Package: linux-azure-5.8 Package: linux-azure-6.11 Package: linux-azure-6.2 Package: linux-azure-6.5 Package: linux-azure-edge Package: linux-azure-fde Package: linux-azure-fde-5.19 Package: linux-azure-fde-6.2 Package: linux-gcp Package: linux-gcp-5.11 Package: linux-gcp-5.13 Package: linux-gcp-5.19 Package: linux-gcp-5.3 Package: linux-gcp-5.8 Package: linux-gcp-6.11 Package: linux-gcp-6.2 Package: linux-gcp-6.5 Package: linux-gke Package: linux-gke-4.15 Package: linux-gke-5.15 Package: linux-gke-5.4 Package: linux-gkeop Package: linux-gkeop-5.15 Package: linux-gkeop-5.4 Package: linux-hwe Package: linux-hwe-5.11 Package: linux-hwe-5.13 Package: linux-hwe-5.19 Package: linux-hwe-5.8 Package: linux-hwe-6.11 Package: linux-hwe-6.2 Package: linux-hwe-6.5 Package: linux-hwe-edge Package: linux-intel-5.13 Package: linux-intel-iot-realtime Package: linux-lowlatency-hwe-5.19 Package: linux-lowlatency-hwe-6.11 Package: linux-lowlatency-hwe-6.2 Package: linux-lowlatency-hwe-6.5 Package: linux-nvidia-6.2 Package: linux-nvidia-6.5 Package: linux-oem Package: linux-oem-5.10 Package: linux-oem-5.13 Package: linux-oem-5.14 Package: linux-oem-5.17 Package: linux-oem-5.6 Package: linux-oem-6.0 Package: linux-oem-6.1 Package: linux-oem-6.11 Package: linux-oem-6.5 Package: linux-oem-6.8 Package: linux-oracle-5.0 Package: linux-oracle-5.11 Package: linux-oracle-5.13 Package: linux-oracle-5.3 Package: linux-oracle-5.8 Package: linux-oracle-6.5 Package: linux-raspi-realtime Package: linux-raspi2 Package: linux-realtime Package: linux-riscv Package: linux-riscv-5.11 Package: linux-riscv-5.19 Package: linux-riscv-5.8 Package: linux-riscv-6.5 Package: linux-starfive-5.19 Package: linux-starfive-6.2 Package: linux-starfive-6.5 Platform: Linux Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

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.

Affected products

VendorProductAffectedFixed
Linux Linux < 5.4.301, < 5.10.246, < 5.15.195, < 6.1.157, < 6.6.113, < 6.12.54, < 6.17.4 5.4.301

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 6.17.6-1 —
Debian 13 linux 6.12.57-1 —
Debian 12 linux 6.1.158-1 —
Debian 11 linux 5.10.247-1 DLA-4404-1
Debian 11 linux-6.1 6.1.158-1~deb11u1 DLA-4379-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-riscv +8 No fix yet —
Ubuntu 22.04 LTS linux-riscv +32 No fix yet —
Ubuntu 20.04 LTS linux-gke +28 No fix yet —
Ubuntu 18.04 LTS linux-gcp +14 No fix yet —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 kernel-64kb +7 6.12.0-160000.8.1 SUSE-SU-2026:20015-1
SLES for SAP 16.0 kernel-default-base 6.12.0-160000.8.1.160000.2.5 SUSE-SU-2026:20015-1
SLES 16.0 kernel-64kb +7 6.12.0-160000.8.1 SUSE-SU-2026:20021-1, SUSE-SU-2026:20015-1
SLES 16.0 kernel-default-base 6.12.0-160000.8.1.160000.2.5 SUSE-SU-2026:20015-1
SLE Micro 6.2 kernel-default-base 6.12.0-160000.8.1.160000.2.5 SUSE-SU-2026:20012-1
SLE Micro 6.2 kernel-rt +5 6.12.0-160000.8.1 SUSE-SU-2026:20562-1, SUSE-SU-2026:20012-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 kernel-default-base 6.12.0-160000.8.1.160000.2.5 openSUSE-SU-2025:20172-1
openSUSE Leap 16.0 kernel-rt +10 6.12.0-160000.8.1 openSUSE-SU-2025:20172-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 kernel-livepatch-6.12.55-74.119 +1 1:1.0-0.amzn2023 ALAS2023-2025-1316, ALAS2023-2025-1297
Amazon Linux 2023 perf +14 1:6.1.158-178.288.amzn2023 ALAS2023-2025-1297
Amazon Linux 2023 perf6.12 +14 1:6.12.55-74.119.amzn2023 ALAS2023-2025-1316

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 kernel 6.6.117.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 bpftool +18 5.15.0-315.196.5.1.el9uek ELSA-2025-28048
Oracle Linux 7 kernel-uek +6 5.4.17-2136.350.3.1.el8uek ELSA-2025-28049
Oracle Linux 7 kernel-uek-tools 5.4.17-2136.350.3.1.el7uek ELSA-2025-28049

Advisories 12

References