CVE-2022-48775

Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj

MEDIUM
5.5
CVSS Score
Published: July 16, 2024 at 11:13 AM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.15 ≤ v < 4.19.2314.15 ≤ v < 5.10.1024.15 ≤ v < 5.15.254.15 ≤ v < 5.16.114.15 ≤ v < 5.174.15 ≤ v < 5.4.1814.20 ≤ v < 5.4.1815.11 ≤ v < 5.15.255.16 ≤ v < 5.16.115.5 ≤ v < 5.10.1024.15c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c
Vendor states this is fixed in 417947891bd5ae327f15efed1a0da2b12ef24962 (fixed)
Vendor states this is fixed in 8bc69f86328e87a0ffa79438430cc82f3aa6a194 (fixed)
Vendor states this is fixed in 91d8866ca55232d21995a3d54fac96de33c9e20c (fixed)
Vendor states this is fixed in 92e25b637cd4e010f776c86e4810300e773eac5c (fixed)
Vendor states this is fixed in c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9 (fixed)
Vendor states this is fixed in fe595759c2a4a5bb41c438474f15947d8ae32f5c (fixed)
Vendor states this is fixed in 4.15 (unaffected)
Vendor states this is fixed in 4.19.231 (unaffected)
Vendor states this is fixed in 5.10.102 (unaffected)
Vendor states this is fixed in 5.15.25 (unaffected)
Vendor states this is fixed in 5.16.11 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 5.4.181 (unaffected)

References (6)

Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/417947891bd5ae327f15efed1a0da2b12ef24962
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8bc69f86328e87a0ffa79438430cc82f3aa6a194
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/91d8866ca55232d21995a3d54fac96de33c9e20c
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/92e25b637cd4e010f776c86e4810300e773eac5c
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe595759c2a4a5bb41c438474f15947d8ae32f5c

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card