# CVE-2026-23474: mtd: Avoid boot crash in RedBoot partition table parser

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-04-03T15:15:53.406Z
- **Modified:** 2026-11-10T13:18:48.737Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ca235d11fc2fd8fce1dcd9d732dc780be0cde2de; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e0065e106f798ce6862251bc4fc030ac5cead940; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0b08be5aca212a99f8ba786fee4922feac08002c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d8570211a2b1ec886a462daa0be4e9983ac768bb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2025b2d1f9d5cad6ea6fe85654c6c41297c3130b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c4054ad2d8bff4e8e937cd4a1d1a04c1e8f77a2c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 75a4d8cfe7784f909b3bd69325abac8e04ecb385; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8e2f8020270af7777d49c2e7132260983e4fc566
- Anyone running Linux 2.6.12

## Description

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

mtd: Avoid boot crash in RedBoot partition table parser

Given CONFIG\_FORTIFY\_SOURCE=y and a recent compiler,
commit 439a1bcac648 ("fortify: Use \_\_builtin\_dynamic\_object\_size() when
available") produces the warning below and an oops.

    Searching for RedBoot partition table in 50000000.flash at offset 0x7e0000
    ------------\[ cut here \]------------
    WARNING: lib/string\_helpers.c:1035 at 0xc029e04c, CPU\#0: swapper/0/1
    memcmp: detected buffer overflow: 15 byte read of buffer size 14
    Modules linked in:
    CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.19.0 \#1 NONE

As Kees said, "'names' is pointing to the final 'namelen' many bytes
of the allocation ... 'namelen' could be basically any length at all.
This fortify warning looks legit to me -- this code used to be reading
beyond the end of the allocation."

Since the size of the dynamic allocation is calculated with strlen()
we can use strcmp() instead of memcmp() and remain within bounds.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ca235d11fc2fd8fce1dcd9d732dc780be0cde2de; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e0065e106f798ce6862251bc4fc030ac5cead940; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0b08be5aca212a99f8ba786fee4922feac08002c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d8570211a2b1ec886a462daa0be4e9983ac768bb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2025b2d1f9d5cad6ea6fe85654c6c41297c3130b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c4054ad2d8bff4e8e937cd4a1d1a04c1e8f77a2c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 75a4d8cfe7784f909b3bd69325abac8e04ecb385; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8e2f8020270af7777d49c2e7132260983e4fc566 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 8e2f8020270af7777d49c2e7132260983e4fc566 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23474. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23474.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ca235d11fc2fd8fce1dcd9d732dc780be0cde2de; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e0065e106f798ce6862251bc4fc030ac5cead940; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0b08be5aca212a99f8ba786fee4922feac08002c; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 0b08be5aca212a99f8ba786fee4922feac08002c, Linux 2025b2d1f9d5cad6ea6fe85654c6c41297c3130b, Linux 75a4d8cfe7784f909b3bd69325abac8e04ecb385, Linux 8e2f8020270af7777d49c2e7132260983e4fc566

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23474 being exploited?

There is no confirmed exploitation: CVE-2026-23474 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23474?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23474?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ca235d11fc2fd8fce1dcd9d732dc780be0cde2de; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e0065e106f798ce6862251bc4fc030ac5cead940; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0b08be5aca212a99f8ba786fee4922feac08002c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d8570211a2b1ec886a462daa0be4e9983ac768bb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2025b2d1f9d5cad6ea6fe85654c6c41297c3130b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c4054ad2d8bff4e8e937cd4a1d1a04c1e8f77a2c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 75a4d8cfe7784f909b3bd69325abac8e04ecb385; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8e2f8020270af7777d49c2e7132260983e4fc566; Linux 2.6.12.

### Is there a fix for CVE-2026-23474?

Yes. Fixed in Linux 0b08be5aca212a99f8ba786fee4922feac08002c, Linux 2025b2d1f9d5cad6ea6fe85654c6c41297c3130b, Linux 75a4d8cfe7784f909b3bd69325abac8e04ecb385, Linux 8e2f8020270af7777d49c2e7132260983e4fc566. Upgrade Linux to 8e2f8020270af7777d49c2e7132260983e4fc566 or later.

### How do I check if I'm affected by CVE-2026-23474?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ca235d11fc2fd8fce1dcd9d732dc780be0cde2de>
- patch: <https://git.kernel.org/stable/c/e0065e106f798ce6862251bc4fc030ac5cead940>
- patch: <https://git.kernel.org/stable/c/0b08be5aca212a99f8ba786fee4922feac08002c>
- patch: <https://git.kernel.org/stable/c/d8570211a2b1ec886a462daa0be4e9983ac768bb>
- patch: <https://git.kernel.org/stable/c/2025b2d1f9d5cad6ea6fe85654c6c41297c3130b>
- patch: <https://git.kernel.org/stable/c/c4054ad2d8bff4e8e937cd4a1d1a04c1e8f77a2c>
- patch: <https://git.kernel.org/stable/c/75a4d8cfe7784f909b3bd69325abac8e04ecb385>
- patch: <https://git.kernel.org/stable/c/8e2f8020270af7777d49c2e7132260983e4fc566>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23474>

HTML: <https://flawdb.com/CVE-2026-23474> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23474>
