{"id":"CVE-2026-89466","aliases":["CVE-2026-89466"],"related":[],"kind":"vulnerability","state":"published","title":"power: supply: qcom_battmgr: terminate the strings from firmware","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-11T19:43:26.621Z","modified":"2026-10-19T09:17:39.157Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":7.7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"29e8142b5623b5949587bcc4f591c4e6595c4aca","fixed":"c06028db620854b11ad81b04b0a4e1ead930cb76","status":"affected"},{"type":"git","introduced":"29e8142b5623b5949587bcc4f591c4e6595c4aca","fixed":"0e70a9b0d16acf7adebc4f386178a95da27c0027","status":"affected"},{"type":"git","introduced":"29e8142b5623b5949587bcc4f591c4e6595c4aca","fixed":"ee053561e21ce1e1741dd64ca5ddcdb92e40edc1","status":"affected"},{"type":"git","introduced":"29e8142b5623b5949587bcc4f591c4e6595c4aca","fixed":"6cc6c28c9ab6e8ecf901397717a5b391b828cdaf","status":"affected"},{"type":"git","introduced":"29e8142b5623b5949587bcc4f591c4e6595c4aca","fixed":"ab1112df8f4ffa88cb024dd370c432ced80f77d8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c06028db620854b11ad81b04b0a4e1ead930cb76","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e70a9b0d16acf7adebc4f386178a95da27c0027","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee053561e21ce1e1741dd64ca5ddcdb92e40edc1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6cc6c28c9ab6e8ecf901397717a5b391b828cdaf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab1112df8f4ffa88cb024dd370c432ced80f77d8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89466","url":"https://www.cve.org/CVERecord?id=CVE-2026-89466","licence":"CVE Terms of Use","modified":"2026-10-19T08:47:15.439Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89466","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89466","licence":"Public domain","modified":"2026-10-19T09:17:39.157Z"}],"updatedAt":"2026-11-25T22:59:38.028Z","epss":{"score":0.00142,"percentile":0.03704,"date":"2026-12-01T12:00:22.000Z"}}