CVE-2022-48775

Source
https://cve.org/CVERecord?id=CVE-2022-48775
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48775.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48775
Downstream
Related
Published
2024-07-16T11:13:14.472Z
Modified
2026-03-20T12:21:51.781425Z
Summary
Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
Details

In the Linux kernel, the following vulnerability has been resolved:

Drivers: hv: vmbus: Fix memory leak in vmbusaddchannel_kobj

kobjectinitandadd() takes reference even when it fails. According to the doc of kobjectinitandadd():

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48775.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c
Fixed
417947891bd5ae327f15efed1a0da2b12ef24962
Fixed
fe595759c2a4a5bb41c438474f15947d8ae32f5c
Fixed
91d8866ca55232d21995a3d54fac96de33c9e20c
Fixed
c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9
Fixed
92e25b637cd4e010f776c86e4810300e773eac5c
Fixed
8bc69f86328e87a0ffa79438430cc82f3aa6a194

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48775.json"