# CVE-2022-48775: Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-07-16T11:13:14.472Z
- Modified: 2026-06-17T05:16:09.937Z
- 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:

Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj

kobject_init_and_add() takes reference even when it fails.
According to the doc of kobject_init_and_add()：

   If this function returns an error, kobject_put() must be called to
   properly clean up the memory associated with the object.

Fix memory leak by calling kobject_put().

(As written by CVE List.)

## Affected

- Linux Linux: from c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c before 417947891bd5ae327f15efed1a0da2b12ef24962; from c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c before fe595759c2a4a5bb41c438474f15947d8ae32f5c; from c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c before 91d8866ca55232d21995a3d54fac96de33c9e20c; from c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c before c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9; from c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c before 92e25b637cd4e010f776c86e4810300e773eac5c; from c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c before 8bc69f86328e87a0ffa79438430cc82f3aa6a194; 4.15 (not affected: before 4.15; from 4.19.231 up to 4.19.*; from 5.4.181 up to 5.4.*; from 5.10.102 up to 5.10.*; from 5.15.25 up to 5.15.*; from 5.16.11 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 4.15 before 4.19.231; from 4.20 before 5.4.181; from 5.5 before 5.10.102; from 5.11 before 5.15.25; from 5.16 before 5.16.11

## References

- <https://git.kernel.org/stable/c/417947891bd5ae327f15efed1a0da2b12ef24962> (mailing-list, patch)
- <https://git.kernel.org/stable/c/fe595759c2a4a5bb41c438474f15947d8ae32f5c> (mailing-list, patch)
- <https://git.kernel.org/stable/c/91d8866ca55232d21995a3d54fac96de33c9e20c> (mailing-list, patch)
- <https://git.kernel.org/stable/c/c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9> (mailing-list, patch)
- <https://git.kernel.org/stable/c/92e25b637cd4e010f776c86e4810300e773eac5c> (mailing-list, patch)
- <https://git.kernel.org/stable/c/8bc69f86328e87a0ffa79438430cc82f3aa6a194> (mailing-list, patch)

## Sources

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

---

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