Linux Kernel Media VIMC Driver Unregister Function Error Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's media VIMC driver, specifically in the initialization function 'vimc_init()'. When the function 'platform_driver_register(&vimc_pdrv)' fails, the driver incorrectly calls 'platform_driver_unregister(&vimc_pdrv)' instead of 'platform_device_unregister(&vimc_pdev)'. This mistake triggers a kernel warning about an unexpected driver unregistration. The issue has been addressed in the Linux kernel stable tree.

Impact

The vulnerability can lead to kernel warnings about unexpected driver unregistration, which may indicate potential issues in driver management or stability.

Reproduction

To reproduce this vulnerability, load the VIMC media driver as a module. During the initialization process, if the platform driver registration fails, observe the kernel warnings generated. The 'vimc_init()' function will incorrectly unregister the platform driver instead of the platform device, causing the warning.

Remediation

The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version.

Added: Sep 16, 2025, 6:32 PM
Updated: Sep 16, 2025, 6:32 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.0
exploitability
4.3
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.