CVE-2024-53206

Source
https://cve.org/CVERecord?id=CVE-2024-53206
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53206.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53206
Downstream
Related
Published
2024-12-27T13:49:52.131Z
Modified
2026-03-20T12:40:48.964075Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
tcp: Fix use-after-free of nreq in reqsk_timer_handler().
Details

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53206.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8459d61fbf24967839a70235165673148c7c7f17
Fixed
2dcc86fefe09ac853158afd96b60d544af115dc5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5071beb59ee416e8ab456ac8647a4dabcda823b1
Fixed
9a3c1ad93e6fba67b3a637cfa95a57a6685e4908
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
997ae8da14f1639ce6fb66a063dab54031cd61b3
Fixed
65ed89cad1f57034c256b016e89e8c0a4ec7c65b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
51e34db64f4e43c7b055ccf881b7f3e0c31bb26d
Fixed
d0eb14cb8c08b00c36a3d5dc57a6f428b301f721
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e8c526f2bdf1845bedaf6a478816a3d06fa78b8f
Fixed
6d845028609a4af0ad66f499ee0bd5789122b067
Fixed
c31e72d021db2714df03df6c42855a1db592716c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
106e457953315e476b3642ef24be25ed862aaba3
Last affected
c964bf65f80a14288d767023a1b300b30f5b9cd0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53206.json"