tcp: Fix potential UAF in reqsk_timer_handler(). (Linux Linux)

CVE-2026-99270
HIGH 8.1

At a glance

Source
NVD
EPSS
EPSS 0.50 % · percentile 44 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: tcp: Fix potential UAF in reqsk_timer_handler(). When TCP socket migration fails at inet_ehash_insert() in reqsk_timer_handler(), we jump to the no_ownership: label and free the new reqsk immediately with __reqsk_free(). Thus, we must stop the new reqsk's timer before jumping to the label, but the timer might be missed since the cited commit, resulting in UAF. As we are in the original reqsk's timer context, we can safely call timer_delete_sync() for the new reqsk. Let's pass false to __inet_csk_reqsk_queue_drop() to stop the new reqsk's timer.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 83fccfc3940c4a2db90fd7e7079f5b465cd8c6af < bd3a72a14b1040f0e7ea827bd31322e26e2a9fae
affected : ≥ 83fccfc3940c4a2db90fd7e7079f5b465cd8c6af < d7f28a027af63a9d47784fd89d72ae15d87b7d5f
affected : ≥ 83fccfc3940c4a2db90fd7e7079f5b465cd8c6af < c130cc5f70b1f8f1f8f18432dfdc90ac59673f31
affected : ≥ 83fccfc3940c4a2db90fd7e7079f5b465cd8c6af < f7fba81b00699360f96ed7d9a47b8c801e74c6f9
affected : ≥ 83fccfc3940c4a2db90fd7e7079f5b465cd8c6af < b3b56e95f6fad7fa7281450b443e861d82616fdb
affected : ≥ 83fccfc3940c4a2db90fd7e7079f5b465cd8c6af < 97c8a3c1f73d828de43a5a88e8a9a143efb2b661
affected : d3a1196bfc462943694623412d8e03aaf172bdc1
affected : ≥ 4.1.11 < 4.2
Other versions : unaffected
Linux · Linux
affected : 4.2
unaffected : ≥ 0 < 4.2
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD