Bug 2363468 (CVE-2022-49816) - CVE-2022-49816 kernel: xen/pcpu: fix possible memory leak in register_pcpu()
Summary: CVE-2022-49816 kernel: xen/pcpu: fix possible memory leak in register_pcpu()
Keywords:
Status: NEW
Alias: CVE-2022-49816
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-01 15:05 UTC by OSIDB Bzimport
Modified: 2025-06-24 07:40 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 15:05:51 UTC
In the Linux kernel, the following vulnerability has been resolved:

xen/pcpu: fix possible memory leak in register_pcpu()

In device_add(), dev_set_name() is called to allocate name, if it returns
error, the name need be freed. As comment of device_register() says, it
should use put_device() to give up the reference in the error path. So fix
this by calling put_device(), then the name can be freed in kobject_cleanup().

Comment 1 Avinash Hanwate 2025-05-02 03:27:57 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050131-CVE-2022-49816-0190@gregkh/T

Comment 2 TEJ RATHI 2025-05-29 06:41:03 UTC
This CVE has been rejected by the Linux kernel community. Refer to the announcement: https://lore.kernel.org/linux-cve-announce/2025050210-REJECTED-233b@gregkh/

Comment added by: Automated Script


Note You need to log in before you can comment on or make changes to this bug.