{
  "id": "CVE-2026-64368",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64368",
  "published_at": "2026-07-25T08:50:21.831Z",
  "title": "mm/slab: do not limit zeroing to orig_size when only red zoning is enabled",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/slab: do not limit zeroing to orig_size when only red zoning is enabled\n\nWhen init (zeroing) on allocation is requested, for kmalloc() we\ngenerally have to zero the full object size even if a smaller size is\nrequested, in order to provide krealloc()'s __GFP_ZERO guarantees.\n\nBut if we track the requested size, krealloc() uses that information to\ndo the right thing, so we can zero only the requested size. With red\nzoning also enabled, any extra size became part of the red zone, so it\nmust not be zeroed and thus we must zero only the requested size.\n\nHowever the current check is imprecise, and will trigger also when only\nSLAB_RED_ZONE is enabled without SLAB_STORE_USER (which enables tracking\nthe requested size). This means enabling red zoning alone can compromise\nkrealloc()'s __GFP_ZERO contract.\n\nFix this by using slub_debug_orig_size() instead, which is the exact\ncheck for whether the requested size is tracked. We don't need to care\nif red zoning is also enabled or not. Also update and expand the\ncomment accordingly.",
  "cwe": "CWE-665",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \u003c 6256899c3a34674bba6076884aedbba49fc695e4",
          "\u003e= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \u003c 7e706d50fa119eead6376bf0ef973e8d73a96030",
          "\u003e= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \u003c 2382971aaaef5bf85a651234c64906f59580b8be",
          "\u003e= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \u003c 0d18ccef142f04433dfb2a0c120cf223d2b8a42c",
          "\u003e= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \u003c 648927ceb84021a25a0fbd5673740956f318d534"
        ],
        "fixed_in": [
          "6256899c3a34674bba6076884aedbba49fc695e4",
          "7e706d50fa119eead6376bf0ef973e8d73a96030",
          "2382971aaaef5bf85a651234c64906f59580b8be",
          "0d18ccef142f04433dfb2a0c120cf223d2b8a42c",
          "648927ceb84021a25a0fbd5673740956f318d534"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.2"
        ],
        "fixed_in": [
          "0",
          "6.6.145",
          "6.12.96",
          "6.18.39",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 6256899c3a34674bba6076884aedbba49fc695e4 or 7e706d50fa119eead6376bf0ef973e8d73a96030 or 2382971aaaef5bf85a651234c64906f59580b8be or 0d18ccef142f04433dfb2a0c120cf223d2b8a42c or 648927ceb84021a25a0fbd5673740956f318d534 or later.",
      "Upgrade Linux to 0 or 6.6.145 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
