# CVE-2022-49087: rxrpc: fix a race in rxrpc\_exit\_net()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-02-26T01:54:44.557Z
- **Modified:** 2026-08-05T08:53:49.787Z

## Who should check

- Anyone running Linux \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 864297ee30727ae6233f80296b7fc91442620b05; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 7ee84d29f22de6f6c63fad6c54690517659862f1; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 08ff0e74fab517dbc44e11b8bc683dd4ecc65950; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 571d8e1d154ca18f08dcb72b69318d36e10010a0; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 41024a40f6c793abbb916a857f18fb009f07464c; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< cd8aef1f30d1215648e4e6686cfb422004851429; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 1946014ca3b19be9e485e780e862c375c6f98bad
- Anyone running Linux 4.17

## Description

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

rxrpc: fix a race in rxrpc\_exit\_net()

Current code can lead to the following race:

CPU0                                                 CPU1

rxrpc\_exit\_net()
                                                     rxrpc\_peer\_keepalive\_worker()
                                                       if (rxnet-\>live)

  rxnet-\>live = false;
  del\_timer\_sync(&rxnet-\>peer\_keepalive\_timer);

                                                             timer\_reduce(&rxnet-\>peer\_keepalive\_timer, jiffies + delay);

  cancel\_work\_sync(&rxnet-\>peer\_keepalive\_work);

rxrpc\_exit\_net() exits while peer\_keepalive\_timer is still armed,
leading to use-after-free.

syzbot report was:

ODEBUG: free active (active state 0) object type: timer\_list hint: rxrpc\_peer\_keepalive\_timeout+0x0/0xb0
WARNING: CPU: 0 PID: 3660 at lib/debugobjects.c:505 debug\_print\_object+0x16e/0x250 lib/debugobjects.c:505
Modules linked in:
CPU: 0 PID: 3660 Comm: kworker/u4:6 Not tainted 5.17.0-syzkaller-13993-g88e6c0207623 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup\_net
RIP: 0010:debug\_print\_object+0x16e/0x250 lib/debugobjects.c:505
Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd 00 1c 26 8a 4c 89 ee 48 c7 c7 00 10 26 8a e8 b1 e7 28 05 \<0f\> 0b 83 05 15 eb c5 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc9000353fb00 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff888029196140 RSI: ffffffff815efad8 RDI: fffff520006a7f52
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815ea4ae R11: 0000000000000000 R12: ffffffff89ce23e0
R13: ffffffff8a2614e0 R14: ffffffff816628c0 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe1f2908924 CR3: 0000000043720000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
 \_\_debug\_check\_no\_obj\_freed lib/debugobjects.c:992 \[inline\]
 debug\_check\_no\_obj\_freed+0x301/0x420 lib/debugobjects.c:1023
 kfree+0xd6/0x310 mm/slab.c:3809
 ops\_free\_list.part.0+0x119/0x370 net/core/net\_namespace.c:176
 ops\_free\_list net/core/net\_namespace.c:174 \[inline\]
 cleanup\_net+0x591/0xb00 net/core/net\_namespace.c:598
 process\_one\_work+0x996/0x1610 kernel/workqueue.c:2289
 worker\_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret\_from\_fork+0x1f/0x30 arch/x86/entry/entry\_64.S:298
 \</TASK\>

## Affected and fixed versions

- Linux: \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 864297ee30727ae6233f80296b7fc91442620b05; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 7ee84d29f22de6f6c63fad6c54690517659862f1; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 08ff0e74fab517dbc44e11b8bc683dd4ecc65950; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 571d8e1d154ca18f08dcb72b69318d36e10010a0; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 41024a40f6c793abbb916a857f18fb009f07464c; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< cd8aef1f30d1215648e4e6686cfb422004851429; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 1946014ca3b19be9e485e780e862c375c6f98bad (cvelist)
- Linux: 4.17 (cvelist)

## Mitigation

- Upgrade Linux to 1946014ca3b19be9e485e780e862c375c6f98bad 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-49087. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49087.md
Affected: Linux >= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, < 864297ee30727ae6233f80296b7fc91442620b05; >= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, < 7ee84d29f22de6f6c63fad6c54690517659862f1; >= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, < 08ff0e74fab517dbc44e11b8bc683dd4ecc65950; >= ace45bec6d77bc061c3c3d8…
Fixed in: Linux 864297ee30727ae6233f80296b7fc91442620b05, Linux 7ee84d29f22de6f6c63fad6c54690517659862f1, Linux 08ff0e74fab517dbc44e11b8bc683dd4ecc65950, Linux 571d8e1d154ca18f08dcb72b69318d36e10010a0, Linux 41024a40f6c793abbb916a857f18fb009f07464c, Linux 1946014ca3b19be9e485e780e862c375c6f98bad

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-49087 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 864297ee30727ae6233f80296b7fc91442620b05; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 7ee84d29f22de6f6c63fad6c54690517659862f1; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 08ff0e74fab517dbc44e11b8bc683dd4ecc65950; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 571d8e1d154ca18f08dcb72b69318d36e10010a0; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 41024a40f6c793abbb916a857f18fb009f07464c; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< cd8aef1f30d1215648e4e6686cfb422004851429; \>= ace45bec6d77bc061c3c3d8ad99e298ea9800c2b, \< 1946014ca3b19be9e485e780e862c375c6f98bad; Linux 4.17.

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

Yes. Fixed in Linux 864297ee30727ae6233f80296b7fc91442620b05, Linux 7ee84d29f22de6f6c63fad6c54690517659862f1, Linux 08ff0e74fab517dbc44e11b8bc683dd4ecc65950, Linux 571d8e1d154ca18f08dcb72b69318d36e10010a0, Linux 41024a40f6c793abbb916a857f18fb009f07464c, Linux 1946014ca3b19be9e485e780e862c375c6f98bad. Upgrade Linux to 1946014ca3b19be9e485e780e862c375c6f98bad or later.

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

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/864297ee30727ae6233f80296b7fc91442620b05>
- patch: <https://git.kernel.org/stable/c/7ee84d29f22de6f6c63fad6c54690517659862f1>
- patch: <https://git.kernel.org/stable/c/08ff0e74fab517dbc44e11b8bc683dd4ecc65950>
- patch: <https://git.kernel.org/stable/c/571d8e1d154ca18f08dcb72b69318d36e10010a0>
- patch: <https://git.kernel.org/stable/c/41024a40f6c793abbb916a857f18fb009f07464c>
- patch: <https://git.kernel.org/stable/c/cd8aef1f30d1215648e4e6686cfb422004851429>
- patch: <https://git.kernel.org/stable/c/1946014ca3b19be9e485e780e862c375c6f98bad>

## 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-49087>

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