# CVE-2022-50427: ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-10-01T11:42:06.365Z
- Modified: 2026-06-17T05:23:31.990Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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

ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()

If device_register() fails in snd_ac97_dev_register(), it should
call put_device() to give up reference, or the name allocated in
dev_set_name() is leaked.

(As written by CVE List.)

## Affected

- Linux Linux: from 0ca06a00e206b963587ac471e6d1c52bf33b9a18 before a602ec9d88f177dba78bc97fb1adecc7a71ff279; from 0ca06a00e206b963587ac471e6d1c52bf33b9a18 before 0f8e9a15c8ecf95057061d370a2dddaf1cee4aeb; from 0ca06a00e206b963587ac471e6d1c52bf33b9a18 before ee8bf0946f62ef00e5db4b613a9f664ac567259a; from 0ca06a00e206b963587ac471e6d1c52bf33b9a18 before 758dbcc6fbf2286eff02743b093c70a18a407d66; from 0ca06a00e206b963587ac471e6d1c52bf33b9a18 before bfce73088682ef0770da951f51156c36a89be490; from 0ca06a00e206b963587ac471e6d1c52bf33b9a18 before 4fdf6f978c6b605ca0d67bf0e982b7a8fc0f4aab; from 0ca06a00e206b963587ac471e6d1c52bf33b9a18 before c68b2e9ef246117f696e360bbdd2f5736b3a7127; from 0ca06a00e206b963587ac471e6d1c52bf33b9a18 before 4881bda5ea05c8c240fc8afeaa928e2bc43f61fa; 2.6.14 (not affected: before 2.6.14; from 4.9.332 up to 4.9.*; from 4.14.298 up to 4.14.*; from 4.19.264 up to 4.19.*; from 5.4.223 up to 5.4.*; from 5.10.153 up to 5.10.*; from 5.15.77 up to 5.15.*; from 6.0.7 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 2.6.14 before 4.9.332; from 4.10 before 4.14.298; from 4.15 before 4.19.264; from 4.20 before 5.4.223; from 5.5 before 5.10.153; from 5.11 before 5.15.77; from 5.16 before 6.0.7; 6.1

## References

- <https://git.kernel.org/stable/c/a602ec9d88f177dba78bc97fb1adecc7a71ff279> (patch)
- <https://git.kernel.org/stable/c/0f8e9a15c8ecf95057061d370a2dddaf1cee4aeb> (patch)
- <https://git.kernel.org/stable/c/ee8bf0946f62ef00e5db4b613a9f664ac567259a> (patch)
- <https://git.kernel.org/stable/c/758dbcc6fbf2286eff02743b093c70a18a407d66> (patch)
- <https://git.kernel.org/stable/c/bfce73088682ef0770da951f51156c36a89be490> (patch)
- <https://git.kernel.org/stable/c/4fdf6f978c6b605ca0d67bf0e982b7a8fc0f4aab> (patch)
- <https://git.kernel.org/stable/c/c68b2e9ef246117f696e360bbdd2f5736b3a7127> (patch)
- <https://git.kernel.org/stable/c/4881bda5ea05c8c240fc8afeaa928e2bc43f61fa> (patch)

## Sources

- CVE List: [CVE-2022-50427](https://www.cve.org/CVERecord?id=CVE-2022-50427), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50427](https://nvd.nist.gov/vuln/detail/CVE-2022-50427), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50427 · Whole record: https://cve.day/CVE-2022-50427.json · Rebuilt by cve.day 2026-11-25T22:58:21.214Z
