# CVE-2022-49915: mISDN: fix possible memory leak in mISDN_register_device()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-05-01T14:10:56.208Z
- Modified: 2026-06-17T05:19:30.130Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from 1fa5ae857bb14f6046205171d98506d8112dd74e before d1d1aede313eb2b9a84afd60ff6cfb7c33631e0e; from 1fa5ae857bb14f6046205171d98506d8112dd74e before 080aabfb29b2ee9cbb8894a1d039651943d3773e; from 1fa5ae857bb14f6046205171d98506d8112dd74e before a636fc5a7cabd05699b5692ad838c2c7a3abec7b; from 1fa5ae857bb14f6046205171d98506d8112dd74e before 2ff6b669523d3b3d253a044fa9636a67d0694995; from 1fa5ae857bb14f6046205171d98506d8112dd74e before e77d213843e67b4373285712699b692f9c743f61; from 1fa5ae857bb14f6046205171d98506d8112dd74e before 029d5b7688a2f3a86f2a3be5a6ba9cc968c80e41; from 1fa5ae857bb14f6046205171d98506d8112dd74e before 0d4e91efcaee081e919b3c50e875ecbb84290e41; from 1fa5ae857bb14f6046205171d98506d8112dd74e before e7d1d4d9ac0dfa40be4c2c8abd0731659869b297; 2.6.30 (not affected: before 2.6.30; from 4.9.333 up to 4.9.*; from 4.14.299 up to 4.14.*; from 4.19.265 up to 4.19.*; from 5.4.224 up to 5.4.*; from 5.10.154 up to 5.10.*; from 5.15.78 up to 5.15.*; from 6.0.8 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 2.6.30 before 4.9.333; from 4.10 before 4.14.299; from 4.15 before 4.19.265; from 4.20 before 5.4.224; from 5.5 before 5.10.154; from 5.11 before 5.15.78; from 5.16 before 6.0.8; 6.1

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d1d1aede313eb2b9a84afd60ff6cfb7c33631e0e> (patch)
- <https://git.kernel.org/stable/c/080aabfb29b2ee9cbb8894a1d039651943d3773e> (patch)
- <https://git.kernel.org/stable/c/a636fc5a7cabd05699b5692ad838c2c7a3abec7b> (patch)
- <https://git.kernel.org/stable/c/2ff6b669523d3b3d253a044fa9636a67d0694995> (patch)
- <https://git.kernel.org/stable/c/e77d213843e67b4373285712699b692f9c743f61> (patch)
- <https://git.kernel.org/stable/c/029d5b7688a2f3a86f2a3be5a6ba9cc968c80e41> (patch)
- <https://git.kernel.org/stable/c/0d4e91efcaee081e919b3c50e875ecbb84290e41> (patch)
- <https://git.kernel.org/stable/c/e7d1d4d9ac0dfa40be4c2c8abd0731659869b297> (patch)

## Sources

- CVE List: [CVE-2022-49915](https://www.cve.org/CVERecord?id=CVE-2022-49915), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49915](https://nvd.nist.gov/vuln/detail/CVE-2022-49915), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49915 · Whole record: https://cve.day/CVE-2022-49915.json · Rebuilt by cve.day 2026-11-25T22:58:20.935Z
