{"api_version":"1","generated_at":"2026-09-11T22:05:31+00:00","cve":"CVE-2026-89466","urls":{"html":"https://cve.report/CVE-2026-89466","api":"https://cve.report/api/cve/CVE-2026-89466.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89466","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89466"},"summary":{"title":"power: supply: qcom_battmgr: terminate the strings from firmware","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: qcom_battmgr: terminate the strings from firmware\n\nThe qcom_battmgr_sc8280xp_strcpy() takes a Pascal-style string when the\nfirmware sends one. Otherwise it copies all BATTMGR_STRING_LEN bytes and\nleaves the destination without a terminator.\n\nThose destinations are model_number, serial_number and oem_info, each\nBATTMGR_STRING_LEN and declared next to each other. They go out to user\nspace as val->strval, which power_supply_format_property() prints with\n\"%s\", so a firmware string that fills the whole field makes that read run\ninto the following members.\n\nUse strscpy() so the copy always terminates, the way the SM8350 path\nalready does for the same field.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:27","updated_at":"2026-09-11 20:19:27"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/6cc6c28c9ab6e8ecf901397717a5b391b828cdaf","name":"https://git.kernel.org/stable/c/6cc6c28c9ab6e8ecf901397717a5b391b828cdaf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ee053561e21ce1e1741dd64ca5ddcdb92e40edc1","name":"https://git.kernel.org/stable/c/ee053561e21ce1e1741dd64ca5ddcdb92e40edc1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ab1112df8f4ffa88cb024dd370c432ced80f77d8","name":"https://git.kernel.org/stable/c/ab1112df8f4ffa88cb024dd370c432ced80f77d8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0e70a9b0d16acf7adebc4f386178a95da27c0027","name":"https://git.kernel.org/stable/c/0e70a9b0d16acf7adebc4f386178a95da27c0027","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89466","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89466","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 29e8142b5623b5949587bcc4f591c4e6595c4aca 0e70a9b0d16acf7adebc4f386178a95da27c0027 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 29e8142b5623b5949587bcc4f591c4e6595c4aca ee053561e21ce1e1741dd64ca5ddcdb92e40edc1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 29e8142b5623b5949587bcc4f591c4e6595c4aca 6cc6c28c9ab6e8ecf901397717a5b391b828cdaf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 29e8142b5623b5949587bcc4f591c4e6595c4aca ab1112df8f4ffa88cb024dd370c432ced80f77d8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.109 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/power/supply/qcom_battmgr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"0e70a9b0d16acf7adebc4f386178a95da27c0027","status":"affected","version":"29e8142b5623b5949587bcc4f591c4e6595c4aca","versionType":"git"},{"lessThan":"ee053561e21ce1e1741dd64ca5ddcdb92e40edc1","status":"affected","version":"29e8142b5623b5949587bcc4f591c4e6595c4aca","versionType":"git"},{"lessThan":"6cc6c28c9ab6e8ecf901397717a5b391b828cdaf","status":"affected","version":"29e8142b5623b5949587bcc4f591c4e6595c4aca","versionType":"git"},{"lessThan":"ab1112df8f4ffa88cb024dd370c432ced80f77d8","status":"affected","version":"29e8142b5623b5949587bcc4f591c4e6595c4aca","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/power/supply/qcom_battmgr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.3"},{"lessThan":"6.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.109","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.109","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"6.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: qcom_battmgr: terminate the strings from firmware\n\nThe qcom_battmgr_sc8280xp_strcpy() takes a Pascal-style string when the\nfirmware sends one. Otherwise it copies all BATTMGR_STRING_LEN bytes and\nleaves the destination without a terminator.\n\nThose destinations are model_number, serial_number and oem_info, each\nBATTMGR_STRING_LEN and declared next to each other. They go out to user\nspace as val->strval, which power_supply_format_property() prints with\n\"%s\", so a firmware string that fills the whole field makes that read run\ninto the following members.\n\nUse strscpy() so the copy always terminates, the way the SM8350 path\nalready does for the same field."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:43:26.621Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/0e70a9b0d16acf7adebc4f386178a95da27c0027"},{"url":"https://git.kernel.org/stable/c/ee053561e21ce1e1741dd64ca5ddcdb92e40edc1"},{"url":"https://git.kernel.org/stable/c/6cc6c28c9ab6e8ecf901397717a5b391b828cdaf"},{"url":"https://git.kernel.org/stable/c/ab1112df8f4ffa88cb024dd370c432ced80f77d8"}],"title":"power: supply: qcom_battmgr: terminate the strings from firmware","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89466","datePublished":"2026-09-11T19:43:26.621Z","dateReserved":"2026-09-11T19:38:34.709Z","dateUpdated":"2026-09-11T19:43:26.621Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:27","lastModifiedDate":"2026-09-11 20:19:27","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89466","Ordinal":"1","Title":"power: supply: qcom_battmgr: terminate the strings from firmware","CVE":"CVE-2026-89466","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89466","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: qcom_battmgr: terminate the strings from firmware\n\nThe qcom_battmgr_sc8280xp_strcpy() takes a Pascal-style string when the\nfirmware sends one. Otherwise it copies all BATTMGR_STRING_LEN bytes and\nleaves the destination without a terminator.\n\nThose destinations are model_number, serial_number and oem_info, each\nBATTMGR_STRING_LEN and declared next to each other. They go out to user\nspace as val->strval, which power_supply_format_property() prints with\n\"%s\", so a firmware string that fills the whole field makes that read run\ninto the following members.\n\nUse strscpy() so the copy always terminates, the way the SM8350 path\nalready does for the same field.","Type":"Description","Title":"power: supply: qcom_battmgr: terminate the strings from firmware"}]}}}