CVE-2022-50427Published Oct 1, 2025 · Oct 1Updated Oct 28
ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0ca06a00e206b963587ac471e6d1c52bf33b9a18 · < 4fdf6f978c6b605ca0d67bf0e982b7a8fc0f4aab| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s ALSA ac97 code can leak memory if device_register() fails in snd_ac97_dev_register(). In that case, a name allocated by dev_set_name() is not released. The input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Anyone running the Linux kernel should check whether their version is affected; affected versions are not specified.