CVE-2022-49835

ALSA: hda: fix potential memleak in 'add_widget_node'

published May 1, 2025

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

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

ALSA: hda: fix potential memleak in 'add_widget_node'

As 'kobject_add' may allocated memory for 'kobject->name' when return error.

And in this function, if call 'kobject_add' failed didn't free kobject.

So call 'kobject_put' to recycling resources.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00202 · 9.7th percentile
Published
2025-05-01T14:09Z
EPSS history
Timeline
  • 01 MAY 14:09Z
    ALSA: hda: fix potential memleak in 'add_widget_node'
    cvelistv5