CVE-2024-50299

Description

A flaw was found in the Linux kernel's Stream Control Transmission Protocol (SCTP) subsystem. Due to improper chunk size validation when handling out-of-the-blue packets in the sctp_sf_ootb() function, the kernel can read uninitialized memory. An attacker could exploit this vulnerability by sending specially crafted SCTP packets, causing a kernel crash and resulting in a denial of service (DoS).

Mitigation

To mitigate this issue, prevent the sctp kernel module from being loaded:

1. Create a configuration file to disable autoloading:

echo "install sctp /bin/true" > /etc/modprobe.d/sctp.conf

2. If the sctp module is not currently in use, unload it from memory:

modprobe -r sctp
Alternatively, reboot the system to ensure the module is completely unloaded.

Warning: If the module is actively in use, unloading it may fail or disrupt network connections, and a system reboot will be required for changes to take effect.

Caveat: Disabling the SCTP module will prevent any network services or applications that rely on the SCTP protocol from establishing connections.

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.55.5
Attack VectorLocalLocalLocal
Attack ComplexityLowLowLow
Privileges RequiredLowLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneNone
Integrity ImpactNoneNoneNone
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:N/I:N/A:H

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory; Read Application Data

When reusing a resource such as memory or a program variable, the original contents of that resource may not be cleared before it is sent to an untrusted party.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend.

Frequently Asked Questions

Want to get errata notifications? Sign up here.