Paper/Archive/CVE-2024-53206

CVE-2024-53206

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

Description · from the CVE record

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().

Affected

ProductAffectedFixed inSource
Linux8459d61fbf24967839a70235165673148c7c7f17 – < 2dcc86fefe09ac853158afd96b60d544af115dc52dcc86fefe09ac853158afd96b60d544af115dc5CNA
Linux5071beb59ee416e8ab456ac8647a4dabcda823b1 – < 9a3c1ad93e6fba67b3a637cfa95a57a6685e49089a3c1ad93e6fba67b3a637cfa95a57a6685e4908CNA
Linux997ae8da14f1639ce6fb66a063dab54031cd61b3 – < 65ed89cad1f57034c256b016e89e8c0a4ec7c65b65ed89cad1f57034c256b016e89e8c0a4ec7c65bCNA
Linux51e34db64f4e43c7b055ccf881b7f3e0c31bb26d – < d0eb14cb8c08b00c36a3d5dc57a6f428b301f721d0eb14cb8c08b00c36a3d5dc57a6f428b301f721CNA
Linuxe8c526f2bdf1845bedaf6a478816a3d06fa78b8f – < 6d845028609a4af0ad66f499ee0bd5789122b0676d845028609a4af0ad66f499ee0bd5789122b067CNA
Linuxe8c526f2bdf1845bedaf6a478816a3d06fa78b8f – < c31e72d021db2714df03df6c42855a1db592716cc31e72d021db2714df03df6c42855a1db592716cCNA
Linux106e457953315e476b3642ef24be25ed862aaba3–CNA
Linuxc964bf65f80a14288d767023a1b300b30f5b9cd0–CNA
Linux5.15.170 – < 5.15.1745.15.174CNA
Linux6.1.115 – < 6.1.1206.1.120CNA
Linux6.6.59 – < 6.6.646.6.64CNA
Linux6.11.6 – < 6.11.116.11.11CNA

Scores by source

Linux (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADP7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgit.kernel.org/stable/c/2dcc86fefe09ac853158afd96b60d544af115dc5refgit.kernel.org/stable/c/9a3c1ad93e6fba67b3a637cfa95a57a6685e4908refgit.kernel.org/stable/c/65ed89cad1f57034c256b016e89e8c0a4ec7c65brefgit.kernel.org/stable/c/d0eb14cb8c08b00c36a3d5dc57a6f428b301f721refgit.kernel.org/stable/c/6d845028609a4af0ad66f499ee0bd5789122b067refgit.kernel.org/stable/c/c31e72d021db2714df03df6c42855a1db592716creflists.debian.org/debian-lts-announce/2025/03/msg00001.html