CVE-2026-72104

dm-pcache: reject option groups without values

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 to before 1247615aadb74c89c1b2f01a6de7df9dab92ecb3Affected
  • 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 to before 0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5aAffected
  • 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 to before d9c631e3fbd44246a2be781d26cfacbb9b8ec127Affected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.