# CVE-2023-53121: tcp: tcp_make_synack() can be called from process context

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-05-02T15:55:58.123Z
- Modified: 2026-11-05T21:17:14.840Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

tcp: tcp_make_synack() can be called from process context

tcp_rtx_synack() now could be called in process context as explained in
0a375c822497 ("tcp: tcp_rtx_synack() can be called from process
context").

tcp_rtx_synack() might call tcp_make_synack(), which will touch per-CPU
variables with preemption enabled. This causes the following BUG:

    BUG: using __this_cpu_add() in preemptible [00000000] code: ThriftIO1/5464
    caller is tcp_make_synack+0x841/0xac0
    Call Trace:
     <TASK>
     dump_stack_lvl+0x10d/0x1a0
     check_preemption_disabled+0x104/0x110
     tcp_make_synack+0x841/0xac0
     tcp_v6_send_synack+0x5c/0x450
     tcp_rtx_synack+0xeb/0x1f0
     inet_rtx_syn_ack+0x34/0x60
     tcp_check_req+0x3af/0x9e0
     tcp_rcv_state_process+0x59b/0x2030
     tcp_v6_do_rcv+0x5f5/0x700
     release_sock+0x3a/0xf0
     tcp_sendmsg+0x33/0x40
     ____sys_sendmsg+0x2f2/0x490
     __sys_sendmsg+0x184/0x230
     do_syscall_64+0x3d/0x90

Avoid calling __TCP_INC_STATS() with will touch per-cpu variables. Use
TCP_INC_STATS() which is safe to be called from context switch.

(As written by CVE List.)

## Affected

- Linux Linux: from 8336886f786fdacbc19b719c1f7ea91eb70706d4 before d493d4fe88195a144d6a277a90062a7534ed2192; from 8336886f786fdacbc19b719c1f7ea91eb70706d4 before e23ca307745be3df7fe9762f3e2a7e311a57852e; from 8336886f786fdacbc19b719c1f7ea91eb70706d4 before 442aa78ed70188b21ccd8669738448702c0a3281; from 8336886f786fdacbc19b719c1f7ea91eb70706d4 before 77ad58bca0119e8cc3e0e9d91a3f22caa66e4dfa; from 8336886f786fdacbc19b719c1f7ea91eb70706d4 before ad07290d63ff6689f50565b02f5b6f34ec15a5ca; from 8336886f786fdacbc19b719c1f7ea91eb70706d4 before 9180aa4622a720b433e842b4d3aa34d73eec577a; from 8336886f786fdacbc19b719c1f7ea91eb70706d4 before 7613cde8c0c1f02a7ec2e1d536c01b65b135fc1c; from 8336886f786fdacbc19b719c1f7ea91eb70706d4 before bced3f7db95ff2e6ca29dc4d1c9751ab5e736a09; 3.7 (not affected: before 3.7; from 4.14.311 up to 4.14.*; from 4.19.279 up to 4.19.*; from 5.4.238 up to 5.4.*; from 5.10.176 up to 5.10.*; from 5.15.104 up to 5.15.*; from 6.1.21 up to 6.1.*; from 6.2.8 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 3.7 before 4.14.311; from 4.15 before 4.19.279; from 4.20 before 5.4.238; from 5.5 before 5.10.176; from 5.11 before 5.15.104; from 5.16 before 6.1.21; from 6.2 before 6.2.8; 6.3

## References

- <https://git.kernel.org/stable/c/d493d4fe88195a144d6a277a90062a7534ed2192> (patch)
- <https://git.kernel.org/stable/c/e23ca307745be3df7fe9762f3e2a7e311a57852e> (patch)
- <https://git.kernel.org/stable/c/442aa78ed70188b21ccd8669738448702c0a3281> (patch)
- <https://git.kernel.org/stable/c/77ad58bca0119e8cc3e0e9d91a3f22caa66e4dfa> (patch)
- <https://git.kernel.org/stable/c/ad07290d63ff6689f50565b02f5b6f34ec15a5ca> (patch)
- <https://git.kernel.org/stable/c/9180aa4622a720b433e842b4d3aa34d73eec577a> (patch)
- <https://git.kernel.org/stable/c/7613cde8c0c1f02a7ec2e1d536c01b65b135fc1c> (patch)
- <https://git.kernel.org/stable/c/bced3f7db95ff2e6ca29dc4d1c9751ab5e736a09> (patch)

## Sources

- CVE List: [CVE-2023-53121](https://www.cve.org/CVERecord?id=CVE-2023-53121), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2023-53121](https://nvd.nist.gov/vuln/detail/CVE-2023-53121), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-53121 · Whole record: https://cve.day/CVE-2023-53121.json · Rebuilt by cve.day 2026-11-25T22:58:34.680Z
