# CVE-2022-49372: tcp: tcp\_rtx\_synack() can be called from process context

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-02-26T02:11:14.119Z
- **Modified:** 2026-06-17T05:17:51.530Z

## Who should check

- Anyone running Linux \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 3db889f883e65bbd3b1401279bfc1e9ed255c481; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< c348b0f8d035fc4bdc040796889beec7218bd1b8; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 58bd38cbc961fd799842b7be8c5222310f04b908; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< d05c2fdf8e10528bb6751bd95243e862d5402a9b; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 0a0f7f84148445c9f02f226928803a870139d820; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 88cd232146207ff1d41dededed5e77c0d4438113; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< bdc28a8fb43cc476e33b11519235adb816ce00e8; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< d8e1bc6029acac796293310aacef7b7336f35b6a; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 0a375c822497ed6ad6b5da0792a12a6f1af10c0b
- Anyone running Linux 3.7

## Description

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

tcp: tcp\_rtx\_synack() can be called from process context

Laurent reported the enclosed report \[1\]

This bug triggers with following coditions:

0) Kernel built with CONFIG\_DEBUG\_PREEMPT=y

1) A new passive FastOpen TCP socket is created.
   This FO socket waits for an ACK coming from client to be a complete
   ESTABLISHED one.
2) A socket operation on this socket goes through lock\_sock()
   release\_sock() dance.
3) While the socket is owned by the user in step 2),
   a retransmit of the SYN is received and stored in socket backlog.
4) At release\_sock() time, the socket backlog is processed while
   in process context.
5) A SYNACK packet is cooked in response of the SYN retransmit.
6) -\> tcp\_rtx\_synack() is called in process context.

Before blamed commit, tcp\_rtx\_synack() was always called from BH handler,
from a timer handler.

Fix this by using TCP\_INC\_STATS() & NET\_INC\_STATS()
which do not assume caller is in non preemptible context.

\[1\]
BUG: using \_\_this\_cpu\_add() in preemptible \[00000000\] code: epollpep/2180
caller is tcp\_rtx\_synack.part.0+0x36/0xc0
CPU: 10 PID: 2180 Comm: epollpep Tainted: G           OE     5.16.0-0.bpo.4-amd64 \#1  Debian 5.16.12-1~bpo11+1
Hardware name: Supermicro SYS-5039MC-H8TRF/X11SCD-F, BIOS 1.7 11/23/2021
Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0x48/0x5e
 check\_preemption\_disabled+0xde/0xe0
 tcp\_rtx\_synack.part.0+0x36/0xc0
 tcp\_rtx\_synack+0x8d/0xa0
 ? kmem\_cache\_alloc+0x2e0/0x3e0
 ? apparmor\_file\_alloc\_security+0x3b/0x1f0
 inet\_rtx\_syn\_ack+0x16/0x30
 tcp\_check\_req+0x367/0x610
 tcp\_rcv\_state\_process+0x91/0xf60
 ? get\_nohz\_timer\_target+0x18/0x1a0
 ? lock\_timer\_base+0x61/0x80
 ? preempt\_count\_add+0x68/0xa0
 tcp\_v4\_do\_rcv+0xbd/0x270
 \_\_release\_sock+0x6d/0xb0
 release\_sock+0x2b/0x90
 sock\_setsockopt+0x138/0x1140
 ? \_\_sys\_getsockname+0x7e/0xc0
 ? aa\_sk\_perm+0x3e/0x1a0
 \_\_sys\_setsockopt+0x198/0x1e0
 \_\_x64\_sys\_setsockopt+0x21/0x30
 do\_syscall\_64+0x38/0xc0
 entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae

## Affected and fixed versions

- Linux: \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 3db889f883e65bbd3b1401279bfc1e9ed255c481; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< c348b0f8d035fc4bdc040796889beec7218bd1b8; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 58bd38cbc961fd799842b7be8c5222310f04b908; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< d05c2fdf8e10528bb6751bd95243e862d5402a9b; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 0a0f7f84148445c9f02f226928803a870139d820; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 88cd232146207ff1d41dededed5e77c0d4438113; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< bdc28a8fb43cc476e33b11519235adb816ce00e8; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< d8e1bc6029acac796293310aacef7b7336f35b6a; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 0a375c822497ed6ad6b5da0792a12a6f1af10c0b (cvelist)
- Linux: 3.7 (cvelist)

## Mitigation

- Upgrade Linux to 0a375c822497ed6ad6b5da0792a12a6f1af10c0b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49372. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49372.md
Affected: Linux >= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, < 3db889f883e65bbd3b1401279bfc1e9ed255c481; >= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, < c348b0f8d035fc4bdc040796889beec7218bd1b8; >= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, < 58bd38cbc961fd799842b7be8c5222310f04b908; >= 168a8f58059a22feb9e9a2d…
Fixed in: Linux 3db889f883e65bbd3b1401279bfc1e9ed255c481, Linux 58bd38cbc961fd799842b7be8c5222310f04b908, Linux 0a0f7f84148445c9f02f226928803a870139d820, Linux 88cd232146207ff1d41dededed5e77c0d4438113, Linux 0a375c822497ed6ad6b5da0792a12a6f1af10c0b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49372 being exploited?

There is no confirmed exploitation: CVE-2022-49372 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49372?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49372?

Linux \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 3db889f883e65bbd3b1401279bfc1e9ed255c481; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< c348b0f8d035fc4bdc040796889beec7218bd1b8; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 58bd38cbc961fd799842b7be8c5222310f04b908; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< d05c2fdf8e10528bb6751bd95243e862d5402a9b; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 0a0f7f84148445c9f02f226928803a870139d820; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 88cd232146207ff1d41dededed5e77c0d4438113; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< bdc28a8fb43cc476e33b11519235adb816ce00e8; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< d8e1bc6029acac796293310aacef7b7336f35b6a; \>= 168a8f58059a22feb9e9a2dcc1b8053dbbbc12ef, \< 0a375c822497ed6ad6b5da0792a12a6f1af10c0b; Linux 3.7.

### Is there a fix for CVE-2022-49372?

Yes. Fixed in Linux 3db889f883e65bbd3b1401279bfc1e9ed255c481, Linux 58bd38cbc961fd799842b7be8c5222310f04b908, Linux 0a0f7f84148445c9f02f226928803a870139d820, Linux 88cd232146207ff1d41dededed5e77c0d4438113, Linux 0a375c822497ed6ad6b5da0792a12a6f1af10c0b. Upgrade Linux to 0a375c822497ed6ad6b5da0792a12a6f1af10c0b or later.

### How do I check if I'm affected by CVE-2022-49372?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3db889f883e65bbd3b1401279bfc1e9ed255c481>
- patch: <https://git.kernel.org/stable/c/c348b0f8d035fc4bdc040796889beec7218bd1b8>
- patch: <https://git.kernel.org/stable/c/58bd38cbc961fd799842b7be8c5222310f04b908>
- patch: <https://git.kernel.org/stable/c/d05c2fdf8e10528bb6751bd95243e862d5402a9b>
- patch: <https://git.kernel.org/stable/c/0a0f7f84148445c9f02f226928803a870139d820>
- patch: <https://git.kernel.org/stable/c/88cd232146207ff1d41dededed5e77c0d4438113>
- patch: <https://git.kernel.org/stable/c/bdc28a8fb43cc476e33b11519235adb816ce00e8>
- patch: <https://git.kernel.org/stable/c/d8e1bc6029acac796293310aacef7b7336f35b6a>
- patch: <https://git.kernel.org/stable/c/0a375c822497ed6ad6b5da0792a12a6f1af10c0b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49372>

HTML: <https://flawdb.com/CVE-2022-49372> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49372>
