CVE-2026-68478
memstick: ms_block: reject a card that reports too many blocks
Reported by linux · Published August 15, 2026
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.
EPSS 0.22% · 12.5th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | f1c675ecf6e5ad02722f0019f729d8bb588d502e, d5db3439ee8d1c165a09a47e984c4ba508c130df, b86666ac4009a252501cc17242582a7ec9ed976e, a4b9961efe8640f50800811b4a2b2046b3dc2ccc, 8937b11f1c3896e066c3fb07387ba17bc8c50b8a, 718178f524b98bc920d74bc771aed823c8b81425, 47f0c7d856c67c9935546d2644f18c0d0131b449, 39151f0708c84221e94cdd6aa070aba5d7cb1c01, 3.12 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 |
| Linux | Linux | 3.12, 0, 5.10.261 |
| Linux | Linux | 7.2, 0, 5.10.261 |
| linux | linux_kernel | 3.12, 3.12, 3.12 |
Timeline
- Aug 15, 2026 Coalition ESS Score
- Aug 15, 2026 CVE Published
- Aug 17, 2026 CVE Updated
- Aug 19, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (16 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-68478
vulnetix vdb fixes CVE-2026-68478
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68478/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart