PT-2024-5792 · Linux+9 · Linux Kernel+9

Joel Guittet

·

Published

2024-05-02

·

Updated

2025-09-29

·

CVE-2024-36905

CVSS v2.0

10

High

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.37
Description A vulnerability in the Linux kernel's TCP implementation allows for a divide-by-zero error in the tcp rcv space adjust() function. This occurs when a socket transitions from the TCP SYN RECV state to the TCP FIN WAIT1 state without calling tcp init transfer(), which also means tcp init buffer space() is not called. The issue can be triggered by a remote attacker, potentially leading to a denial-of-service condition. To fix this, the tcp shutdown() function should be modified to not perform the TCP SYN RECV to TCP FIN WAIT1 transition, and instead, wait for the socket state to change to TCP ESTABLISH before entering the TCP FIN WAIT1 state and sending a FIN packet.
Recommendations To resolve this issue, update the Linux kernel to version 6.6.37 or later. If updating is not immediately possible, consider applying the patch that changes the tcp shutdown() function to correctly handle the TCP SYN RECV state transition. Additionally, as a temporary workaround, consider disabling the tcp shutdown() function for TCP SYN RECV sockets until a patch is available.

Exploit

Fix

Divide By Zero

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:5101
ALSA-2024:5102
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-06522
CESA-2024_5101
CESA-2024_5102
CVE-2024-36905
DLA-3840-1
DLA-3843-1
DSA-5703-1
INFSA-2024_5101
INFSA-2024_5102
INFSA-2024_9315
MGASA-2024-0263
MGASA-2024-0266
OESA-2024-1706
OESA-2024-1736
OESA-2024-1738
OESA-2024-1766
OPENSUSE-SU-2024_4314-1
OPENSUSE-SU-2024_4315-1
OPENSUSE-SU-2024_4316-1
OPENSUSE-SU-2024_4376-1
RHSA-2024:5101
RHSA-2024:5102
RHSA-2024:9315
RHSA-2024_5101
RHSA-2024_5102
RHSA-2024_9315
RHSA-2025:2270
RLSA-2024:5101
RLSA-2024:5102
RXSA-2024:5101
SUSE-SU-2024:4314-1
SUSE-SU-2024:4315-1
SUSE-SU-2024:4316-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4364-1
SUSE-SU-2024:4367-1
SUSE-SU-2024:4376-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:0035-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-6949-1
USN-6949-2
USN-6950-1
USN-6950-2
USN-6950-3
USN-6950-4
USN-6951-1
USN-6951-2
USN-6951-3
USN-6951-4
USN-6952-1
USN-6952-2
USN-6953-1
USN-6955-1
USN-6956-1
USN-6957-1
USN-6979-1
USN-7019-1

Affected Products

Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu