CVE-2022-50340

MEDIUM

Linux Kernel 4.13-<5.10.163 5.11-<5.15.86 5.16-<6.0.16 6.1-<6.1.2 - Reachable Assertion in vimc_init() Error Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: media: vimc: Fix wrong function called when vimc_init() fails In vimc_init(), when platform_driver_register(&vimc_pdrv) fails, platform_driver_unregister(&vimc_pdrv) is wrongly called rather than platform_device_unregister(&vimc_pdev), which causes kernel warning: Unexpected driver unregister! WARNING: CPU: 1 PID: 14517 at drivers/base/driver.c:270 driver_unregister+0x8f/0xb0 RIP: 0010:driver_unregister+0x8f/0xb0 Call Trace: <TASK> vimc_init+0x7d/0x1000 [vimc] do_one_initcall+0xd0/0x4e0 do_init_module+0x1cf/0x6b0 load_module+0x65c2/0x7820

Scores

CVSS v3 5.5
EPSS 0.0014
EPSS Percentile 4.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-617
Status published
Products (17)
linux/Kernel 4.13.0 - 5.10.163linux
linux/Kernel 5.11.0 - 5.15.86linux
linux/Kernel 5.16.0 - 6.0.16linux
linux/Kernel 6.1.0 - 6.1.2linux
Linux/Linux < 4.13
Linux/Linux 4.13
Linux/Linux 4a29b70907496aa9da79112ec31cf9cf2b972c3f - 14d85b600bb1f6f8ef61fa8fc1907e2e623d8350
Linux/Linux 4a29b70907496aa9da79112ec31cf9cf2b972c3f - 681ac2902039d9b497b3ae18fdc204314979e61e
Linux/Linux 4a29b70907496aa9da79112ec31cf9cf2b972c3f - 9c9ff35d68691aaea85b2e93763772e23930b3a3
Linux/Linux 4a29b70907496aa9da79112ec31cf9cf2b972c3f - f38df8984ef1b45ba23888d0e232cc21a95bd04b
... and 7 more
Published Sep 16, 2025
Tracked Since Feb 18, 2026