# CVE-2026-68478: memstick: ms\_block: reject a card that reports too many blocks

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T05:51:33.441Z
- **Modified:** 2026-08-17T06:17:57.333Z

## Who should check

- Anyone running Linux \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< a4b9961efe8640f50800811b4a2b2046b3dc2ccc; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 8937b11f1c3896e066c3fb07387ba17bc8c50b8a; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< f1c675ecf6e5ad02722f0019f729d8bb588d502e; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< d5db3439ee8d1c165a09a47e984c4ba508c130df; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< b86666ac4009a252501cc17242582a7ec9ed976e; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 39151f0708c84221e94cdd6aa070aba5d7cb1c01; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 47f0c7d856c67c9935546d2644f18c0d0131b449; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 718178f524b98bc920d74bc771aed823c8b81425
- Anyone running Linux 3.12

## Description

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

memstick: ms\_block: reject a card that reports too many blocks

msb\_ftl\_initialize() computes the zone count from the card block count
with no bound:

	msb-\>zone\_count = msb-\>block\_count / MS\_BLOCKS\_IN\_ZONE;
	...
	for (i = 0; i \< msb-\>zone\_count; i++)
		msb-\>free\_block\_count\[i\] = MS\_BLOCKS\_IN\_ZONE;

msb-\>block\_count is a card value. msb\_read\_boot\_blocks() reads
number\_of\_blocks from the card boot page and byte swaps it.
free\_block\_count is a fixed int\[MS\_MAX\_ZONES\]. MS\_MAX\_ZONES is 16, so the
valid indices are 0 to 15. The init loop above indexes it by zone\_count.
msb\_mark\_block\_used() and msb\_mark\_block\_unused() index it by
pba / MS\_BLOCKS\_IN\_ZONE, for pba up to block\_count - 1. A card may report
up to 65535 blocks. A block\_count above 8192 (MS\_MAX\_ZONES \*
MS\_BLOCKS\_IN\_ZONE) lets the pba index reach 16. That writes past
free\_block\_count\[\] and corrupts struct msb\_data. A larger count runs the
init loop past the end too.

A real Memory Stick has at most 16 zones. So it has at most 8192 blocks.
msb\_ftl\_initialize() now rejects a card that reports more than
MS\_MAX\_ZONES \* MS\_BLOCKS\_IN\_ZONE blocks.

## Affected and fixed versions

- Linux: \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< a4b9961efe8640f50800811b4a2b2046b3dc2ccc; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 8937b11f1c3896e066c3fb07387ba17bc8c50b8a; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< f1c675ecf6e5ad02722f0019f729d8bb588d502e; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< d5db3439ee8d1c165a09a47e984c4ba508c130df; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< b86666ac4009a252501cc17242582a7ec9ed976e; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 39151f0708c84221e94cdd6aa070aba5d7cb1c01; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 47f0c7d856c67c9935546d2644f18c0d0131b449; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 718178f524b98bc920d74bc771aed823c8b81425 (cvelist)
- Linux: 3.12 (cvelist)

## Mitigation

- Upgrade Linux to 718178f524b98bc920d74bc771aed823c8b81425 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-68478. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68478.md
Affected: Linux >= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, < a4b9961efe8640f50800811b4a2b2046b3dc2ccc; >= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, < 8937b11f1c3896e066c3fb07387ba17bc8c50b8a; >= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, < f1c675ecf6e5ad02722f0019f729d8bb588d502e; >= 0ab30494bc4f3bc1ea4659b…
Fixed in: Linux 8937b11f1c3896e066c3fb07387ba17bc8c50b8a, Linux 39151f0708c84221e94cdd6aa070aba5d7cb1c01, Linux 47f0c7d856c67c9935546d2644f18c0d0131b449, Linux 718178f524b98bc920d74bc771aed823c8b81425

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-68478 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< a4b9961efe8640f50800811b4a2b2046b3dc2ccc; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 8937b11f1c3896e066c3fb07387ba17bc8c50b8a; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< f1c675ecf6e5ad02722f0019f729d8bb588d502e; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< d5db3439ee8d1c165a09a47e984c4ba508c130df; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< b86666ac4009a252501cc17242582a7ec9ed976e; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 39151f0708c84221e94cdd6aa070aba5d7cb1c01; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 47f0c7d856c67c9935546d2644f18c0d0131b449; \>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, \< 718178f524b98bc920d74bc771aed823c8b81425; Linux 3.12.

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

Yes. Fixed in Linux 8937b11f1c3896e066c3fb07387ba17bc8c50b8a, Linux 39151f0708c84221e94cdd6aa070aba5d7cb1c01, Linux 47f0c7d856c67c9935546d2644f18c0d0131b449, Linux 718178f524b98bc920d74bc771aed823c8b81425. Upgrade Linux to 718178f524b98bc920d74bc771aed823c8b81425 or later.

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

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

- other: <https://git.kernel.org/stable/c/a4b9961efe8640f50800811b4a2b2046b3dc2ccc>
- other: <https://git.kernel.org/stable/c/8937b11f1c3896e066c3fb07387ba17bc8c50b8a>
- other: <https://git.kernel.org/stable/c/f1c675ecf6e5ad02722f0019f729d8bb588d502e>
- other: <https://git.kernel.org/stable/c/d5db3439ee8d1c165a09a47e984c4ba508c130df>
- other: <https://git.kernel.org/stable/c/b86666ac4009a252501cc17242582a7ec9ed976e>
- other: <https://git.kernel.org/stable/c/39151f0708c84221e94cdd6aa070aba5d7cb1c01>
- other: <https://git.kernel.org/stable/c/47f0c7d856c67c9935546d2644f18c0d0131b449>
- other: <https://git.kernel.org/stable/c/718178f524b98bc920d74bc771aed823c8b81425>

## 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-68478>

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