# CVE-2025-71192: ALSA: ac97: fix a double free in snd_ac97_controller_register()

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-02-04T16:00:23.044Z
- Modified: 2026-08-05T12:12:29.458Z
- Assigned by: Linux

## Description

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

ALSA: ac97: fix a double free in snd_ac97_controller_register()

If ac97_add_adapter() fails, put_device() is the correct way to drop
the device reference. kfree() is not required.
Add kfree() if idr_alloc() fails and in ac97_adapter_release() to do
the cleanup.

Found by code review.

(As written by CVE List.)

## Affected

- Linux Linux: from 74426fbff66eea8e8d1f42c8238c268d1e63a832 before c80f9b3349a99a9d5b295f5bbc23f544c5995ad7; from 74426fbff66eea8e8d1f42c8238c268d1e63a832 before 21f8bc5179bed91c3f946adb5e55d717b891960c; from 74426fbff66eea8e8d1f42c8238c268d1e63a832 before fcc04c92cbb5497ce67c58dd2f0001bb87f40396; from 74426fbff66eea8e8d1f42c8238c268d1e63a832 before cb73d37ac18bc1716690ff5255a0ef1952827e9e; from 74426fbff66eea8e8d1f42c8238c268d1e63a832 before 830988b6cf197e6dcffdfe2008c5738e6c6c3c0f; 4.15 (not affected: before 4.15; from 6.1.161 up to 6.1.*; from 6.6.121 up to 6.6.*; from 6.12.66 up to 6.12.*; from 6.18.6 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/c80f9b3349a99a9d5b295f5bbc23f544c5995ad7>
- <https://git.kernel.org/stable/c/21f8bc5179bed91c3f946adb5e55d717b891960c>
- <https://git.kernel.org/stable/c/fcc04c92cbb5497ce67c58dd2f0001bb87f40396>
- <https://git.kernel.org/stable/c/cb73d37ac18bc1716690ff5255a0ef1952827e9e>
- <https://git.kernel.org/stable/c/830988b6cf197e6dcffdfe2008c5738e6c6c3c0f>

## Sources

- CVE List: [CVE-2025-71192](https://www.cve.org/CVERecord?id=CVE-2025-71192), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-71192](https://nvd.nist.gov/vuln/detail/CVE-2025-71192), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-71192 · Whole record: https://cve.day/CVE-2025-71192.json · Rebuilt by cve.day 2026-11-25T22:59:11.045Z
