CVE-2022-49787

MEDIUM

Linux Kernel 4.4-6.0.10 Use-After-Free in SDHCI PCI Device Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put() pci_get_device() will increase the reference count for the returned pci_dev. We need to use pci_dev_put() to decrease the reference count before amd_probe() returns. There is no problem for the 'smbus_dev == NULL' branch because pci_dev_put() can also handle the NULL input parameter case.

Scores

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

Details

CWE
CWE-401
Status published
Products (24)
linux/Kernel 4.15.0 - 4.19.267linux
linux/Kernel 4.20.0 - 5.4.225linux
linux/Kernel 4.4.0 - 4.14.300linux
linux/Kernel 5.11.0 - 5.15.80linux
linux/Kernel 5.16.0 - 6.0.10linux
linux/Kernel 5.5.0 - 5.10.156linux
Linux/Linux < 4.4
Linux/Linux 4.14.300 - 4.14.*
Linux/Linux 4.19.267 - 4.19.*
Linux/Linux 4.4
... and 14 more
Published May 01, 2025
Tracked Since Feb 18, 2026