REDHAT-BUG-2507213: Medium severity Linux Linux kernel vulnerability

Published Jul 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mm/slab: do not limit zeroing to origsize 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 GFPZERO 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 SLABREDZONE is enabled without SLABSTOREUSER (which enables tracking the requested size). This means enabling red zoning alone can compromise krealloc()'s GFPZERO contract.

Fix this by using slubdebugorigsize() 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 Software

1 affected component
Linux Linux kernel

Event History

Jul 25, 2026
Data Sourced
via Red Hat·10:10 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2507213?

The severity of REDHAT-BUG-2507213 is classified as medium with a CVSS score of 4.

2

What does REDHAT-BUG-2507213 affect?

REDHAT-BUG-2507213 affects the Linux kernel, particularly the memory management subsystem.

3

How do I fix REDHAT-BUG-2507213?

To resolve REDHAT-BUG-2507213, apply the appropriate security patches provided by your Linux distribution.

4

When was REDHAT-BUG-2507213 published?

REDHAT-BUG-2507213 was published on July 25, 2026.

5

What is the impact of REDHAT-BUG-2507213?

The impact of REDHAT-BUG-2507213 pertains to improper memory initialization which could potentially lead to data leaks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203