Skip to main content
← All vulnerabilities
CVE-2024-53206

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.174, 6.1.120, 6.6.64, 6.11.11, 5.5, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 5.15.170 · fixed in 5.15.174; From 6.1.115 · fixed in 6.1.120; From 6.6.59 · fixed in 6.6.64; From 6.11.6 · fixed in 6.11.11; From 5.4.293 · fixed in 5.5; From 5.10.237 · fixed in 5.11

  • Linux Linux

    6.12

References 6

git.kernel.org