{"id":"CVE-2026-72104","summary":"dm-pcache: reject option groups without values","details":"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.","modified":"2026-08-18T03:31:28.517108788Z","published":"2026-08-15T05:52:47.458Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72104.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1247615aadb74c89c1b2f01a6de7df9dab92ecb3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d9c631e3fbd44246a2be781d26cfacbb9b8ec127"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72104.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72104"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1d57628ff95b32d5cfa8d8f50e07690c161e9cf0"},{"fixed":"1247615aadb74c89c1b2f01a6de7df9dab92ecb3"},{"fixed":"0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a"},{"fixed":"d9c631e3fbd44246a2be781d26cfacbb9b8ec127"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72104.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72104.json"}}],"schema_version":"1.9.0"}