CVE-2022-50119

MEDIUM

Linux Kernel 5.19-5.19.2 - Use-After-Free in rpmsg_register_device_override Error Path

Title source: llm
STIX 2.1

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.

Scores

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

Details

Status published
Products (13)
linux/Kernel 5.19.0 - 5.19.2linux
Linux/Linux < 5.19
Linux/Linux 3d14785980571ebb313a976e589b9d3563adc704 - 01e6885b75e25a2dd0726455ef18ef9ce5e7dc87
Linux/Linux 5.19
Linux/Linux 5.19.2 - 5.19.*
Linux/Linux 5f1bb9f4d4b55c39180329c4e379aa740039eed3 - 3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f
Linux/Linux 6.0
Linux/Linux b585daa34a0a852e6d5e553132b411b6a0192d27 - 280ae5a028ef5d14ef9277746a3026a30aaebe4f
Linux/Linux bb17d110cbf270d5247a6e261c5ad50e362d1675 - c29335612ff44df979678a38e1f55c62004f421c
Linux/Linux bb17d110cbf270d5247a6e261c5ad50e362d1675 - d7bd416d35121c95fe47330e09a5c04adbc5f928
... and 3 more
Published Jun 18, 2025
Tracked Since Feb 18, 2026