CVE-2026-72104

dm-pcache: reject option groups without values

Published Aug 15, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A null pointer dereference occurs while parsing optional arguments for the dm-pcache target in the Linux kernel. If a target advertises an option name but no value—e.g. "cache_mode" without a corresponding value—the parser consumes the name, then attempts to fetch a non‑existent value. The resulting NULL pointer is dere in a strcmp call, leading to a kernel oops or crash. The flaw allows any malformed table that reaches the dm‑pcache target to trigger a controlled failure during target construction, potentially exposing the system to a denial of service. Because the parsing occurs at kernel level, the impact is local to the administrator or privileged process that creates or modifies the target, but a crash can disrupt all users of that kernel.

Affected Systems

All Linux kernel releases that include the dm-pcache module before the recent fix are affected. Systems that load the dm-pcache target and can supply custom configuration tables—such as those using device‑mapper’s persistent cache feature—are at risk. The vulnerability is present regardless of kernel ABI version; any kernel employing dm-pcache without the patch can be impacted.

Risk and Exploitability

The CVSS score is 5.5, EPSS score is < 1%, and the vulnerability is not listed in CISA’s KEV catalog. The information suggests that exploitation requires local privileged access to create a dm‑pcache target or to load a kernel module that configures it. An attacker would need to supply a malformed configuration table, which is possible only from a user that can modify device‑mapper settings. The resulting kernel crash leads to a denial of service that affects all users of the compromised kernel. Thus, the risk is significant for environments where dm‑pcache is enabled and can be manipulated by a trusted user, but remote exploitation remains unlikely.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a kernel release that includes the patch validating option values before dereferencing.
  • If upgrading is not immediately possible, disable the dm‑pcache target or block creation of new tables until the kernel is patched.
  • Reboot the system after applying the updated kernel to ensure the crash bug is removed and services resume normal operation.

Generated by OpenCVE AI on August 18, 2026 at 03:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values 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.
Title dm-pcache: reject option groups without values
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 5:08 AM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:21 AM
Modified
Aug 17, 2026, 6:18 AM
Severity
Low
Public date
Aug 15, 2026, 12:00 AM