CVE-2022-50245

HighCVSS 7.8/10Last modified Jun 17, 2026

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

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= e8de370188d098bb49483c287b44925957c3c9b6, < 2a6c75adf8192f07ddcdd4a1a13488c890a73919; >= e8de370188d098bb49483c287b44925957c3c9b6, < 2dfd60724d271a6ab99f93f40f38f2ced1ddbb87; >= e8de370188d098bb49483c287b44925957c3c9b6, < a253dde0403a153075ffb254f6f7b2635e49e97a; >= e8de370188d098bb49483c287b44925957c3c9b6, < 311b488405ac45af46756b1c8f1d27007b68b07e; >= e8de370188d098bb49483c287b44925957c3c9b6, < 5ee850645e42f541ce1ea8130c2b27cc495f965c; >= e8de370188d098bb49483c287b44925957c3c9b6, < 2f5cc7fd73fd6253cc71214f0dd499cc62feb469; >= e8de370188d098bb49483c287b44925957c3c9b6, < 2ba06e57f933f0eac242e8b389433da1cc00d4d5; >= e8de370188d098bb49483c287b44925957c3c9b6, < cb87af2c19c0993f6e21f75b963a5599c5a73e76; >= e8de370188d098bb49483c287b44925957c3c9b6, < 02d7d89f816951e0862147d751b1150d67aaebdd
LinuxLinux4.6

References

Timeline

Published
Sep 15, 2025
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2022

CVE-2022-502465.5In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpci: fix of node refcount leak in tcpci_register_port() CVE-2022-502475.5In the Linux kernel, the following vulnerability has been resolved: usb: xhci-mtk: fix leakage of shared hcd when fail to set wakeup irq CCVE-2022-502487.8In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: mvm: fix double free on tx path. We see kernel crashes CVE-2022-502495.5In the Linux kernel, the following vulnerability has been resolved: memory: of: Fix refcount leak bug in of_get_ddr_timings() We should adCVE-2022-502505.5In the Linux kernel, the following vulnerability has been resolved: regulator: core: fix use_count leakage when handling boot-on I found aCVE-2022-502515.5In the Linux kernel, the following vulnerability has been resolved: mmc: vub300: fix return value check of mmc_add_host() mmc_add_host() mCVE-2022-502527.8In the Linux kernel, the following vulnerability has been resolved: igb: Do not free q_vector unless new one was allocated Avoid potentialCVE-2022-502535.5In the Linux kernel, the following vulnerability has been resolved: bpf: make sure skb->len != 0 when redirecting to a tunneling device syCVE-2022-502545.5In the Linux kernel, the following vulnerability has been resolved: media: ov8865: Fix an error handling path in ov8865_probe() The commitCVE-2022-502557.1In the Linux kernel, the following vulnerability has been resolved: tracing: Fix reading strings from synthetic events The follow commandsCVE-2022-502567.8In the Linux kernel, the following vulnerability has been resolved: drm/meson: remove drm bridges at aggregate driver unbind time drm bridCVE-2022-502575.5In the Linux kernel, the following vulnerability has been resolved: xen/gntdev: Prevent leaking grants Prior to this commit, if a grant ma
CVE-2022-50245: High severity, CVSS 7.8 | Vulnix