CVE-2026-23176
platform/x86: toshiba_haps: Fix memory leaks in add/remove routines
- 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
- 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: platform/x86: toshiba_haps: Fix memory leaks in add/remove routines toshiba_haps_add() leaks the haps object allocated by it if it returns an error after allocating that object successfully. toshiba_haps_remove() does not free the object pointed to by toshiba_haps before clearing that pointer, so it becomes unreachable allocated memory. Address these memory leaks by using devm_kzalloc() for allocating the memory in question.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
3.17
References 7
git.kernel.org
- stable/c/17f37c4cdf42a9e4915216b9e130fc8baef4cc64
- stable/c/5bce10f0f9435afaae3fc4df9a52b01d9b3853dc
- stable/c/f2093e87ddec13e7a920f326c078a5f765ba89c3
- stable/c/ca9ff71c15bc8e48529c2033294a519a7749b272
- stable/c/bf0474356875d005d420f8c6b9ac168566e72e87
- stable/c/f93ae43780b759a70734be9bc82c1adcf7f33208
- stable/c/128497456756e1b952bd5a912cd073836465109d