CVE-2026-74404

Source
https://cve.org/CVERecord?id=CVE-2026-74404
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74404.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74404
Downstream
Published
2026-08-15T05:59:14.073Z
Modified
2026-08-16T03:48:50.772695770Z
Summary
crypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-one
Details

In the Linux kernel, the following vulnerability has been resolved:

crypto: ccp - Fix snpfilterreservedmemregions() off-by-one

Sashiko notes:

regarding the bounds check in snpfilterreservedmemregions() called via walkiomemresdesc(): does the check if ((rangelist->numelements * 16 + 8) > PAGESIZE) allow an off-by-one heap buffer overflow?

If rangelist->numelements is 255, 255 * 16 + 8 = 4088, which is <= 4096. Writing range->base (8 bytes) fills 4088-4095, but writing range->pagecount (4 bytes) would write to 4096-4099, overflowing the kzalloc-allocated PAGESIZE buffer.

Fix this by accounting for the entry about to be written to, in addition to the entries that are already allocated.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74404.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2
Fixed
830c1f3e71989448652973375ef5e39b6ede47a3
Fixed
c5c79d92da0f9a09f48be5e2aabed2d6d1a96294
Fixed
af7341616b742ad2c374a90998bd650a035f694d
Fixed
1b864b6cb213bbd7b406e9b2e98c962077f300df

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74404.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74404.json"