{"id":"CVE-2025-38077","state":"PUBLISHED","title":"platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()\n\nIf the 'buf' array received from the user contains an empty string, the\n'length' variable will be zero. Accessing the 'buf' array element with\nindex 'length - 1' will result in a buffer overflow.\n\nAdd a check for an empty string.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","publishedAt":"2025-06-18T09:33:51.986Z","updatedAt":"2026-05-11T21:20:48.306Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"fb7cde625872709b8cedad9b241e0ec3d82fa7d3","versionType":"git"},{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"60bd13f8c4b3de2c910ae1cdbef85b9bbc9685f5","versionType":"git"},{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"f86465626917df3b8bdd2756ec0cc9d179c5af0f","versionType":"git"},{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"8594a123cfa23d708582dc6fb36da34479ef8a5b","versionType":"git"},{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"97066373ffd55bd9af0b512ff3dd1f647620a3dc","versionType":"git"},{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"4e89a4077490f52cde652d17e32519b666abf3a6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/dell/dell-wmi-sysman/passobj-attributes.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"5.15.185","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.141","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.93","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.31","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.9","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/dell/dell-wmi-sysman/passobj-attributes.c"]}],"references":["https://git.kernel.org/stable/c/fb7cde625872709b8cedad9b241e0ec3d82fa7d3","https://git.kernel.org/stable/c/60bd13f8c4b3de2c910ae1cdbef85b9bbc9685f5","https://git.kernel.org/stable/c/f86465626917df3b8bdd2756ec0cc9d179c5af0f","https://git.kernel.org/stable/c/8594a123cfa23d708582dc6fb36da34479ef8a5b","https://git.kernel.org/stable/c/97066373ffd55bd9af0b512ff3dd1f647620a3dc","https://git.kernel.org/stable/c/4e89a4077490f52cde652d17e32519b666abf3a6","https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/38xxx/CVE-2025-38077.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38077","state":"PUBLISHED","datePublished":"2025-06-18T09:33:51.986Z","dateUpdated":"2026-05-11T21:20:48.306Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:23.980Z"},"containers":{"cna":{"title":"platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()\n\nIf the 'buf' array received from the user contains an empty string, the\n'length' variable will be zero. Accessing the 'buf' array element with\nindex 'length - 1' will result in a buffer overflow.\n\nAdd a check for an empty string.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"fb7cde625872709b8cedad9b241e0ec3d82fa7d3","versionType":"git"},{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"60bd13f8c4b3de2c910ae1cdbef85b9bbc9685f5","versionType":"git"},{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"f86465626917df3b8bdd2756ec0cc9d179c5af0f","versionType":"git"},{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"8594a123cfa23d708582dc6fb36da34479ef8a5b","versionType":"git"},{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"97066373ffd55bd9af0b512ff3dd1f647620a3dc","versionType":"git"},{"version":"e8a60aa7404bfef37705da5607c97737073ac38d","status":"affected","lessThan":"4e89a4077490f52cde652d17e32519b666abf3a6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/dell/dell-wmi-sysman/passobj-attributes.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"5.15.185","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.141","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.93","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.31","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.9","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/dell/dell-wmi-sysman/passobj-attributes.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/fb7cde625872709b8cedad9b241e0ec3d82fa7d3"},{"url":"https://git.kernel.org/stable/c/60bd13f8c4b3de2c910ae1cdbef85b9bbc9685f5"},{"url":"https://git.kernel.org/stable/c/f86465626917df3b8bdd2756ec0cc9d179c5af0f"},{"url":"https://git.kernel.org/stable/c/8594a123cfa23d708582dc6fb36da34479ef8a5b"},{"url":"https://git.kernel.org/stable/c/97066373ffd55bd9af0b512ff3dd1f647620a3dc"},{"url":"https://git.kernel.org/stable/c/4e89a4077490f52cde652d17e32519b666abf3a6"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:20:48.306Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.185"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.1.141"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.6.93"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.12.31"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.14.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.15"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T17:33:44.963Z"}}]}}}