{"api_version":"1","generated_at":"2026-08-15T08:44:18+00:00","cve":"CVE-2026-74404","urls":{"html":"https://cve.report/CVE-2026-74404","api":"https://cve.report/api/cve/CVE-2026-74404.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74404","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74404"},"summary":{"title":"crypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-one","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-one\n\nSashiko notes:\n\n> regarding the bounds check in snp_filter_reserved_mem_regions()\n> called via walk_iomem_res_desc(): does the check\n> if ((range_list->num_elements * 16 + 8) > PAGE_SIZE)\n> allow an off-by-one heap buffer overflow?\n>\n> If range_list->num_elements is 255, 255 * 16 + 8 = 4088, which is <= 4096.\n> Writing range->base (8 bytes) fills 4088-4095, but writing range->page_count\n> (4 bytes) would write to 4096-4099, overflowing the kzalloc-allocated\n> PAGE_SIZE buffer.\n\nFix this by accounting for the entry about to be written to, in addition to\nthe entries that are already allocated.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:42","updated_at":"2026-08-15 06:22:42"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/af7341616b742ad2c374a90998bd650a035f694d","name":"https://git.kernel.org/stable/c/af7341616b742ad2c374a90998bd650a035f694d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/830c1f3e71989448652973375ef5e39b6ede47a3","name":"https://git.kernel.org/stable/c/830c1f3e71989448652973375ef5e39b6ede47a3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c5c79d92da0f9a09f48be5e2aabed2d6d1a96294","name":"https://git.kernel.org/stable/c/c5c79d92da0f9a09f48be5e2aabed2d6d1a96294","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1b864b6cb213bbd7b406e9b2e98c962077f300df","name":"https://git.kernel.org/stable/c/1b864b6cb213bbd7b406e9b2e98c962077f300df","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74404","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74404","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2 830c1f3e71989448652973375ef5e39b6ede47a3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2 c5c79d92da0f9a09f48be5e2aabed2d6d1a96294 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2 af7341616b742ad2c374a90998bd650a035f694d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2 1b864b6cb213bbd7b406e9b2e98c962077f300df git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.9","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.9 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.97 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/crypto/ccp/sev-dev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"830c1f3e71989448652973375ef5e39b6ede47a3","status":"affected","version":"1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2","versionType":"git"},{"lessThan":"c5c79d92da0f9a09f48be5e2aabed2d6d1a96294","status":"affected","version":"1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2","versionType":"git"},{"lessThan":"af7341616b742ad2c374a90998bd650a035f694d","status":"affected","version":"1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2","versionType":"git"},{"lessThan":"1b864b6cb213bbd7b406e9b2e98c962077f300df","status":"affected","version":"1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/crypto/ccp/sev-dev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.9"},{"lessThan":"6.9","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.97","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.97","versionStartIncluding":"6.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"6.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"6.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"6.9","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-one\n\nSashiko notes:\n\n> regarding the bounds check in snp_filter_reserved_mem_regions()\n> called via walk_iomem_res_desc(): does the check\n> if ((range_list->num_elements * 16 + 8) > PAGE_SIZE)\n> allow an off-by-one heap buffer overflow?\n>\n> If range_list->num_elements is 255, 255 * 16 + 8 = 4088, which is <= 4096.\n> Writing range->base (8 bytes) fills 4088-4095, but writing range->page_count\n> (4 bytes) would write to 4096-4099, overflowing the kzalloc-allocated\n> PAGE_SIZE buffer.\n\nFix this by accounting for the entry about to be written to, in addition to\nthe entries that are already allocated."}],"providerMetadata":{"dateUpdated":"2026-08-15T05:59:14.073Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/830c1f3e71989448652973375ef5e39b6ede47a3"},{"url":"https://git.kernel.org/stable/c/c5c79d92da0f9a09f48be5e2aabed2d6d1a96294"},{"url":"https://git.kernel.org/stable/c/af7341616b742ad2c374a90998bd650a035f694d"},{"url":"https://git.kernel.org/stable/c/1b864b6cb213bbd7b406e9b2e98c962077f300df"}],"title":"crypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-one","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74404","datePublished":"2026-08-15T05:59:14.073Z","dateReserved":"2026-08-15T05:44:03.892Z","dateUpdated":"2026-08-15T05:59:14.073Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:22:42","lastModifiedDate":"2026-08-15 06:22:42","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74404","Ordinal":"1","Title":"crypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-one","CVE":"CVE-2026-74404","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74404","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-one\n\nSashiko notes:\n\n> regarding the bounds check in snp_filter_reserved_mem_regions()\n> called via walk_iomem_res_desc(): does the check\n> if ((range_list->num_elements * 16 + 8) > PAGE_SIZE)\n> allow an off-by-one heap buffer overflow?\n>\n> If range_list->num_elements is 255, 255 * 16 + 8 = 4088, which is <= 4096.\n> Writing range->base (8 bytes) fills 4088-4095, but writing range->page_count\n> (4 bytes) would write to 4096-4099, overflowing the kzalloc-allocated\n> PAGE_SIZE buffer.\n\nFix this by accounting for the entry about to be written to, in addition to\nthe entries that are already allocated.","Type":"Description","Title":"crypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-one"}]}}}