dm-pcache: reject option groups without values
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.40, 7.1.5
- CVEs
- CVE-2026-72104
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 22:54 UTC · Revision 1
Source evidence
dm-pcache: reject option groups without values
core-osv · Original sourcePublished 15 Aug 2026, 05:52 UTC
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.
osv:CVE-2026-72104
Kernel
Fixed versions: 6.18.40, 7.1.5
Complete source record
{
"id": "7102abb45aa8070c910e65f063241936a866383317f5ceedd66974fadbc6cf3f",
"url": "https://osv.dev/vulnerability/CVE-2026-72104",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "dm-pcache: reject option groups without values",
"summary": "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.",
"evidence": "osv:CVE-2026-72104",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.40",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-72104",
"aliases": [
"CVE-2026-72104"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.18.0"
},
{
"fixed": "6.18.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72104.json"
}
}
],
"modified": "2026-10-28T02:30:40.083789078Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0cbe13fe540330d31e5273bbf8cbd66bc7c9cb5a",
"https://git.kernel.org/stable/c/1247615aadb74c89c1b2f01a6de7df9dab92ecb3",
"https://git.kernel.org/stable/c/d9c631e3fbd44246a2be781d26cfacbb9b8ec127",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72104.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-72104",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72104.json"
}
},
"related_cves": [
{
"value": "CVE-2026-72104",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 507749,
"published_at": "2026-08-15T05:52:47.458+00:00"
}