0.0
NA
CVE-2026-68478
memstick: ms_block: reject a card that reports too many blocks
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.

INFO

Published Date :

Aug. 15, 2026, 6:20 a.m.

Last Modified :

Aug. 17, 2026, 6:17 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-68478 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Apply kernel patches to validate card block counts during initialization.
  • Update the Linux kernel to the latest version.
  • Ensure card block counts are validated.
  • Reject cards reporting excessive blocks.
  • Apply the ms_block patch.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-68478 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-68478 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-68478 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-68478 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'a4b9961efe8640f50800811b4a2b2046b3dc2ccc', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '8937b11f1c3896e066c3fb07387ba17bc8c50b8a', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'f1c675ecf6e5ad02722f0019f729d8bb588d502e', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'd5db3439ee8d1c165a09a47e984c4ba508c130df', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'b86666ac4009a252501cc17242582a7ec9ed976e', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '39151f0708c84221e94cdd6aa070aba5d7cb1c01', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '47f0c7d856c67c9935546d2644f18c0d0131b449', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '718178f524b98bc920d74bc771aed823c8b81425', 'versionType': 'git'}], 'programFiles': ['drivers/memstick/core/ms_block.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.12'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.12', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc4', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/memstick/core/ms_block.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'a4b9961efe8640f50800811b4a2b2046b3dc2ccc', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '8937b11f1c3896e066c3fb07387ba17bc8c50b8a', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'f1c675ecf6e5ad02722f0019f729d8bb588d502e', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'd5db3439ee8d1c165a09a47e984c4ba508c130df', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'b86666ac4009a252501cc17242582a7ec9ed976e', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '39151f0708c84221e94cdd6aa070aba5d7cb1c01', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '47f0c7d856c67c9935546d2644f18c0d0131b449', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '718178f524b98bc920d74bc771aed823c8b81425', 'versionType': 'git'}], 'programFiles': ['drivers/memstick/core/ms_block.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.12'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.12', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/memstick/core/ms_block.c'], 'defaultStatus': 'affected'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 15, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'a4b9961efe8640f50800811b4a2b2046b3dc2ccc', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '8937b11f1c3896e066c3fb07387ba17bc8c50b8a', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'f1c675ecf6e5ad02722f0019f729d8bb588d502e', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'd5db3439ee8d1c165a09a47e984c4ba508c130df', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': 'b86666ac4009a252501cc17242582a7ec9ed976e', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '39151f0708c84221e94cdd6aa070aba5d7cb1c01', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '47f0c7d856c67c9935546d2644f18c0d0131b449', 'versionType': 'git'}, {'status': 'affected', 'version': '0ab30494bc4f3bc1ea4659b7c5d97c5218554a63', 'lessThan': '718178f524b98bc920d74bc771aed823c8b81425', 'versionType': 'git'}], 'programFiles': ['drivers/memstick/core/ms_block.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.12'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.12', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc4', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/memstick/core/ms_block.c'], 'defaultStatus': 'affected'}]
    Added 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.
    Added Reference https://git.kernel.org/stable/c/39151f0708c84221e94cdd6aa070aba5d7cb1c01
    Added Reference https://git.kernel.org/stable/c/47f0c7d856c67c9935546d2644f18c0d0131b449
    Added Reference https://git.kernel.org/stable/c/718178f524b98bc920d74bc771aed823c8b81425
    Added Reference https://git.kernel.org/stable/c/8937b11f1c3896e066c3fb07387ba17bc8c50b8a
    Added Reference https://git.kernel.org/stable/c/a4b9961efe8640f50800811b4a2b2046b3dc2ccc
    Added Reference https://git.kernel.org/stable/c/b86666ac4009a252501cc17242582a7ec9ed976e
    Added Reference https://git.kernel.org/stable/c/d5db3439ee8d1c165a09a47e984c4ba508c130df
    Added Reference https://git.kernel.org/stable/c/f1c675ecf6e5ad02722f0019f729d8bb588d502e
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.