CVE-2024-57901

Description

A flaw was found in the Linux kernel's packet socket implementation. A local user with permissions to create raw packet sockets can cause a Denial of Service (DoS) by triggering a system crash. When an application inspects network datagrams using the MSG_PEEK flag, the kernel improperly modifies shared socket buffers during protocol extraction. This unexpected state results in a kernel panic, rendering the system unavailable.

Statement

This vulnerability is rated as Moderate severity because it requires local execution privileges to create or manipulate raw packet sockets, limiting the blast radius to a denial of service. A local user with appropriate socket capabilities can trigger an unexpected socket buffer state when peeking at network datagrams, causing the kernel to panic. System confidentiality and data integrity remain unaffected since the flaw cannot be leveraged for data exposure or privilege escalation.

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.57.3
Attack VectorLocalLocalLocal
Attack ComplexityLowLowLow
Privileges RequiredLowLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneHigh
Integrity ImpactNoneNoneLow
Availability ImpactHighHighHigh

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

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/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.