{"id":"CVE-2026-72104","state":"PUBLISHED","title":"dm-pcache: reject option groups without values","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: reject option groups without values\n\nThe pcache target parses optional arguments as name/value pairs.  A\ntable that advertises one optional argument and supplies only a\nrecognized option name, for example \"cache_mode\", reaches\nparse_cache_opts() with argc == 1.  The parser consumes the name,\ndecrements argc to zero, then calls dm_shift_arg() again for the value.\ndm_shift_arg() returns NULL when no arguments remain, and the following\nstrcmp() dereferences that NULL pointer.\n\nCheck that each recognized option has a value before consuming it.  This\nkeeps valid \"cache_mode writeback\" and \"data_crc true/false\" tables\nunchanged while making malformed tables fail during target construction\nwith a precise missing-value error.","publishedAt":"2026-08-15T05:52:47.458Z","updatedAt":"2026-08-17T05:08:16.915Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"1247615aadb74c89c1b2f01a6de7df9dab92ecb3","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"d9c631e3fbd44246a2be781d26cfacbb9b8ec127","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-pcache/dm_pcache.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-pcache/dm_pcache.c"]}],"references":["https://git.kernel.org/stable/c/1247615aadb74c89c1b2f01a6de7df9dab92ecb3","https://git.kernel.org/stable/c/0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a","https://git.kernel.org/stable/c/d9c631e3fbd44246a2be781d26cfacbb9b8ec127"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72104.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72104","state":"PUBLISHED","datePublished":"2026-08-15T05:52:47.458Z","dateUpdated":"2026-08-17T05:08:16.915Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.906Z"},"containers":{"cna":{"title":"dm-pcache: reject option groups without values","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: reject option groups without values\n\nThe pcache target parses optional arguments as name/value pairs.  A\ntable that advertises one optional argument and supplies only a\nrecognized option name, for example \"cache_mode\", reaches\nparse_cache_opts() with argc == 1.  The parser consumes the name,\ndecrements argc to zero, then calls dm_shift_arg() again for the value.\ndm_shift_arg() returns NULL when no arguments remain, and the following\nstrcmp() dereferences that NULL pointer.\n\nCheck that each recognized option has a value before consuming it.  This\nkeeps valid \"cache_mode writeback\" and \"data_crc true/false\" tables\nunchanged while making malformed tables fail during target construction\nwith a precise missing-value error."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"1247615aadb74c89c1b2f01a6de7df9dab92ecb3","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a","versionType":"git"},{"version":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0","status":"affected","lessThan":"d9c631e3fbd44246a2be781d26cfacbb9b8ec127","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-pcache/dm_pcache.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-pcache/dm_pcache.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1247615aadb74c89c1b2f01a6de7df9dab92ecb3"},{"url":"https://git.kernel.org/stable/c/0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a"},{"url":"https://git.kernel.org/stable/c/d9c631e3fbd44246a2be781d26cfacbb9b8ec127"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:08:16.915Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}