CVE-2024-53206CWE-416

CVE-2024-53206

Critical · published December 27, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
49.7
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00633 · 49.7th percentile
Weakness
CWE-416 · Use After Free
Published
2024-12-27T19:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15.170, < 5.15.1745.15.174
linux/linux_kernel≥ 6.1.115, < 6.1.1206.1.120
linux/linux_kernel≥ 6.6.59, < 6.6.646.6.64
linux/linux_kernel≥ 6.11.6, < 6.11.116.11.11
linux/linux_kernel≥ 6.12, < 6.12.26.12.2
References (7)
EPSS history
Timeline
  • 27 DEC 13:49Z
    tcp: Fix use-after-free of nreq in reqsk_timer_handler().
    cvelistv5