Bug 2363474 (CVE-2022-49915) - CVE-2022-49915 kernel: mISDN: fix possible memory leak in mISDN_register_device()
Summary: CVE-2022-49915 kernel: mISDN: fix possible memory leak in mISDN_register_devi...
Keywords:
Status: NEW
Alias: CVE-2022-49915
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:06 UTC by OSIDB Bzimport
Modified: 2025-05-02 05:43 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:06:11 UTC
In the Linux kernel, the following vulnerability has been resolved:

mISDN: fix possible memory leak in mISDN_register_device()

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

Set device class before put_device() to avoid null release() function
WARN message in device_release().

Comment 1 Avinash Hanwate 2025-05-02 05:39:18 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050106-CVE-2022-49915-ec43@gregkh/T


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