tcp: Fix potential UAF in reqsk_timer_handler().

State
Published
Severity
8.1 High
Published
Nov 3, 2026
Updated
Nov 23, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux83fccfc3940c4a2db90fd7e7079f5b465cd8c6af to before bd3a72a14b1040f0e7ea827bd31322e26e2a9fae Affected83fccfc3940c4a2db90fd7e7079f5b465cd8c6af to before d7f28a027af63a9d47784fd89d72ae15d87b7d5f Affected83fccfc3940c4a2db90fd7e7079f5b465cd8c6af to before c130cc5f70b1f8f1f8f18432dfdc90ac59673f31 Affected83fccfc3940c4a2db90fd7e7079f5b465cd8c6af to before f7fba81b00699360f96ed7d9a47b8c801e74c6f9 Affected83fccfc3940c4a2db90fd7e7079f5b465cd8c6af to before b3b56e95f6fad7fa7281450b443e861d82616fdb Affected83fccfc3940c4a2db90fd7e7079f5b465cd8c6af to before 97c8a3c1f73d828de43a5a88e8a9a143efb2b661 Affectedd3a1196bfc462943694623412d8e03aaf172bdc1 Affected4.1.11 to before 4.2 Affected
Linux Linux4.2 Affectedbefore 4.2 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.