{"id":"CVE-2023-53121","aliases":["CVE-2023-53121"],"related":[],"kind":"vulnerability","state":"published","title":"tcp: tcp_make_synack() can be called from process context","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: tcp_make_synack() can be called from process context\n\ntcp_rtx_synack() now could be called in process context as explained in\n0a375c822497 (\"tcp: tcp_rtx_synack() can be called from process\ncontext\").\n\ntcp_rtx_synack() might call tcp_make_synack(), which will touch per-CPU\nvariables with preemption enabled. This causes the following BUG:\n\n    BUG: using __this_cpu_add() in preemptible [00000000] code: ThriftIO1/5464\n    caller is tcp_make_synack+0x841/0xac0\n    Call Trace:\n     <TASK>\n     dump_stack_lvl+0x10d/0x1a0\n     check_preemption_disabled+0x104/0x110\n     tcp_make_synack+0x841/0xac0\n     tcp_v6_send_synack+0x5c/0x450\n     tcp_rtx_synack+0xeb/0x1f0\n     inet_rtx_syn_ack+0x34/0x60\n     tcp_check_req+0x3af/0x9e0\n     tcp_rcv_state_process+0x59b/0x2030\n     tcp_v6_do_rcv+0x5f5/0x700\n     release_sock+0x3a/0xf0\n     tcp_sendmsg+0x33/0x40\n     ____sys_sendmsg+0x2f2/0x490\n     __sys_sendmsg+0x184/0x230\n     do_syscall_64+0x3d/0x90\n\nAvoid calling __TCP_INC_STATS() with will touch per-cpu variables. Use\nTCP_INC_STATS() which is safe to be called from context switch.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: tcp_make_synack() can be called from process context\n\ntcp_rtx_synack() now could be called in process context as explained in\n0a375c822497 (\"tcp: tcp_rtx_synack() can be called from process\ncontext\").\n\ntcp_rtx_synack() might call tcp_make_synack(), which will touch per-CPU\nvariables with preemption enabled. This causes the following BUG:\n\n    BUG: using __this_cpu_add() in preemptible [00000000] code: ThriftIO1/5464\n    caller is tcp_make_synack+0x841/0xac0\n    Call Trace:\n     <TASK>\n     dump_stack_lvl+0x10d/0x1a0\n     check_preemption_disabled+0x104/0x110\n     tcp_make_synack+0x841/0xac0\n     tcp_v6_send_synack+0x5c/0x450\n     tcp_rtx_synack+0xeb/0x1f0\n     inet_rtx_syn_ack+0x34/0x60\n     tcp_check_req+0x3af/0x9e0\n     tcp_rcv_state_process+0x59b/0x2030\n     tcp_v6_do_rcv+0x5f5/0x700\n     release_sock+0x3a/0xf0\n     tcp_sendmsg+0x33/0x40\n     ____sys_sendmsg+0x2f2/0x490\n     __sys_sendmsg+0x184/0x230\n     do_syscall_64+0x3d/0x90\n\nAvoid calling __TCP_INC_STATS() with will touch per-cpu variables. Use\nTCP_INC_STATS() which is safe to be called from context switch.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tcp: tcp_make_synack() se puede llamar desde el contexto del proceso. tcp_rtx_synack() ahora se puede llamar en el contexto del proceso como se explica en 0a375c822497 (\"tcp: tcp_rtx_synack() se puede llamar desde el contexto del proceso\"). tcp_rtx_synack() podría llamar a tcp_make_synack(), que tocará las variables por CPU con la preempción habilitada. Esto provoca el siguiente ERROR: ERROR: uso de __this_cpu_add() en código preemptible [00000000]: El llamador de ThriftIO1/5464 es tcp_make_synack+0x841/0xac0 Rastreo de llamadas:  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 Evite llamar a __TCP_INC_STATS(), ya que afectará las variables por CPU. Use TCP_INC_STATS(), que se puede llamar de forma segura desde un cambio de contexto.","source":"nvd"}],"published":"2025-05-02T15:55:58.123Z","modified":"2026-11-05T21:17:14.840Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8336886f786fdacbc19b719c1f7ea91eb70706d4","fixed":"d493d4fe88195a144d6a277a90062a7534ed2192","status":"affected"},{"type":"git","introduced":"8336886f786fdacbc19b719c1f7ea91eb70706d4","fixed":"e23ca307745be3df7fe9762f3e2a7e311a57852e","status":"affected"},{"type":"git","introduced":"8336886f786fdacbc19b719c1f7ea91eb70706d4","fixed":"442aa78ed70188b21ccd8669738448702c0a3281","status":"affected"},{"type":"git","introduced":"8336886f786fdacbc19b719c1f7ea91eb70706d4","fixed":"77ad58bca0119e8cc3e0e9d91a3f22caa66e4dfa","status":"affected"},{"type":"git","introduced":"8336886f786fdacbc19b719c1f7ea91eb70706d4","fixed":"ad07290d63ff6689f50565b02f5b6f34ec15a5ca","status":"affected"},{"type":"git","introduced":"8336886f786fdacbc19b719c1f7ea91eb70706d4","fixed":"9180aa4622a720b433e842b4d3aa34d73eec577a","status":"affected"},{"type":"git","introduced":"8336886f786fdacbc19b719c1f7ea91eb70706d4","fixed":"7613cde8c0c1f02a7ec2e1d536c01b65b135fc1c","status":"affected"},{"type":"git","introduced":"8336886f786fdacbc19b719c1f7ea91eb70706d4","fixed":"bced3f7db95ff2e6ca29dc4d1c9751ab5e736a09","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.7","status":"unaffected"},{"type":"semver","introduced":"4.14.311","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.279","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.238","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.176","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.104","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.21","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.8","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.7","fixed":"4.14.311"},{"status":"affected","introduced":"4.15","fixed":"4.19.279"},{"status":"affected","introduced":"4.20","fixed":"5.4.238"},{"status":"affected","introduced":"5.5","fixed":"5.10.176"},{"status":"affected","introduced":"5.11","fixed":"5.15.104"},{"status":"affected","introduced":"5.16","fixed":"6.1.21"},{"status":"affected","introduced":"6.2","fixed":"6.2.8"},{"status":"affected","version":"6.3"},{"status":"affected","version":"6.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d493d4fe88195a144d6a277a90062a7534ed2192","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e23ca307745be3df7fe9762f3e2a7e311a57852e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/442aa78ed70188b21ccd8669738448702c0a3281","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/77ad58bca0119e8cc3e0e9d91a3f22caa66e4dfa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad07290d63ff6689f50565b02f5b6f34ec15a5ca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9180aa4622a720b433e842b4d3aa34d73eec577a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7613cde8c0c1f02a7ec2e1d536c01b65b135fc1c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bced3f7db95ff2e6ca29dc4d1c9751ab5e736a09","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:18:11.326Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53121","url":"https://www.cve.org/CVERecord?id=CVE-2023-53121","licence":"CVE Terms of Use","modified":"2026-11-05T20:21:02.884Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53121","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53121","licence":"Public domain","modified":"2026-11-05T21:17:14.840Z"}],"updatedAt":"2026-11-25T22:58:34.680Z","epss":{"score":0.00193,"percentile":0.09407,"date":"2026-12-01T12:00:22.000Z"}}