PT-2024-11305 · Linux+5 · Linux Kernel+5

Published

2021-07-06

·

Updated

2024-09-17

·

CVE-2021-47304

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a bug in the Linux kernel that could cause spurious double-initializations for congestion control modules, leading to memory leaks or other problems for modules that allocate memory in their init functions. The bug was introduced by a commit that set icsk ca initialized to 0 in tcp init transfer(), missing the possibility of a sequence where a process could call setsockopt(TCP CONGESTION) in state TCP SYN SENT, which would call tcp init congestion control(). This could result in tcp init congestion control() being called twice without a cc->release() call in between, causing a memory leak for CC modules like CDG that allocate memory in their init functions.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Double Free

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
BDU:2025-15441
CESA-2024_5101
CESA-2024_5102
CVE-2021-47304
INFSA-2024_5101
INFSA-2024_5102
RHSA-2024:5101
RHSA-2024:5102
RHSA-2024_5101
RHSA-2024_5102
RLSA-2024:5101
RLSA-2024:5102
RXSA-2024:5101

Affected Products

Almalinux
Astra Linux
Centos
Linux Kernel
Red Hat
Rocky Linux