ALSA: es18xx: check control allocation before private data setup
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: es18xx: check control allocation before private data setup snd_es18xx_mixer() creates controls with snd_ctl_new1() and then stores bookkeeping pointers or sets private_free before calling snd_ctl_add(). snd_ctl_new1() can return NULL on allocation failure, so those writes can dereference a NULL control pointer. Check the returned control pointers before using them and return -ENOMEM on allocation failure.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in e6c84fe4cf6f98f7b1ad446a42cfcb46bae83f66; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 908323ed61d5e7ad74889524d327cfb6a65ec8df; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 3d8adddf4e4a5a43847ee62e5e78ba05e756bdef; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 91c97a7969dae976de954453ab6e925e6522fecb; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 978079238f40f1a08ddb12ce208c484246f6a1b0; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in d88c24b76f285df9d206751e22c28e2613258cb3; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 422e42b7c2b882ba1d16d4afc8891bcea7c4de93
- Linux Linux
2.6.12
- KernelLinux
From 2.6.12 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53
References 7
git.kernel.org
- stable/c/e6c84fe4cf6f98f7b1ad446a42cfcb46bae83f66
- stable/c/908323ed61d5e7ad74889524d327cfb6a65ec8df
- stable/c/3d8adddf4e4a5a43847ee62e5e78ba05e756bdef
- stable/c/91c97a7969dae976de954453ab6e925e6522fecb
- stable/c/978079238f40f1a08ddb12ce208c484246f6a1b0
- stable/c/d88c24b76f285df9d206751e22c28e2613258cb3
- stable/c/422e42b7c2b882ba1d16d4afc8891bcea7c4de93