Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2022-48775
HistoryJul 16, 2024 - 11:13 a.m.

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

2024-07-1611:13:14
Linux
github.com
1
vulnerability resolved
linux kernel
memory leak fix
kobject_init_and_add
kobject_put
cve

AI Score

6.6

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

AI Score

6.6

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial