CVE-2025-38077

Source
https://cve.org/CVERecord?id=CVE-2025-38077
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38077.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38077
Downstream
Related
Published
2025-06-18T09:33:51.986Z
Modified
2026-03-11T07:53:08.707363684Z
Summary
platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()
Details

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

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

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38077.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e8a60aa7404bfef37705da5607c97737073ac38d
Fixed
fb7cde625872709b8cedad9b241e0ec3d82fa7d3
Fixed
60bd13f8c4b3de2c910ae1cdbef85b9bbc9685f5
Fixed
f86465626917df3b8bdd2756ec0cc9d179c5af0f
Fixed
8594a123cfa23d708582dc6fb36da34479ef8a5b
Fixed
97066373ffd55bd9af0b512ff3dd1f647620a3dc
Fixed
4e89a4077490f52cde652d17e32519b666abf3a6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38077.json"