CVE-2024-41003

Description

A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) verifier. When evaluating conditional branch instructions against constant values, the verifier incorrectly shared internal register state across different execution paths, resulting in corrupted register bounds tracking. A local user permitted to load BPF programs could exploit this flaw by loading a specially crafted program to bypass kernel safety checks, potentially leading to privilege escalation or a Denial of Service (DoS).

Statement

This vulnerability is rated as Low impact for Red Hat Enterprise Linux because exploitation requires privileged capabilities to load Berkeley Packet Filter (BPF) programs. By default on Red Hat Enterprise Linux, unprivileged access to BPF is disabled via the kernel.unprivileged_bpf_disabled sysctl parameter. Consequently, an attacker must already possess administrative permissions (such as CAP_BPF or CAP_SYS_ADMIN) to trigger this flaw, significantly reducing exposure to unprivileged local attackers.

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

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.47.87.8
Attack VectorLocalLocalLocal
Attack ComplexityLowLowLow
Privileges RequiredHighLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneHighHigh
Integrity ImpactNoneHighHigh
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/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:H/I:H/A:H

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

Understanding the Weakness (CWE)

Confidentiality,Integrity

Technical Impact: Read Application Data; Modify Application Data; Read Files or Directories; Modify Files or Directories

An attacker could gain access to or modify sensitive data or system resources. This could allow access to protected files or directories including configuration files and files containing sensitive information.

Frequently Asked Questions

Want to get errata notifications? Sign up here.