# CVE-2026-23176: platform/x86: toshiba_haps: Fix memory leaks in add/remove routines

- Severity: not scored yet
- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-02-14T16:27:08.764Z
- Modified: 2026-11-05T22:18:05.750Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 23d0ba0c908ac10139f0351023c64198d7fc1409 before 17f37c4cdf42a9e4915216b9e130fc8baef4cc64; from 23d0ba0c908ac10139f0351023c64198d7fc1409 before 5bce10f0f9435afaae3fc4df9a52b01d9b3853dc; from 23d0ba0c908ac10139f0351023c64198d7fc1409 before f2093e87ddec13e7a920f326c078a5f765ba89c3; from 23d0ba0c908ac10139f0351023c64198d7fc1409 before ca9ff71c15bc8e48529c2033294a519a7749b272; from 23d0ba0c908ac10139f0351023c64198d7fc1409 before bf0474356875d005d420f8c6b9ac168566e72e87; from 23d0ba0c908ac10139f0351023c64198d7fc1409 before f93ae43780b759a70734be9bc82c1adcf7f33208; from 23d0ba0c908ac10139f0351023c64198d7fc1409 before 128497456756e1b952bd5a912cd073836465109d; 3.17 (not affected: before 3.17; from 5.10.250 up to 5.10.*; from 5.15.200 up to 5.15.*; from 6.1.163 up to 6.1.*; from 6.6.124 up to 6.6.*; from 6.12.70 up to 6.12.*; from 6.18.10 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/17f37c4cdf42a9e4915216b9e130fc8baef4cc64>
- <https://git.kernel.org/stable/c/5bce10f0f9435afaae3fc4df9a52b01d9b3853dc>
- <https://git.kernel.org/stable/c/f2093e87ddec13e7a920f326c078a5f765ba89c3>
- <https://git.kernel.org/stable/c/ca9ff71c15bc8e48529c2033294a519a7749b272>
- <https://git.kernel.org/stable/c/bf0474356875d005d420f8c6b9ac168566e72e87>
- <https://git.kernel.org/stable/c/f93ae43780b759a70734be9bc82c1adcf7f33208>
- <https://git.kernel.org/stable/c/128497456756e1b952bd5a912cd073836465109d>

## Sources

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

---

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