CVE-2022-48775

Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj

published July 16, 2024

CVSS
—
EPSS
0%
Percentile
12.7
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00227 · 12.7th percentile
Published
2024-07-16T11:13Z
EPSS history
Timeline
  • 16 JUL 11:13Z
    Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
    cvelistv5