Linux
ALSA: ac97: fix a double free in snd_ac97_controller_register()
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 74426fbff66eea8e8d1f42c8238c268d1e63a832, < c80f9b3349a99a9d5b295f5bbc23f544c5995ad7
- >= 74426fbff66eea8e8d1f42c8238c268d1e63a832, < 21f8bc5179bed91c3f946adb5e55d717b891960c
- >= 74426fbff66eea8e8d1f42c8238c268d1e63a832, < fcc04c92cbb5497ce67c58dd2f0001bb87f40396
- >= 74426fbff66eea8e8d1f42c8238c268d1e63a832, < cb73d37ac18bc1716690ff5255a0ef1952827e9e
- >= 74426fbff66eea8e8d1f42c8238c268d1e63a832, < 830988b6cf197e6dcffdfe2008c5738e6c6c3c0f
Fixed in c80f9b3349a99a9d5b295f5bbc23f544c5995ad7, 21f8bc5179bed91c3f946adb5e55d717b891960c, fcc04c92cbb5497ce67c58dd2f0001bb87f40396, cb73d37ac18bc1716690ff5255a0ef1952827e9e, 830988b6cf197e6dcffdfe2008c5738e6c6c3c0f
- 4.15
Fixed in 0, 6.1.161, 6.6.121, 6.12.66, 6.18.6, 6.19
Mitigation
Upgrade Linux to c80f9b3349a99a9d5b295f5bbc23f544c5995ad7 or 21f8bc5179bed91c3f946adb5e55d717b891960c or fcc04c92cbb5497ce67c58dd2f0001bb87f40396 or cb73d37ac18bc1716690ff5255a0ef1952827e9e or 830988b6cf197e6dcffdfe2008c5738e6c6c3c0f or later.
Upgrade Linux to 0 or 6.1.161 or 6.6.121 or 6.12.66 or 6.18.6 or 6.19 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.