CVE-2026-89466: power: supply: qcom_battmgr: terminate the strings from firmware

Published Sep 11, 2026
·
Updated

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

power: supply: qcombattmgr: terminate the strings from firmware

The qcombattmgrsc8280xpstrcpy() takes a Pascal-style string when the firmware sends one. Otherwise it copies all BATTMGRSTRINGLEN bytes and leaves the destination without a terminator.

Those destinations are modelnumber, serialnumber and oeminfo, each BATTMGRSTRINGLEN and declared next to each other. They go out to user space as val->strval, which powersupplyformatproperty() prints with "%s", so a firmware string that fills the whole field makes that read run into the following members.

Use strscpy() so the copy always terminates, the way the SM8350 path already does for the same field.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 11, 2026
CVE Published
via MITRE·07:43 PM
Data Sourced
via MITRE·07:43 PM
Description

Frequently Asked Questions

1

Which deployments are potentially exposed?

Systems using the Linux kernel qcom_battmgr SC8280XP path are potentially exposed when they obtain battery-management string fields from firmware. The affected fields are model_number, serial_number, and oem_info.

2

What input condition causes the out-of-bounds read?

A firmware-provided string that fills an entire BATTMGR_STRING_LEN field without a terminator can leave the copied destination unterminated. When that value is later formatted for user space with %s, the read can continue into adjacent fields.

3

What would an attacker need to influence?

Exploitation requires influence over a firmware-provided battery-management string such that it occupies the full field length and lacks a terminating byte. The issue is exposed when the affected property is exported to user space.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203