CVE-2026-89954: mtd: afs: validate v2 image info bounds

Published Sep 16, 2026
·
Updated

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

mtd: afs: validate v2 image info bounds

The AFS v2 parser uses footer[8] to locate the image information block inside the current erase block, then uses the image information regioncount to walk entries from a fixed local array. The footer offset and region count come from flash contents and are not checked against the erase block or the local image-info array before use.

Reject v2 entries whose image information offset would underflow the erase block calculation, and reject region counts that cannot fit in the local image-info array before walking region entries.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 16, 2026
CVE Published
via MITRE·10:32 AM
Data Sourced
via MITRE·10:32 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger this issue?

The AFS v2 parser must process flash contents containing a v2 entry with a crafted image-information offset or region count. Those values are read from the flash contents and were previously used without validating that the offset remains within the current erase block or that the region count fits the local image-info array.

2

What should be checked when assessing exposure?

Determine whether the system uses the Linux kernel AFS v2 parser and processes the relevant flash image contents. Inspect v2 entries for image-information offsets that could underflow the erase-block calculation and region counts larger than the parser's local image-info array can hold.

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