# CVE-2025-38077: platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-06-18T09:33:51.986Z
- Modified: 2026-06-17T09:16:00.463Z
- Weaknesses: CWE-787
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()

If the 'buf' array received from the user contains an empty string, the
'length' variable will be zero. Accessing the 'buf' array element with
index 'length - 1' will result in a buffer overflow.

Add a check for an empty string.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

(As written by CVE List.)

## Affected

- Linux Linux: from e8a60aa7404bfef37705da5607c97737073ac38d before fb7cde625872709b8cedad9b241e0ec3d82fa7d3; from e8a60aa7404bfef37705da5607c97737073ac38d before 60bd13f8c4b3de2c910ae1cdbef85b9bbc9685f5; from e8a60aa7404bfef37705da5607c97737073ac38d before f86465626917df3b8bdd2756ec0cc9d179c5af0f; from e8a60aa7404bfef37705da5607c97737073ac38d before 8594a123cfa23d708582dc6fb36da34479ef8a5b; from e8a60aa7404bfef37705da5607c97737073ac38d before 97066373ffd55bd9af0b512ff3dd1f647620a3dc; from e8a60aa7404bfef37705da5607c97737073ac38d before 4e89a4077490f52cde652d17e32519b666abf3a6; 5.11 (not affected: before 5.11; from 5.15.185 up to 5.15.*; from 6.1.141 up to 6.1.*; from 6.6.93 up to 6.6.*; from 6.12.31 up to 6.12.*; from 6.14.9 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 5.11 before 5.15.185; from 5.16 before 6.1.141; from 6.2 before 6.6.93; from 6.7 before 6.12.31; from 6.13 before 6.14.9; 6.15
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/fb7cde625872709b8cedad9b241e0ec3d82fa7d3> (patch)
- <https://git.kernel.org/stable/c/60bd13f8c4b3de2c910ae1cdbef85b9bbc9685f5> (patch)
- <https://git.kernel.org/stable/c/f86465626917df3b8bdd2756ec0cc9d179c5af0f> (patch)
- <https://git.kernel.org/stable/c/8594a123cfa23d708582dc6fb36da34479ef8a5b> (patch)
- <https://git.kernel.org/stable/c/97066373ffd55bd9af0b512ff3dd1f647620a3dc> (patch)
- <https://git.kernel.org/stable/c/4e89a4077490f52cde652d17e32519b666abf3a6> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2025-38077 · Whole record: https://cve.day/CVE-2025-38077.json · Rebuilt by cve.day 2026-11-25T22:58:59.374Z
