CVE-2026-89954
published high CVSS 3.1 · 8.0mtd: afs: validate v2 image info bounds
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb7cf5e2830bbb128699d7635ce8404b7f605bc95 to < 1bec05a68414cf8d0cab6cb42445b8603f32ffc4 · b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < 3ad8ff12fd44b08af9212ac4883a7e29d2ab7348 · b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < 875daa3c750814ff2e2dc050239c390048f0bcd0 · b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < da740539e8f370767317e24615349b9342a6e773 · b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < 1edea8900ca3e405c1421d8b5c29f97107874f72 · b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < 18916f475057cbd2fb8ea6ae86e6b85884ad1d53 · b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < d14e6298139f58a87a87d7022e26a7f37f0ddce7 · b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < e9290031f736e99ad17c25c00311c92c266843b7 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.2 (affected) · 0 to < 5.2 (unaffected · semver) · 5.10.270 through 5.10.* (unaffected · semver) · 5.15.221 through 5.15.* (unaffected · semver) · 6.1.188 through 6.1.* (unaffected · semver) · 6.6.157 through 6.6.* (unaffected · semver) · 6.12.110 through 6.12.* (unaffected · semver) · 6.18.51 through 6.18.* (unaffected · semver) · 7.2.5 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.190-1 | DLA-4841-1 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.111-1~deb12u1 | DLA-4817-1 |
| Debian | trixie | linux | Advisory build | 6.12.111-1 | DSA-6528-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1119 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1119 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1119 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1125 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1125 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1125 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15-cloud-tools-5.15.0-1124 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15-headers-5.15.0-1124 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15-tools-5.15.0-1124 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1120 | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1120 | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-headers-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-headers-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-202 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-202 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-202 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1113 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1113 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1114 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1114 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1114 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-197 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-197 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-197 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-modules-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-modules-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
- Scenarios
- en: AV:L - The AFS v2 parser runs from parse_mtd_partitions() during local MTD/physmap probe, reading on-flash ARM Firmware Suite footers via mtd_read(); no network protocol, Bluetooth/Wi-Fi path, or USB gadget/host handler invokes this code. AC:L - An attacker who controls the flash image can plant valid AFS v2 magic and CRC and set footer[8] and region_count arbitrarily, so the unsigned info-block offset and the region walk run deterministically with no race or layout condition outside attacker control. PR:N - parse_afs_partitions() runs automatically at boot/probe on affected ARM/physmap systems with no credential or capability check; crafted AFS metadata can be delivered in firmware/OTA/supply-chain flash contents without a local OS account. UI:N - Partition parsing runs as part of MTD driver initialization at boot or bind; no separate victim action such as mounting a filesystem or opening a device node is required. S:U - The stack over-read and any resulting oops remain inside the host kernel; this is not a VM escape, IOMMU bypass, or sandbox breakout. C:H - Attacker-controlled region_count drives an unbounded read past the on-stack imginfo[36] array, and kstrdup() of a possibly non-NUL-terminated footer name can copy that kernel stack/adjacent memory into a partition name far beyond a small bounded leak. I:L - OOB-derived region offset/size and repeated kstrdup() results are stored in the registered mtd_partition object, modifying kernel flash-layout metadata, but the loop does not perform an out-of-bounds write or yield a control-flow hijack primitive. A:H - Walking region_count past imginfo[] reaches unmapped stack or vmalloc pages and oopses or panics the kernel; a huge count can also livelock probe and exhaust memory via kstrdup in the loop.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < 1bec05a68414cf8d0cab6cb42445b8603f32ffc4 (affected · git)b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < 3ad8ff12fd44b08af9212ac4883a7e29d2ab7348 (affected · git)b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < 875daa3c750814ff2e2dc050239c390048f0bcd0 (affected · git)b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < da740539e8f370767317e24615349b9342a6e773 (affected · git)b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < 1edea8900ca3e405c1421d8b5c29f97107874f72 (affected · git)b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < 18916f475057cbd2fb8ea6ae86e6b85884ad1d53 (affected · git)b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < d14e6298139f58a87a87d7022e26a7f37f0ddce7 (affected · git)b7cf5e2830bbb128699d7635ce8404b7f605bc95 to < e9290031f736e99ad17c25c00311c92c266843b7 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.2 (affected)0 to < 5.2 (unaffected · semver)5.10.270 through 5.10.* (unaffected · semver)5.15.221 through 5.15.* (unaffected · semver)6.1.188 through 6.1.* (unaffected · semver)6.6.157 through 6.6.* (unaffected · semver)6.12.110 through 6.12.* (unaffected · semver)6.18.51 through 6.18.* (unaffected · semver)7.2.5 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/18916f475057cbd2fb8ea6ae86e6b85884ad1d53
- https://git.kernel.org/stable/c/1bec05a68414cf8d0cab6cb42445b8603f32ffc4
- https://git.kernel.org/stable/c/1edea8900ca3e405c1421d8b5c29f97107874f72
- https://git.kernel.org/stable/c/3ad8ff12fd44b08af9212ac4883a7e29d2ab7348
- https://git.kernel.org/stable/c/875daa3c750814ff2e2dc050239c390048f0bcd0
- https://git.kernel.org/stable/c/d14e6298139f58a87a87d7022e26a7f37f0ddce7
- https://git.kernel.org/stable/c/da740539e8f370767317e24615349b9342a6e773
- https://git.kernel.org/stable/c/e9290031f736e99ad17c25c00311c92c266843b7
Provider assertions
1Linux · cna
mtd: afs: validate v2 image info bounds
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 16c2628a6ccabb6ad036d2c5989f2b27a5979cfa88b1e0ebfc738c973b5439cc
- Ingested
- 19 Oct 2026, 09:08:15 UTC
- Source record
- Official CVE record