Vulnerability in Linux
CVE-2022-49915
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().
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 10.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 1fa5ae857bb14f6046205171d98506d8112dd74e, 2.6.30, 0
- Linux Kernel — versions 6.1
Weakness classification (CWE)
References
- git.kernel.org/stable/c/d1d1aede313eb2b9a84afd60ff6cfb7c33631e0e (Patch)
- git.kernel.org/stable/c/080aabfb29b2ee9cbb8894a1d039651943d3773e (Patch)
- git.kernel.org/stable/c/a636fc5a7cabd05699b5692ad838c2c7a3abec7b (Patch)
- git.kernel.org/stable/c/2ff6b669523d3b3d253a044fa9636a67d0694995 (Patch)
- git.kernel.org/stable/c/e77d213843e67b4373285712699b692f9c743f61 (Patch)
- git.kernel.org/stable/c/029d5b7688a2f3a86f2a3be5a6ba9cc968c80e41 (Patch)
- git.kernel.org/stable/c/0d4e91efcaee081e919b3c50e875ecbb84290e41 (Patch)
- git.kernel.org/stable/c/e7d1d4d9ac0dfa40be4c2c8abd0731659869b297 (Patch)