# CVE-2023-53345: rxrpc: Fix potential data race in rxrpc\_wait\_to\_be\_connected()

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2025-09-17T14:56:37.707Z
- **Modified:** 2026-06-17T06:44:57.407Z

## Who should check

- Anyone running Linux \>= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, \< 3e8ba61a3fe4475a9b5c9fbfc664435c6795d872; \>= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, \< 454e48a9ff04c5fa1631bb172070fcb6389b97f9; \>= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, \< 2b5fdc0f5caa505afe34d608e2eefadadf2ee67a
- Anyone running Linux 6.2

## Description

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

rxrpc: Fix potential data race in rxrpc\_wait\_to\_be\_connected()

Inside the loop in rxrpc\_wait\_to\_be\_connected() it checks call-\>error to
see if it should exit the loop without first checking the call state.  This
is probably safe as if call-\>error is set, the call is dead anyway, but we
should probably wait for the call state to have been set to completion
first, lest it cause surprise on the way out.

Fix this by only accessing call-\>error if the call is complete.  We don't
actually need to access the error inside the loop as we'll do that after.

This caused the following report:

    BUG: KCSAN: data-race in rxrpc\_send\_data / rxrpc\_set\_call\_completion

    write to 0xffff888159cf3c50 of 4 bytes by task 25673 on cpu 1:
     rxrpc\_set\_call\_completion+0x71/0x1c0 net/rxrpc/call\_state.c:22
     rxrpc\_send\_data\_packet+0xba9/0x1650 net/rxrpc/output.c:479
     rxrpc\_transmit\_one+0x1e/0x130 net/rxrpc/output.c:714
     rxrpc\_decant\_prepared\_tx net/rxrpc/call\_event.c:326 \[inline\]
     rxrpc\_transmit\_some\_data+0x496/0x600 net/rxrpc/call\_event.c:350
     rxrpc\_input\_call\_event+0x564/0x1220 net/rxrpc/call\_event.c:464
     rxrpc\_io\_thread+0x307/0x1d80 net/rxrpc/io\_thread.c:461
     kthread+0x1ac/0x1e0 kernel/kthread.c:376
     ret\_from\_fork+0x1f/0x30 arch/x86/entry/entry\_64.S:308

    read to 0xffff888159cf3c50 of 4 bytes by task 25672 on cpu 0:
     rxrpc\_send\_data+0x29e/0x1950 net/rxrpc/sendmsg.c:296
     rxrpc\_do\_sendmsg+0xb7a/0xc20 net/rxrpc/sendmsg.c:726
     rxrpc\_sendmsg+0x413/0x520 net/rxrpc/af\_rxrpc.c:565
     sock\_sendmsg\_nosec net/socket.c:724 \[inline\]
     sock\_sendmsg net/socket.c:747 \[inline\]
     \_\_\_\_sys\_sendmsg+0x375/0x4c0 net/socket.c:2501
     \_\_\_sys\_sendmsg net/socket.c:2555 \[inline\]
     \_\_sys\_sendmmsg+0x263/0x500 net/socket.c:2641
     \_\_do\_sys\_sendmmsg net/socket.c:2670 \[inline\]
     \_\_se\_sys\_sendmmsg net/socket.c:2667 \[inline\]
     \_\_x64\_sys\_sendmmsg+0x57/0x60 net/socket.c:2667
     do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
     do\_syscall\_64+0x41/0xc0 arch/x86/entry/common.c:80
     entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

    value changed: 0x00000000 -\> 0xffffffea

## Affected and fixed versions

- Linux: \>= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, \< 3e8ba61a3fe4475a9b5c9fbfc664435c6795d872; \>= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, \< 454e48a9ff04c5fa1631bb172070fcb6389b97f9; \>= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, \< 2b5fdc0f5caa505afe34d608e2eefadadf2ee67a (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- Upgrade Linux to 2b5fdc0f5caa505afe34d608e2eefadadf2ee67a or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53345.md
Affected: Linux >= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, < 3e8ba61a3fe4475a9b5c9fbfc664435c6795d872; >= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, < 454e48a9ff04c5fa1631bb172070fcb6389b97f9; >= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, < 2b5fdc0f5caa505afe34d608e2eefadadf2ee67a; Linux 6.2
Fixed in: Linux 3e8ba61a3fe4475a9b5c9fbfc664435c6795d872, Linux 454e48a9ff04c5fa1631bb172070fcb6389b97f9, Linux 2b5fdc0f5caa505afe34d608e2eefadadf2ee67a

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-2023-53345 being exploited?

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

### How serious is CVE-2023-53345?

Medium: CVSS 4.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-53345?

Linux \>= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, \< 3e8ba61a3fe4475a9b5c9fbfc664435c6795d872; \>= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, \< 454e48a9ff04c5fa1631bb172070fcb6389b97f9; \>= 9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d, \< 2b5fdc0f5caa505afe34d608e2eefadadf2ee67a; Linux 6.2.

### Is there a fix for CVE-2023-53345?

Yes. Fixed in Linux 3e8ba61a3fe4475a9b5c9fbfc664435c6795d872, Linux 454e48a9ff04c5fa1631bb172070fcb6389b97f9, Linux 2b5fdc0f5caa505afe34d608e2eefadadf2ee67a. Upgrade Linux to 2b5fdc0f5caa505afe34d608e2eefadadf2ee67a or later.

### How do I check if I'm affected by CVE-2023-53345?

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/3e8ba61a3fe4475a9b5c9fbfc664435c6795d872>
- patch: <https://git.kernel.org/stable/c/454e48a9ff04c5fa1631bb172070fcb6389b97f9>
- patch: <https://git.kernel.org/stable/c/2b5fdc0f5caa505afe34d608e2eefadadf2ee67a>

## 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-2023-53345>

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