CVE-2024-53206

tcp: Fix use-after-free of nreq in reqsk_timer_handler().

9.8 critical EPSS 0.63%

Published 27 Dec 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2024-53206

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-53206 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

tcp: Fix use-after-free of nreq in reqsk_timer_handler().

The cited commit replaced inet_csk_reqsk_queue_drop_and_put() with __inet_csk_reqsk_queue_drop() and reqsk_put() in reqsk_timer_handler().

Then, oreq should be passed to reqsk_put() instead of req; otherwise use-after-free of nreq could happen when reqsk is migrated but the retry attempt failed (e.g. due to timeout).

Let's pass oreq to reqsk_put().

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
7.8 high CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.63%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 51.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 11 Feb 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8459d61fbf24967839a70235165673148c7c7f17, before 2dcc86fefe09ac853158afd96b60d544af115dc5
affected from 5071beb59ee416e8ab456ac8647a4dabcda823b1, before 9a3c1ad93e6fba67b3a637cfa95a57a6685e4908
affected from 997ae8da14f1639ce6fb66a063dab54031cd61b3, before 65ed89cad1f57034c256b016e89e8c0a4ec7c65b
affected from 51e34db64f4e43c7b055ccf881b7f3e0c31bb26d, before d0eb14cb8c08b00c36a3d5dc57a6f428b301f721
affected from e8c526f2bdf1845bedaf6a478816a3d06fa78b8f, before 6d845028609a4af0ad66f499ee0bd5789122b067
affected from e8c526f2bdf1845bedaf6a478816a3d06fa78b8f, before c31e72d021db2714df03df6c42855a1db592716c
affected 106e457953315e476b3642ef24be25ed862aaba3
affected c964bf65f80a14288d767023a1b300b30f5b9cd0
affected from 5.15.170, before 5.15.174
affected from 6.1.115, before 6.1.120
affected from 6.6.59, before 6.6.64
affected from 6.11.6, before 6.11.11
affected from 5.4.293, before 5.5
affected from 5.10.237, before 5.11
Other versions: unaffected
Linux
affected 6.12
unaffected before 6.12
unaffected from 5.15.174 up to and including 5.15.*
unaffected from 6.1.120 up to and including 6.1.*
unaffected from 6.6.64 up to and including 6.6.*
unaffected from 6.11.11 up to and including 6.11.*
unaffected from 6.12.2 up to and including 6.12.*
unaffected 6.13 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-53206 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-53206

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-53206
trivy image --scanners vuln IMAGE | grep CVE-2024-53206

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-53206 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.