CVE-2026-64368
mm/slab: do not limit zeroing to orig_size when only red zoning is enabled
Check your servers for CVE-2026-64368
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64368 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
mm/slab: do not limit zeroing to orig_size when only red zoning is enabled
When init (zeroing) on allocation is requested, for kmalloc() we generally have to zero the full object size even if a smaller size is requested, in order to provide krealloc()'s __GFP_ZERO guarantees.
But if we track the requested size, krealloc() uses that information to do the right thing, so we can zero only the requested size. With red zoning also enabled, any extra size became part of the red zone, so it must not be zeroed and thus we must zero only the requested size.
However the current check is imprecise, and will trigger also when only SLAB_RED_ZONE is enabled without SLAB_STORE_USER (which enables tracking the requested size). This means enabling red zoning alone can compromise krealloc()'s __GFP_ZERO contract.
Fix this by using slub_debug_orig_size() instead, which is the exact check for whether the requested size is tracked. We don't need to care if red zoning is also enabled or not. Also update and expand the comment accordingly.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.42%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 37.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-665 Improper Initialization
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, before 6256899c3a34674bba6076884aedbba49fc695e4 affected from 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, before 7e706d50fa119eead6376bf0ef973e8d73a96030 affected from 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, before 2382971aaaef5bf85a651234c64906f59580b8be affected from 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, before 0d18ccef142f04433dfb2a0c120cf223d2b8a42c affected from 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, before 648927ceb84021a25a0fbd5673740956f318d534
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.96 up to and including 6.12.* unaffected from 6.18.39 up to and including 6.18.* unaffected from 7.1.4 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64368 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64368
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64368
trivy image --scanners vuln IMAGE | grep CVE-2026-64368
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/6256899c3a34674bba6076884aedbba49fc695e4 git.kernel.org
- https://git.kernel.org/stable/c/7e706d50fa119eead6376bf0ef973e8d73a96030 git.kernel.org
- https://git.kernel.org/stable/c/2382971aaaef5bf85a651234c64906f59580b8be git.kernel.org
- https://git.kernel.org/stable/c/0d18ccef142f04433dfb2a0c120cf223d2b8a42c git.kernel.org
- https://git.kernel.org/stable/c/648927ceb84021a25a0fbd5673740956f318d534 git.kernel.org
Source: the record CVE-2026-64368 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse