Bug 2363394 (CVE-2022-49821) - CVE-2022-49821 kernel: mISDN: fix possible memory leak in mISDN_dsp_element_register()
Summary: CVE-2022-49821 kernel: mISDN: fix possible memory leak in mISDN_dsp_element_r...
Keywords:
Status: NEW
Alias: CVE-2022-49821
Product: Security Response
Classification: Other
Component: vulnerability
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:03 UTC by OSIDB Bzimport
Modified: 2025-05-02 07:01 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:03:06 UTC
In the Linux kernel, the following vulnerability has been resolved:

mISDN: fix possible memory leak in mISDN_dsp_element_register()

Afer commit 1fa5ae857bb1 ("driver core: get rid of struct device's
bus_id string array"), the name of device is allocated dynamically,
use put_device() to give up the reference, so that the name can be
freed in kobject_cleanup() when the refcount is 0.

The 'entry' is going to be freed in mISDN_dsp_dev_release(), so the
kfree() is removed. list_del() is called in mISDN_dsp_dev_release(),
so it need be initialized.

Comment 1 Avinash Hanwate 2025-05-02 06:54:19 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050133-CVE-2022-49821-9223@gregkh/T


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