CVE-2022-50340Reachable Assertion in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 97.08%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 16

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:

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel4.135.10.163+3
Debianlinux/linux_kernel< 5.10.178-1+3
CVEListV5linux/linux4a29b70907496aa9da79112ec31cf9cf2b972c3f14d85b600bb1f6f8ef61fa8fc1907e2e623d8350+5
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-50340: In the Linux kernel, the following vulnerability has been resolved: media: vimc: Fix wrong function called when vimc_init() fails In vimc_init(), when2025-09-16
GHSA
GHSA-9xrg-r2hf-q6rm: In the Linux kernel, the following vulnerability has been resolved: media: vimc: Fix wrong function called when vimc_init() fails In vimc_init(), wh2025-09-16

📋Vendor Advisories

2
Red Hat
kernel: media: vimc: Fix wrong function called when vimc_init() fails2025-09-16
Debian
CVE-2022-50340: linux - In the Linux kernel, the following vulnerability has been resolved: media: vimc...2022
CVE-2022-50340 — Reachable Assertion in Linux | cvebase