Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-one Sashiko notes: > regarding the bounds check in snp_filter_reserved_mem_regions() > called via walk_iomem_res_desc(): does the check > if ((range_list->num_elements * 16 + 8) > PAGE_SIZE) > allow an off-by-one heap buffer overflow? > > If range_list->num_elements is 255, 255 * 16 + 8 = 4088, which is <= 4096. > Writing range->base (8 bytes) fills 4088-4095, but writing range->page_count > (4 bytes) would write to 4096-4099, overflowing the kzalloc-allocated > PAGE_SIZE buffer. Fix this by accounting for the entry about to be written to, in addition to the entries that are already allocated.

Announced Group revision 1
Original source ↗

CVE-2026-74404

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-74404

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2",
        "lessThan": "830c1f3e71989448652973375ef5e39b6ede47a3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2",
        "lessThan": "c5c79d92da0f9a09f48be5e2aabed2d6d1a96294",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2",
        "lessThan": "af7341616b742ad2c374a90998bd650a035f694d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2",
        "lessThan": "1b864b6cb213bbd7b406e9b2e98c962077f300df",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/crypto/ccp/sev-dev.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.9"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.9",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.97",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.40",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/crypto/ccp/sev-dev.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-74404

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#33140 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement