CVE-2024-53206
CriticalCVSS 9.8Exploitation Probability (EPSS)
Low risk13th percentile - higher than 13% of all known CVEs
Summary
In the Linux kernel, in the TCP stack, there is a use-after-free vulnerability in the reqsk_timer_handler() function. A previous fix replaced inet_csk_reqsk_queue_drop_and_put() with __inet_csk_reqsk_queue_drop() and reqsk_put(), but it passes the wrong pointer (req instead of oreq) to reqsk_put(), which can lead to use-after-free.
Risk Assessment
This can lead to system crashes, unpredictable behavior, or potential remote code execution if exploited by an attacker, especially in high-traffic network environments.
Recommendation
It is recommended to update the Linux kernel to a version with the fix that passes oreq to reqsk_put() instead of req.
Original NVD description (English source)
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().

