---
id: CVE-2022-49835
title: 'ALSA: hda: fix potential memleak in ''add_widget_node'''
summary: |-
  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 'kobje…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f <
    b688a3ec235222d9a84e43a48a6f31acb95baf2d
  - >-
    Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f <
    bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7
  - >-
    Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f <
    90b7d055e2b5f39429f9a9e3815b48a48530ef28
  - >-
    Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f <
    02dea987ec1cac712c78e75d224ceb9bb73519ed
  - >-
    Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f <
    3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b
  - >-
    Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f <
    7140d7aaf93da6a665b454f91bb4dc6b1de218bd
  - >-
    Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f <
    455d99bd6baf19688048b6d42d9fa74eae27f93b
  - >-
    Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f <
    9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143
  - Linux 4.1
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T19:50:26.881850Z'
published: '2025-05-01'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:00:09.157Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-49835'
references:
  - url: 'https://git.kernel.org/stable/c/b688a3ec235222d9a84e43a48a6f31acb95baf2d'
  - url: 'https://git.kernel.org/stable/c/bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7'
  - url: 'https://git.kernel.org/stable/c/90b7d055e2b5f39429f9a9e3815b48a48530ef28'
  - url: 'https://git.kernel.org/stable/c/02dea987ec1cac712c78e75d224ceb9bb73519ed'
  - url: 'https://git.kernel.org/stable/c/3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b'
  - url: 'https://git.kernel.org/stable/c/7140d7aaf93da6a665b454f91bb4dc6b1de218bd'
  - url: 'https://git.kernel.org/stable/c/455d99bd6baf19688048b6d42d9fa74eae27f93b'
  - url: 'https://git.kernel.org/stable/c/9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143'
tags:
  - cve.org
epss: 0.00202
epssPercentile: 0.1026
ingestedAt: '2026-11-05T22:38:31.617Z'
---

## Overview

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.

## Affected

- `Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < b688a3ec235222d9a84e43a48a6f31acb95baf2d`
- `Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7`
- `Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 90b7d055e2b5f39429f9a9e3815b48a48530ef28`
- `Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 02dea987ec1cac712c78e75d224ceb9bb73519ed`
- `Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b`
- `Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 7140d7aaf93da6a665b454f91bb4dc6b1de218bd`
- `Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 455d99bd6baf19688048b6d42d9fa74eae27f93b`
- `Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143`
- `Linux 4.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
