CVE-2026-68478
memstick: ms_block: reject a card that reports too many blocks
Check your servers for CVE-2026-68478
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-68478 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, before a4b9961efe8640f50800811b4a2b2046b3dc2ccc affected from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, before 8937b11f1c3896e066c3fb07387ba17bc8c50b8a affected from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, before f1c675ecf6e5ad02722f0019f729d8bb588d502e affected from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, before d5db3439ee8d1c165a09a47e984c4ba508c130df affected from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, before b86666ac4009a252501cc17242582a7ec9ed976e affected from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, before 39151f0708c84221e94cdd6aa070aba5d7cb1c01 affected from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, before 47f0c7d856c67c9935546d2644f18c0d0131b449 affected from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, before 718178f524b98bc920d74bc771aed823c8b81425
Other versions: unaffected
|
| Linux |
affected 3.12 unaffected before 3.12 unaffected from 5.10.261 up to and including 5.10.* unaffected from 5.15.212 up to and including 5.15.* unaffected from 6.1.178 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-68478 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-68478
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-68478
trivy image --scanners vuln IMAGE | grep CVE-2026-68478
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a4b9961efe8640f50800811b4a2b2046b3dc2ccc git.kernel.org
- https://git.kernel.org/stable/c/8937b11f1c3896e066c3fb07387ba17bc8c50b8a git.kernel.org
- https://git.kernel.org/stable/c/f1c675ecf6e5ad02722f0019f729d8bb588d502e git.kernel.org
- https://git.kernel.org/stable/c/d5db3439ee8d1c165a09a47e984c4ba508c130df git.kernel.org
- https://git.kernel.org/stable/c/b86666ac4009a252501cc17242582a7ec9ed976e git.kernel.org
- https://git.kernel.org/stable/c/39151f0708c84221e94cdd6aa070aba5d7cb1c01 git.kernel.org
- https://git.kernel.org/stable/c/47f0c7d856c67c9935546d2644f18c0d0131b449 git.kernel.org
- https://git.kernel.org/stable/c/718178f524b98bc920d74bc771aed823c8b81425 git.kernel.org
Source: the record CVE-2026-68478 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse