CVE-2022-50119

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.
Configurations

Configuration 1 (hide)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

18 Nov 2025, 18:12

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE NVD-CWE-Other
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux
Linux linux Kernel
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rpmsg: Se corrige una posible fuga de recuento en rpmsg_register_device_override(). rpmsg_register_device_override necesita llamar a put_device para liberar vch cuando driver_set_override falla. Se soluciona añadiendo put_device() a la ruta de error.
References () https://git.kernel.org/stable/c/01e6885b75e25a2dd0726455ef18ef9ce5e7dc87 - () https://git.kernel.org/stable/c/01e6885b75e25a2dd0726455ef18ef9ce5e7dc87 - Patch
References () https://git.kernel.org/stable/c/280ae5a028ef5d14ef9277746a3026a30aaebe4f - () https://git.kernel.org/stable/c/280ae5a028ef5d14ef9277746a3026a30aaebe4f - Patch
References () https://git.kernel.org/stable/c/3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f - () https://git.kernel.org/stable/c/3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f - Patch
References () https://git.kernel.org/stable/c/c29335612ff44df979678a38e1f55c62004f421c - () https://git.kernel.org/stable/c/c29335612ff44df979678a38e1f55c62004f421c - Patch
References () https://git.kernel.org/stable/c/c449b28e437d18ae807479c4ac6b69d87b287c79 - () https://git.kernel.org/stable/c/c449b28e437d18ae807479c4ac6b69d87b287c79 - Patch
References () https://git.kernel.org/stable/c/d4c8bf5635c4bedaf2470761ced1f502b2d5434e - () https://git.kernel.org/stable/c/d4c8bf5635c4bedaf2470761ced1f502b2d5434e - Patch
References () https://git.kernel.org/stable/c/d7bd416d35121c95fe47330e09a5c04adbc5f928 - () https://git.kernel.org/stable/c/d7bd416d35121c95fe47330e09a5c04adbc5f928 - Patch

18 Jun 2025, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-18 11:15

Updated : 2025-11-18 18:12


NVD link : CVE-2022-50119

Mitre link : CVE-2022-50119

CVE.ORG link : CVE-2022-50119


JSON object : View

Products Affected

linux

  • linux_kernel