CVE-2022-50352Missing Release of Memory after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 93.75%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 16

Description

In the Linux kernel, the following vulnerability has been resolved: net: hns: fix possible memory leak in hnae_ae_register() Inject fault while probing module, if device_register() fails, but the refcount of kobject is not decreased to 0, the name allocated in dev_set_name() is leaked. Fix this by calling put_device(), so that name can be freed in callback function kobject_cleanup(). unreferenced object 0xffff00c01aba2100 (size 128): comm "systemd-udevd", pid 1259, jiffies 4294903284 (age 294

CVSS vector

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

Affected Packages4 packages

NVDlinux/linux_kernel4.44.9.332+7
Debianlinux/linux_kernel< 5.10.158-1+3
CVEListV5linux/linux6fe6611ff275522a4e4c0359e2f46cdd07780d2fa3c148955c22fe1d94d7a2096005679c1f22eddf+8
debiandebian/linux< linux 6.0.6-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-50352: In the Linux kernel, the following vulnerability has been resolved: net: hns: fix possible memory leak in hnae_ae_register() Inject fault while probin2025-09-16
GHSA
GHSA-x55j-xpqj-9hr9: In the Linux kernel, the following vulnerability has been resolved: net: hns: fix possible memory leak in hnae_ae_register() Inject fault while prob2025-09-16

📋Vendor Advisories

2
Red Hat
kernel: net: hns: fix possible memory leak in hnae_ae_register()2025-09-16
Debian
CVE-2022-50352: linux - In the Linux kernel, the following vulnerability has been resolved: net: hns: f...2022
CVE-2022-50352 — Linux vulnerability | cvebase