{"id":"CVE-2026-89466","published":"2026-09-11T19:43:26Z","modified":"2026-10-19T08:47:15Z","title":"power: supply: qcom_battmgr: terminate the strings from firmware","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00142,"percentile":0.03455,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c06028db620854b11ad81b04b0a4e1ead930cb76","tags":[]},{"url":"https://git.kernel.org/stable/c/0e70a9b0d16acf7adebc4f386178a95da27c0027","tags":[]},{"url":"https://git.kernel.org/stable/c/ee053561e21ce1e1741dd64ca5ddcdb92e40edc1","tags":[]},{"url":"https://git.kernel.org/stable/c/6cc6c28c9ab6e8ecf901397717a5b391b828cdaf","tags":[]},{"url":"https://git.kernel.org/stable/c/ab1112df8f4ffa88cb024dd370c432ced80f77d8","tags":[]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":0.69},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 29e8142b5623b5949587bcc4f591c4e6595c4aca, < c06028db620854b11ad81b04b0a4e1ead930cb76",">= 29e8142b5623b5949587bcc4f591c4e6595c4aca, < 0e70a9b0d16acf7adebc4f386178a95da27c0027",">= 29e8142b5623b5949587bcc4f591c4e6595c4aca, < ee053561e21ce1e1741dd64ca5ddcdb92e40edc1",">= 29e8142b5623b5949587bcc4f591c4e6595c4aca, < 6cc6c28c9ab6e8ecf901397717a5b391b828cdaf",">= 29e8142b5623b5949587bcc4f591c4e6595c4aca, < ab1112df8f4ffa88cb024dd370c432ced80f77d8"]},{"vendor":"Linux","product":"Linux","versions":["6.3"]}],"euvd":{"id":"EUVD-2026-76372","exploited":false,"provenance":"source"}}