CVE-2022-50347NULL Pointer Dereference in Linux

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

Description

In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, the memory that allocated in mmc_alloc_host() will be leaked and it will lead a kernel crash because of deleting not added device in the remove path. So fix this by checking the return value and calling mmc_free_host() in the error path, besides, led_classdev_unregister() and pm_runtime_disable() also

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_kernel3.164.9.337+7
Debianlinux/linux_kernel< 5.10.178-1+3
CVEListV5linux/linuxc7f6558d84afe60016b8103c0737df6e376a1c2dd7ad7278be401b09c9f9a9f522cf4c449c7fd489+9
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-50347: In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host() mmc_add_host() may r2025-09-16
GHSA
GHSA-hfch-pvj6-jwpc: In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host() mmc_add_host() may2025-09-16

📋Vendor Advisories

2
Red Hat
kernel: mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()2025-09-16
Debian
CVE-2022-50347: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_u...2022
CVE-2022-50347 — NULL Pointer Dereference in Linux | cvebase