CVE-2025-21648

Description

A flaw was found in the Linux kernel's netfilter connection tracking subsystem. A local user with administrative privileges can trigger this issue by resizing the connection tracking table to an excessively large size. Because the hashtable capacity is not properly bounded, this can lead to memory allocation failures and kernel warnings, potentially resulting in a denial of service (DoS) or excessive log spam.

Statement

This vulnerability is rated as having Moderate impact on Red Hat Enterprise Linux because triggering the condition requires privileged administrative access within the initial network namespace to adjust connection tracking parameters. Modifying the table capacity to an excessive value triggers an unhandled memory allocation warning, leading to resource allocation failure or system log spam without enabling privilege escalation. Systems operating under default configurations are not exposed unless an administrator explicitly configures an oversized bucket threshold.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.15.5N/A
Attack VectorLocalLocalN/A
Attack ComplexityLowLowN/A
Privileges RequiredLowLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityHighNoneN/A
Integrity ImpactNoneNoneN/A
Availability ImpactHighHighN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (Memory)

Not controlling memory allocation can result in a request for too much system memory, possibly leading to a crash of the application due to out-of-memory conditions, or the consumption of a large amount of memory on the system.

Frequently Asked Questions

Want to get errata notifications? Sign up here.