CVE-2022-50267NULL Pointer Dereference in Linux

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

Description

In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_pci: 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, beside, runtime PM also needs be disabled.

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.85.15.86+2
Debianlinux/linux_kernel< 6.1.4-1+2
CVEListV5linux/linuxff984e57d36e8ac468849a144a36f1c11f88b61c30dc645461dfc63e52b3af8ee4a98e17bf14bacf+4
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-50267: In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_pci: fix return value check of mmc_add_host() mmc_add_host() may return2025-09-15
GHSA
GHSA-542m-h257-c5wg: In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_pci: fix return value check of mmc_add_host() mmc_add_host() may retur2025-09-15

📋Vendor Advisories

2
Red Hat
kernel: Linux kernel: Denial of Service via unchecked return value in mmc_add_host()2025-09-15
Debian
CVE-2022-50267: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_p...2022
CVE-2022-50267 — NULL Pointer Dereference in Linux | cvebase