CVE-2026-99350
rxrpc: Fix update of call->tx_pending without holding lock
- CVSS
- —
- EPSS
- 0.21% (p12)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-12-01
- Product
- Linux 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.
Fixed in
35f7a69391ca0819d04ca6db3c2355848d633e16 · 43ba0d1e2e2aaef662eeebb30b7065e54a92f153 · 5.10.275 · 5.11 · 5.15.226 · 5.16 · 5.20 · 6.1.193 · 6.12.118 · 6.18.61 · 6.6.163 · 7.3.2 · 7801c42c3bb737cfb06194a383873fcad8daacf5 · 965456110cf6952cc4eec80761171503e6e424df · a1610975f8766ac492de56336086e7a895881947 · b878e2b7445a220746eaa3db0e448d6b4a122d2d · d625b62be703e03d8ebe1caf578029d699009dcd · ec98e8bdbde85e2dd2d43570e25b52bdfac1735b
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.10.140, <5.10.275 | 5.10.275 |
| Linux | Kernel | >=5.15.64, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=5.19.6, <5.20 | 5.20 |
| Linux | Kernel | >=6.0.0, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| Linux | Kernel | >=6.2.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.7.0, <6.12.118 | 6.12.118 |
| vendor | Linux | >=2bc769b8edb158be7379d15f36e23d66cf850053, <d625b62be703e03d8ebe1caf578029d699009dcd | d625b62be703e03d8ebe1caf578029d699009dcd |
| vendor | Linux | >=5.10.140, <5.10.275 | 5.10.275 |
| vendor | Linux | >=5.10.140, <5.11 | 5.11 |
| vendor | Linux | >=5.15.64, <5.15.226 | 5.15.226 |
| vendor | Linux | >=5.15.64, <5.16 | 5.16 |
| vendor | Linux | >=5.19.6, <5.20 | 5.20 |
| vendor | Linux | >=79e2ca7aa96e80961828ab6312264633b66183cc, <43ba0d1e2e2aaef662eeebb30b7065e54a92f153 | 43ba0d1e2e2aaef662eeebb30b7065e54a92f153 |
| vendor | Linux | >=b0f571ecd7943423c25947439045f0d352ca3dbf, <35f7a69391ca0819d04ca6db3c2355848d633e16 | 35f7a69391ca0819d04ca6db3c2355848d633e16 |
| vendor | Linux | >=b0f571ecd7943423c25947439045f0d352ca3dbf, <7801c42c3bb737cfb06194a383873fcad8daacf5 | 7801c42c3bb737cfb06194a383873fcad8daacf5 |
| vendor | Linux | >=b0f571ecd7943423c25947439045f0d352ca3dbf, <965456110cf6952cc4eec80761171503e6e424df | 965456110cf6952cc4eec80761171503e6e424df |
| vendor | Linux | >=b0f571ecd7943423c25947439045f0d352ca3dbf, <a1610975f8766ac492de56336086e7a895881947 | a1610975f8766ac492de56336086e7a895881947 |
| vendor | Linux | >=b0f571ecd7943423c25947439045f0d352ca3dbf, <b878e2b7445a220746eaa3db0e448d6b4a122d2d | b878e2b7445a220746eaa3db0e448d6b4a122d2d |
| vendor | Linux | >=b0f571ecd7943423c25947439045f0d352ca3dbf, <ec98e8bdbde85e2dd2d43570e25b52bdfac1735b | ec98e8bdbde85e2dd2d43570e25b52bdfac1735b |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/35f7a69391ca0819d04ca6db3c2355848d633e16 other
- https://git.kernel.org/stable/c/965456110cf6952cc4eec80761171503e6e424df other
- https://git.kernel.org/stable/c/ec98e8bdbde85e2dd2d43570e25b52bdfac1735b other
- https://git.kernel.org/stable/c/7801c42c3bb737cfb06194a383873fcad8daacf5 other
- https://git.kernel.org/stable/c/43ba0d1e2e2aaef662eeebb30b7065e54a92f153 other
- https://git.kernel.org/stable/c/d625b62be703e03d8ebe1caf578029d699009dcd other
- https://git.kernel.org/stable/c/a1610975f8766ac492de56336086e7a895881947 other
- https://git.kernel.org/stable/c/b878e2b7445a220746eaa3db0e448d6b4a122d2d other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99350.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99350 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package