CVE-2026-72104
dm-pcache: reject option groups without values
Description
In the Linux kernel, the following vulnerability has been resolved: dm-pcache: reject option groups without values The pcache target parses optional arguments as name/value pairs. A table that advertises one optional argument and supplies only a recognized option name, for example "cache_mode", reaches parse_cache_opts() with argc == 1. The parser consumes the name, decrements argc to zero, then calls dm_shift_arg() again for the value. dm_shift_arg() returns NULL when no arguments remain, and the following strcmp() dereferences that NULL pointer. Check that each recognized option has a value before consuming it. This keeps valid "cache_mode writeback" and "data_crc true/false" tables unchanged while making malformed tables fail during target construction with a precise missing-value error.
INFO
Published Date :
Aug. 15, 2026, 6:21 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Validate option groups have associated values.
- Reject malformed options during construction.
- Apply patches to correct parsing logic.
- Test option parsing with various inputs.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72104.
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-72104 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-72104
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-72104 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72104 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': '1d57628ff95b32d5cfa8d8f50e07690c161e9cf0', 'lessThan': '1247615aadb74c89c1b2f01a6de7df9dab92ecb3', 'versionType': 'git'}, {'status': 'affected', 'version': '1d57628ff95b32d5cfa8d8f50e07690c161e9cf0', 'lessThan': '0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a', 'versionType': 'git'}, {'status': 'affected', 'version': '1d57628ff95b32d5cfa8d8f50e07690c161e9cf0', 'lessThan': 'd9c631e3fbd44246a2be781d26cfacbb9b8ec127', 'versionType': 'git'}], 'programFiles': ['drivers/md/dm-pcache/dm_pcache.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.18', 'versionType': 'semver'}, {'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-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/md/dm-pcache/dm_pcache.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1d57628ff95b32d5cfa8d8f50e07690c161e9cf0', 'lessThan': '1247615aadb74c89c1b2f01a6de7df9dab92ecb3', 'versionType': 'git'}, {'status': 'affected', 'version': '1d57628ff95b32d5cfa8d8f50e07690c161e9cf0', 'lessThan': '0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a', 'versionType': 'git'}, {'status': 'affected', 'version': '1d57628ff95b32d5cfa8d8f50e07690c161e9cf0', 'lessThan': 'd9c631e3fbd44246a2be781d26cfacbb9b8ec127', 'versionType': 'git'}], 'programFiles': ['drivers/md/dm-pcache/dm_pcache.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.18', 'versionType': 'semver'}, {'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/md/dm-pcache/dm_pcache.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': '1d57628ff95b32d5cfa8d8f50e07690c161e9cf0', 'lessThan': '1247615aadb74c89c1b2f01a6de7df9dab92ecb3', 'versionType': 'git'}, {'status': 'affected', 'version': '1d57628ff95b32d5cfa8d8f50e07690c161e9cf0', 'lessThan': '0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a', 'versionType': 'git'}, {'status': 'affected', 'version': '1d57628ff95b32d5cfa8d8f50e07690c161e9cf0', 'lessThan': 'd9c631e3fbd44246a2be781d26cfacbb9b8ec127', 'versionType': 'git'}], 'programFiles': ['drivers/md/dm-pcache/dm_pcache.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.18', 'versionType': 'semver'}, {'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-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/md/dm-pcache/dm_pcache.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: dm-pcache: reject option groups without values The pcache target parses optional arguments as name/value pairs. A table that advertises one optional argument and supplies only a recognized option name, for example "cache_mode", reaches parse_cache_opts() with argc == 1. The parser consumes the name, decrements argc to zero, then calls dm_shift_arg() again for the value. dm_shift_arg() returns NULL when no arguments remain, and the following strcmp() dereferences that NULL pointer. Check that each recognized option has a value before consuming it. This keeps valid "cache_mode writeback" and "data_crc true/false" tables unchanged while making malformed tables fail during target construction with a precise missing-value error. Added Reference https://git.kernel.org/stable/c/0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a Added Reference https://git.kernel.org/stable/c/1247615aadb74c89c1b2f01a6de7df9dab92ecb3 Added Reference https://git.kernel.org/stable/c/d9c631e3fbd44246a2be781d26cfacbb9b8ec127