# CVE-2026-99350: rxrpc: Fix update of call->tx_pending without holding lock

- Severity: not scored yet
- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-19T14:22:10.838Z
- Modified: 2026-11-23T08:17:39.673Z
- Assigned by: Linux

## Description

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

rxrpc: Fix update of call->tx_pending without holding lock

Currently, rxrpc_send_data() updates call->tx_pending just before it
returns - but it won't be holding the call->user_mutex when it does this if
a wait was interrupted by a signal.  This would allow a parallel sendmsg()
to race.

Further, both the callers of rxrpc_send_data() call it with the lock held,
and then it returns an indication through the parameter list to say whether
it has dropped the lock or not - after which the callers both just drop the
lock if it's still held.

Fix this by:

 (1) Moving the release of call->user_mutex down into rxrpc_send_data() and
     get rid of the indicator parameter.  This makes it easier to see where
     the lock is held.

 (2) After waiting, if the attempt to reacquire the mutex is interrupted,
     just return directly there rather than going to out_unlock

 (3) Restricting the txb variable to inside the buffering loop and leaving
     ->tx_pending set until we've queued the buffer.

Note that there's a slight change in behaviour in that wait_for_space
failure now doesn't check for completion because it doesn't hold the call
user_mutex.  The caller, however, should re-issue the send and pick up any
error at a second attempt.

(As written by CVE List.)

## Affected

- Linux Linux: from 79e2ca7aa96e80961828ab6312264633b66183cc before 43ba0d1e2e2aaef662eeebb30b7065e54a92f153; from 2bc769b8edb158be7379d15f36e23d66cf850053 before d625b62be703e03d8ebe1caf578029d699009dcd; from b0f571ecd7943423c25947439045f0d352ca3dbf before a1610975f8766ac492de56336086e7a895881947; from b0f571ecd7943423c25947439045f0d352ca3dbf before b878e2b7445a220746eaa3db0e448d6b4a122d2d; from b0f571ecd7943423c25947439045f0d352ca3dbf before 35f7a69391ca0819d04ca6db3c2355848d633e16; from b0f571ecd7943423c25947439045f0d352ca3dbf before 965456110cf6952cc4eec80761171503e6e424df; from b0f571ecd7943423c25947439045f0d352ca3dbf before ec98e8bdbde85e2dd2d43570e25b52bdfac1735b; from b0f571ecd7943423c25947439045f0d352ca3dbf before 7801c42c3bb737cfb06194a383873fcad8daacf5; 091dc91e119fdd61432347231724f4e861c6b465; from 5.10.140 before 5.10.275; from 5.15.64 before 5.15.226; from 5.19.6 before 5.20; and 1 more (not affected: before 6.0; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/43ba0d1e2e2aaef662eeebb30b7065e54a92f153>
- <https://git.kernel.org/stable/c/d625b62be703e03d8ebe1caf578029d699009dcd>
- <https://git.kernel.org/stable/c/a1610975f8766ac492de56336086e7a895881947>
- <https://git.kernel.org/stable/c/b878e2b7445a220746eaa3db0e448d6b4a122d2d>
- <https://git.kernel.org/stable/c/35f7a69391ca0819d04ca6db3c2355848d633e16>
- <https://git.kernel.org/stable/c/965456110cf6952cc4eec80761171503e6e424df>
- <https://git.kernel.org/stable/c/ec98e8bdbde85e2dd2d43570e25b52bdfac1735b>
- <https://git.kernel.org/stable/c/7801c42c3bb737cfb06194a383873fcad8daacf5>

## Sources

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

---

Page: https://cve.day/CVE-2026-99350 · Whole record: https://cve.day/CVE-2026-99350.json · Rebuilt by cve.day 2026-11-25T22:59:52.038Z
