CVE-2022-50245Use After Free in Linux

CWE-416Use After Free5 documents5 sources
Severity
7.8HIGHNVD
EPSS
0.0%
top 96.12%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 15

Description

In the Linux kernel, the following vulnerability has been resolved: rapidio: fix possible UAF when kfifo_alloc() fails If kfifo_alloc() fails in mport_cdev_open(), goto err_fifo and just free priv. But priv is still in the chdev->file_list, then list traversal may cause UAF. This fixes the following smatch warning: drivers/rapidio/devices/rio_mport_cdev.c:1930 mport_cdev_open() warn: '&priv->list' not removed from list

CVSS vector

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

Affected Packages4 packages

NVDlinux/linux_kernel4.64.9.337+7
Debianlinux/linux_kernel< 5.10.178-1+3
CVEListV5linux/linuxe8de370188d098bb49483c287b44925957c3c9b62a6c75adf8192f07ddcdd4a1a13488c890a73919+9
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-50245: In the Linux kernel, the following vulnerability has been resolved: rapidio: fix possible UAF when kfifo_alloc() fails If kfifo_alloc() fails in mport2025-09-15
GHSA
GHSA-v4vx-qxh4-8ww4: In the Linux kernel, the following vulnerability has been resolved: rapidio: fix possible UAF when kfifo_alloc() fails If kfifo_alloc() fails in mpo2025-09-15

📋Vendor Advisories

2
Red Hat
kernel: rapidio: fix possible UAF when kfifo_alloc() fails2025-09-15
Debian
CVE-2022-50245: linux - In the Linux kernel, the following vulnerability has been resolved: rapidio: fi...2022
CVE-2022-50245 — Use After Free in Linux | cvebase