CVE-2024-53206: tcp: Fix use-after-free of nreq in reqsk_timer_handler().
In the Linux kernel, the following vulnerability has been resolved:
tcp: Fix use-after-free of nreq in reqsktimerhandler().
The cited commit replaced inetcskreqskqueuedropandput() with inetcskreqskqueuedrop() and reqskput() in reqsktimerhandler().
Then, oreq should be passed to reqskput() 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 reqskput().
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-53206?
CVE-2024-53206 has a critical severity due to the potential for remote code execution and system compromise.
How do I fix CVE-2024-53206?
To fix CVE-2024-53206, update your Linux kernel to the patched versions as specified in the official announcements.
Which versions of the Linux kernel are affected by CVE-2024-53206?
The affected versions of the Linux kernel include 5.15.170 to 5.15.174, 6.1.115 to 6.1.120, 6.6.59 to 6.6.64, 6.11.6 to 6.11.11, and 6.12 to 6.12.2.
What is the nature of the vulnerability in CVE-2024-53206?
CVE-2024-53206 is a use-after-free vulnerability that can lead to a denial of service or arbitrary code execution.
Are there any recommended mitigations for CVE-2024-53206?
While updating the kernel is the primary solution, implementing measures to limit exposure of vulnerable services can serve as a temporary mitigation.