# ALSA: hda: fix potential memleak in 'add_widget_node'

CVE record · `CVE-2022-49835`

- **Identifiers:** `CVE-2022-49835`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2025, 14:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `3256be6537751f65c76b3ecfbb4e667f87525a2f to before b688a3ec235222d9a84e43a48a6f31acb95baf2d` (git)
  - affected: `3256be6537751f65c76b3ecfbb4e667f87525a2f to before bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7` (git)
  - affected: `3256be6537751f65c76b3ecfbb4e667f87525a2f to before 90b7d055e2b5f39429f9a9e3815b48a48530ef28` (git)
  - affected: `3256be6537751f65c76b3ecfbb4e667f87525a2f to before 02dea987ec1cac712c78e75d224ceb9bb73519ed` (git)
  - affected: `3256be6537751f65c76b3ecfbb4e667f87525a2f to before 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b` (git)
  - affected: `3256be6537751f65c76b3ecfbb4e667f87525a2f to before 7140d7aaf93da6a665b454f91bb4dc6b1de218bd` (git)
  - affected: `3256be6537751f65c76b3ecfbb4e667f87525a2f to before 455d99bd6baf19688048b6d42d9fa74eae27f93b` (git)
  - affected: `3256be6537751f65c76b3ecfbb4e667f87525a2f to before 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.1`
  - unaffected: `before 4.1` (semver)
  - unaffected: `4.9.334 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.300 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.267 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.225 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.155 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.79 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.9 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> CVE-2022-49835 affects the Linux kernel's ALSA HDA driver, in the add_widget_node function, from commit 3256be6537751f65c76b3ecfbb4e667f87525a2f until the fixes listed in the affected ranges, with the 4.1 series affected and earlier versions unaffected. The source gives few details about how the flaw is reached. The flaw is a memory leak: when kobject_add fails, the kobject was not released, so allocated memory was not freed. The source does not list a fixed version number beyond the stable-branch ranges, so upgrade to a kernel release that includes the upstream fix for your branch.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 10th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 May 2025, 14:09 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-49835)
- 1 May 2025, 15:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-49835)

## Sources

- [CVE List: CVE-2022-49835](https://www.cve.org/CVERecord?id=CVE-2022-49835)
- [NVD: CVE-2022-49835](https://nvd.nist.gov/vuln/detail/CVE-2022-49835)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-49835>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-49835/>. Everything for agents: <https://agentprime.io/llms.txt>.
