dm-pcache: reject option groups without values (Linux Linux)

CVE-2026-72104
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 < 1247615aadb74c89c1b2f01a6de7df9dab92ecb3 ; affected 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 < 0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a ; affected 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 < d9c631e3fbd44246a2be781d26cfacbb9b8ec127
Linux · Linuxaffected 6.18 ; unaffected 0 < 6.18 ; unaffected 6.18.40 ≤ 6.18.* ; unaffected 7.1.5 ≤ 7.1.* ; unaffected 7.2 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD