# CVE-2026-72104: dm-pcache: reject option groups without values

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-08-15T05:52:47.458Z
- Modified: 2026-08-17T06:18:09.383Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 before 1247615aadb74c89c1b2f01a6de7df9dab92ecb3; from 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 before 0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a; from 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 before d9c631e3fbd44246a2be781d26cfacbb9b8ec127; 6.18 (not affected: before 6.18; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/1247615aadb74c89c1b2f01a6de7df9dab92ecb3>
- <https://git.kernel.org/stable/c/0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a>
- <https://git.kernel.org/stable/c/d9c631e3fbd44246a2be781d26cfacbb9b8ec127>

## Sources

- CVE List: [CVE-2026-72104](https://www.cve.org/CVERecord?id=CVE-2026-72104), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-72104](https://nvd.nist.gov/vuln/detail/CVE-2026-72104), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-72104 · Whole record: https://cve.day/CVE-2026-72104.json · Rebuilt by cve.day 2026-11-25T22:59:33.006Z
