# CVE-2026-64368: mm/slab: do not limit zeroing to orig\_size when only red zoning is enabled

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **CWE:** CWE-665
- **Published:** 2026-07-25T08:50:21.831Z
- **Modified:** 2026-10-19T21:17:33.260Z

## Who should check

- Anyone running Linux \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 6256899c3a34674bba6076884aedbba49fc695e4; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 7e706d50fa119eead6376bf0ef973e8d73a96030; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 2382971aaaef5bf85a651234c64906f59580b8be; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 0d18ccef142f04433dfb2a0c120cf223d2b8a42c; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 648927ceb84021a25a0fbd5673740956f318d534
- Anyone running Linux 6.2

## 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.

## Affected and fixed versions

- Linux: \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 6256899c3a34674bba6076884aedbba49fc695e4; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 7e706d50fa119eead6376bf0ef973e8d73a96030; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 2382971aaaef5bf85a651234c64906f59580b8be; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 0d18ccef142f04433dfb2a0c120cf223d2b8a42c; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 648927ceb84021a25a0fbd5673740956f318d534 (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- Upgrade Linux to 648927ceb84021a25a0fbd5673740956f318d534 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64368. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64368.md
Affected: Linux >= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, < 6256899c3a34674bba6076884aedbba49fc695e4; >= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, < 7e706d50fa119eead6376bf0ef973e8d73a96030; >= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, < 2382971aaaef5bf85a651234c64906f59580b8be; >= 9ce67395f5a0cdec6ce152d…
Fixed in: Linux 6256899c3a34674bba6076884aedbba49fc695e4, Linux 7e706d50fa119eead6376bf0ef973e8d73a96030, Linux 2382971aaaef5bf85a651234c64906f59580b8be, Linux 0d18ccef142f04433dfb2a0c120cf223d2b8a42c, Linux 648927ceb84021a25a0fbd5673740956f318d534

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64368 being exploited?

There is no confirmed exploitation: CVE-2026-64368 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64368?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-64368?

Linux \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 6256899c3a34674bba6076884aedbba49fc695e4; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 7e706d50fa119eead6376bf0ef973e8d73a96030; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 2382971aaaef5bf85a651234c64906f59580b8be; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 0d18ccef142f04433dfb2a0c120cf223d2b8a42c; \>= 9ce67395f5a0cdec6ce152d26bfda13b98b25c01, \< 648927ceb84021a25a0fbd5673740956f318d534; Linux 6.2.

### Is there a fix for CVE-2026-64368?

Yes. Fixed in Linux 6256899c3a34674bba6076884aedbba49fc695e4, Linux 7e706d50fa119eead6376bf0ef973e8d73a96030, Linux 2382971aaaef5bf85a651234c64906f59580b8be, Linux 0d18ccef142f04433dfb2a0c120cf223d2b8a42c, Linux 648927ceb84021a25a0fbd5673740956f318d534. Upgrade Linux to 648927ceb84021a25a0fbd5673740956f318d534 or later.

### How do I check if I'm affected by CVE-2026-64368?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/6256899c3a34674bba6076884aedbba49fc695e4>
- patch: <https://git.kernel.org/stable/c/7e706d50fa119eead6376bf0ef973e8d73a96030>
- patch: <https://git.kernel.org/stable/c/2382971aaaef5bf85a651234c64906f59580b8be>
- patch: <https://git.kernel.org/stable/c/0d18ccef142f04433dfb2a0c120cf223d2b8a42c>
- patch: <https://git.kernel.org/stable/c/648927ceb84021a25a0fbd5673740956f318d534>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64368>

HTML: <https://flawdb.com/CVE-2026-64368> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64368>
