CVE-2022-49915

mISDN: fix possible memory leak in mISDN_register_device()

Medium · published May 1, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
9.9
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00204 · 9.9th percentile
Published
2025-05-01T14:10Z
EPSS history
Timeline
  • 01 MAY 14:10Z
    mISDN: fix possible memory leak in mISDN_register_device()
    cvelistv5