# CVE-2022-49835: ALSA: hda: fix potential memleak in 'add\_widget\_node'

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-05-01T14:09:52.700Z
- **Modified:** 2026-11-05T20:17:15.530Z

## Who should check

- Anyone running Linux \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< b688a3ec235222d9a84e43a48a6f31acb95baf2d; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 90b7d055e2b5f39429f9a9e3815b48a48530ef28; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 02dea987ec1cac712c78e75d224ceb9bb73519ed; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 7140d7aaf93da6a665b454f91bb4dc6b1de218bd; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 455d99bd6baf19688048b6d42d9fa74eae27f93b; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143
- Anyone running Linux 4.1

## Description

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 and fixed versions

- Linux: \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< b688a3ec235222d9a84e43a48a6f31acb95baf2d; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 90b7d055e2b5f39429f9a9e3815b48a48530ef28; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 02dea987ec1cac712c78e75d224ceb9bb73519ed; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 7140d7aaf93da6a665b454f91bb4dc6b1de218bd; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 455d99bd6baf19688048b6d42d9fa74eae27f93b; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143 (cvelist)
- Linux: 4.1 (cvelist)

## Mitigation

- Upgrade Linux to 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49835. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49835.md
Affected: Linux >= 3256be6537751f65c76b3ecfbb4e667f87525a2f, < b688a3ec235222d9a84e43a48a6f31acb95baf2d; >= 3256be6537751f65c76b3ecfbb4e667f87525a2f, < bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7; >= 3256be6537751f65c76b3ecfbb4e667f87525a2f, < 90b7d055e2b5f39429f9a9e3815b48a48530ef28; >= 3256be6537751f65c76b3ec…
Fixed in: Linux 90b7d055e2b5f39429f9a9e3815b48a48530ef28, Linux 02dea987ec1cac712c78e75d224ceb9bb73519ed, Linux 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b, Linux 7140d7aaf93da6a665b454f91bb4dc6b1de218bd, Linux 455d99bd6baf19688048b6d42d9fa74eae27f93b, Linux 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49835 being exploited?

There is no confirmed exploitation: CVE-2022-49835 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49835?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49835?

Linux \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< b688a3ec235222d9a84e43a48a6f31acb95baf2d; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 90b7d055e2b5f39429f9a9e3815b48a48530ef28; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 02dea987ec1cac712c78e75d224ceb9bb73519ed; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 7140d7aaf93da6a665b454f91bb4dc6b1de218bd; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 455d99bd6baf19688048b6d42d9fa74eae27f93b; \>= 3256be6537751f65c76b3ecfbb4e667f87525a2f, \< 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143; Linux 4.1.

### Is there a fix for CVE-2022-49835?

Yes. Fixed in Linux 90b7d055e2b5f39429f9a9e3815b48a48530ef28, Linux 02dea987ec1cac712c78e75d224ceb9bb73519ed, Linux 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b, Linux 7140d7aaf93da6a665b454f91bb4dc6b1de218bd, Linux 455d99bd6baf19688048b6d42d9fa74eae27f93b, Linux 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143. Upgrade Linux to 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143 or later.

### How do I check if I'm affected by CVE-2022-49835?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b688a3ec235222d9a84e43a48a6f31acb95baf2d>
- patch: <https://git.kernel.org/stable/c/bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7>
- patch: <https://git.kernel.org/stable/c/90b7d055e2b5f39429f9a9e3815b48a48530ef28>
- patch: <https://git.kernel.org/stable/c/02dea987ec1cac712c78e75d224ceb9bb73519ed>
- patch: <https://git.kernel.org/stable/c/3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b>
- patch: <https://git.kernel.org/stable/c/7140d7aaf93da6a665b454f91bb4dc6b1de218bd>
- patch: <https://git.kernel.org/stable/c/455d99bd6baf19688048b6d42d9fa74eae27f93b>
- patch: <https://git.kernel.org/stable/c/9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49835>

HTML: <https://flawdb.com/CVE-2022-49835> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49835>
