CVE-2022-50119

MediumCVSS 5.5/10Last modified Jun 17, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

rpmsg: Fix possible refcount leak in rpmsg_register_device_override()

rpmsg_register_device_override need to call put_device to free vch when driver_set_override fails.

Fix this by adding a put_device() to the error path.

Metrics

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

Affected software

VendorProductVersions
LinuxLinux>= b585daa34a0a852e6d5e553132b411b6a0192d27, < 280ae5a028ef5d14ef9277746a3026a30aaebe4f; >= c14c6676ad5b78950a45121a7ee6cfb85778e71f, < c449b28e437d18ae807479c4ac6b69d87b287c79; >= 3d14785980571ebb313a976e589b9d3563adc704, < 01e6885b75e25a2dd0726455ef18ef9ce5e7dc87; >= 5f1bb9f4d4b55c39180329c4e379aa740039eed3, < 3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f; >= bfd4a664ddfbe12f008efb0b0ab6bf25a8ab2538, < d4c8bf5635c4bedaf2470761ced1f502b2d5434e; >= bb17d110cbf270d5247a6e261c5ad50e362d1675, < c29335612ff44df979678a38e1f55c62004f421c; >= bb17d110cbf270d5247a6e261c5ad50e362d1675, < d7bd416d35121c95fe47330e09a5c04adbc5f928
LinuxLinux5.19

References

Timeline

Published
Jun 18, 2025
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2022

CVE-2022-501205.5In the Linux kernel, the following vulnerability has been resolved: remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init of_parCVE-2022-501215.5In the Linux kernel, the following vulnerability has been resolved: remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init Every itCVE-2022-501225.5In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_pCVE-2022-501235.5In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_pCVE-2022-501245.5In the Linux kernel, the following vulnerability has been resolved: ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe of_pCVE-2022-501255.5In the Linux kernel, the following vulnerability has been resolved: ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe CVE-2022-501265.5In the Linux kernel, the following vulnerability has been resolved: jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal abCVE-2022-501275.5In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix error unwind in rxe_create_qp() In the function rxe_creaCVE-2022-501297.8In the Linux kernel, the following vulnerability has been resolved: RDMA/srpt: Fix a use-after-free Change the LIO port members inside strCVE-2022-501305.5In the Linux kernel, the following vulnerability has been resolved: staging: fbtft: core: set smem_len before fb_deferred_io_init call TheCVE-2022-501317.8In the Linux kernel, the following vulnerability has been resolved: HID: mcp2221: prevent a buffer overflow in mcp_smbus_write() Smatch WaCVE-2022-501325.5In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_deq
CVE-2022-50119: Medium severity, CVSS 5.5 | Vulnix