CVE-2024-35934

Description

A flaw was found in the Linux kernel's Shared Memory Communications (SMC) subsystem. An unprivileged local user can cause a Denial of Service (DoS) by repeatedly creating network namespaces, triggering severe lock contention on core networking locks. This issue occurs because the SMC network initialization routine unnecessarily acquires the routing netlink (rtnl) lock even when no network devices are present, degrading system responsiveness and stalling network operations.

Statement

This vulnerability is rated as Low impact for Red Hat Enterprise Linux because exploitation requires local access to continuously generate network namespaces and only leads to performance degradation and lock contention without compromising system integrity or confidentiality. The flaw stems from suboptimal lock handling during namespace initialization within the Shared Memory Communications subsystem, which is not actively engaged on standard installations unless specialized hardware or protocols are configured. Consequently, the operational blast radius is limited to local resource exhaustion scenarios without inducing a complete kernel crash.

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 Score5.55.5N/A
Attack VectorLocalLocalN/A
Attack ComplexityLowLowN/A
Privileges RequiredLowLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityNoneNoneN/A
Integrity ImpactNoneNoneN/A
Availability ImpactHighHighN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/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,Integrity

Technical Impact: DoS: Resource Consumption (CPU); DoS: Crash, Exit, or Restart; Unexpected State

When a product is operating in a concurrent environment and repeatedly locks a critical resource, the consequences will vary based on the type of lock, the lock's implementation, and the resource being protected. In some situations such as with semaphores, the resources are pooled and extra locking calls will reduce the size of the total available pool, possibly leading to degraded performance or a denial of service. If this can be triggered by an attacker, it will be similar to an unrestricted lock (CWE-412). In the context of a binary lock, it is likely that any duplicate locking attempts will never succeed, since the lock is already held and progress may not be possible.

Frequently Asked Questions

Want to get errata notifications? Sign up here.