Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
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().
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.19.231, 5.10.102, 5.15.25, 5.16.11, 5.4.181
- CVEs
- CVE-2022-48775
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 12:47 UTC · Revision 1
Source evidence
Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
core-osv · Original sourcePublished 16 Jul 2024, 11:13 UTC
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().
osv:CVE-2022-48775
Kernel
Fixed versions: 4.19.231, 5.4.181, 5.10.102, 5.15.25, 5.16.11
Complete source record
{
"id": "e18e7b540a231c08b7344b1108fff7c97a976583abe337c71847c268edbf87f9",
"url": "https://osv.dev/vulnerability/CVE-2022-48775",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj",
"summary": "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().",
"evidence": "osv:CVE-2022-48775",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.19.231",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.181",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.102",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.25",
"evidence": "/affected/1/ranges"
},
{
"value": "5.16.11",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2022-48775",
"aliases": [
"CVE-2022-48775"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c"
},
{
"fixed": "417947891bd5ae327f15efed1a0da2b12ef24962"
},
{
"fixed": "fe595759c2a4a5bb41c438474f15947d8ae32f5c"
},
{
"fixed": "91d8866ca55232d21995a3d54fac96de33c9e20c"
},
{
"fixed": "c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9"
},
{
"fixed": "92e25b637cd4e010f776c86e4810300e773eac5c"
},
{
"fixed": "8bc69f86328e87a0ffa79438430cc82f3aa6a194"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48775.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "4.19.231"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.181"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.102"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.25"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "5.16.11"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48775.json"
}
}
],
"modified": "2026-10-28T02:30:29.053921418Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/417947891bd5ae327f15efed1a0da2b12ef24962",
"https://git.kernel.org/stable/c/8bc69f86328e87a0ffa79438430cc82f3aa6a194",
"https://git.kernel.org/stable/c/91d8866ca55232d21995a3d54fac96de33c9e20c",
"https://git.kernel.org/stable/c/92e25b637cd4e010f776c86e4810300e773eac5c",
"https://git.kernel.org/stable/c/c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9",
"https://git.kernel.org/stable/c/fe595759c2a4a5bb41c438474f15947d8ae32f5c",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48775.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-48775",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48775.json"
}
},
"related_cves": [
{
"value": "CVE-2022-48775",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 495550,
"published_at": "2024-07-16T11:13:14.472+00:00"
}