CVE-2026-98868
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: dm-pcache: reject a kset that overruns its segment cache_replay(), the writeback worker and the GC worker read a kset of get_kset_onmedia_size() bytes and advance the position by it. A forged key_num makes that size exceed the segment's remaining space, so the advance walks past the segment and trips the cache_pos_advance() BUG_ON. Reject a kset whose on-media size exceeds cache_seg_remain() before use.
Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:41.320000
Last modified
2026-10-19 10:19:50.843000
View original CVE JSON
{
"id": "CVE-2026-98868",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-18T16:17:41.320",
"lastModified": "2026-10-19T10:19:50.843",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: reject a kset that overruns its segment\n\ncache_replay(), the writeback worker and the GC worker read a kset of\nget_kset_onmedia_size() bytes and advance the position by it. A forged\nkey_num makes that size exceed the segment's remaining space, so the\nadvance walks past the segment and trips the cache_pos_advance() BUG_ON.\n\nReject a kset whose on-media size exceeds cache_seg_remain() before use."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/md/dm-pcache/cache_gc.c",
"drivers/md/dm-pcache/cache_key.c",
"drivers/md/dm-pcache/cache_writeback.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "1d57628ff95b32d5cfa8d8f50e07690c161e9cf0",
"lessThan": "01a700e9278da5706c865b9ca3ae70fdb7b4531d",
"versionType": "git",
"status": "affected"
},
{
"version": "1d57628ff95b32d5cfa8d8f50e07690c161e9cf0",
"lessThan": "96e2863b1f81ea61b8d8d5d5a45d3b4c018f8e10",
"versionType": "git",
"status": "affected"
},
{
"version": "1d57628ff95b32d5cfa8d8f50e07690c161e9cf0",
"lessThan": "7ac1f10f987a2ffae4aecf0e2ceca8f552b665cb",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/md/dm-pcache/cache_gc.c",
"drivers/md/dm-pcache/cache_key.c",
"drivers/md/dm-pcache/cache_writeback.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "6.18",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.18",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.52",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.10",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/01a700e9278da5706c865b9ca3ae70fdb7b4531d",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/7ac1f10f987a2ffae4aecf0e2ceca8f552b665cb",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/96e2863b1f81ea61b8d8d5d5a45d3b4c018f8e10",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}