CVE-2026-99350
rxrpc: Fix update of call->tx_pending without holding lock
Refuses AF_RXRPC sockets to mitigate CVE-2026-99350.
Not yet scoredVetted
EPSS 0.2%: the estimated chance this CVE is exploited in the next 30 days, as of 24 Nov 2026.
At a glance
CVE-2026-99350 is a vulnerability in the Linux kernel, published 19 November 2026 and not yet scored. A vetted upatch, cve-2026-99350-rxrpc-block, blocks it on running Linux machines with shirudo until the kernel is patched.
- Severity
- Not yet scored
- Chance of exploitation
- 0.2% in the next 30 days (EPSS, 24 Nov 2026)
- Known exploited
- No, not on CISA’s KEV list
- Affected software
- Linux kernel
- Upatch status
- Vetted, merged into the registry
- How to apply
- Build, sign and roll out with shirudo
Overview
CVE-2026-99350, "rxrpc: Fix update of call->tx_pending without holding lock", was published on 19 November 2026. When a signal interrupts rxrpc_send_data() (net/rxrpc/sendmsg.c) while it waits for transmit space, the function writes call->tx_pending without holding call->user_mutex. A parallel sendmsg() on the same call can then race with it.
Official 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.
Affected versions
| Branch | Bug added in | Fixed in |
|---|---|---|
| 5.10 | 5.10.140 | 5.10.275 |
| 5.15 | 5.15.64 | 5.15.226 |
| 5.19 | 5.19.6 | never (end of life) |
| 6.1 | 6.0 | 6.1.193 |
| 6.6 | 6.0 | 6.6.163 |
| 6.12 | 6.0 | 6.12.118 |
| 6.18 | 6.0 | 6.18.61 |
| 7.3 | 6.0 | 7.3.2 |
| mainline | 6.0 | 7.4-rc1 |
Sources
More references from NVD (8)
Mitigation
It attaches to the socket_create LSM hook and returns -EPERM when the address family is AF_RXRPC (33). Every path into rxrpc_send_data() needs an RxRPC socket, and the hook runs before the kernel allocates the socket or loads the rxrpc module. A refusal from an earlier BPF LSM program on the same hook is passed on unchanged.
Side effects
- Creating an RxRPC socket fails with
EPERM, from user space (socket(),socketpair(), io_uring) and from the kernel. - The kernel's AFS client (kafs) can't open new RxRPC transports, so new AFS mounts fail.
- RxRPC sockets opened before the upatch was loaded keep working.
- Every other socket family works as before.
Preemption model and cost
The program keeps no state: no maps, no shared or per-CPU data. It is correct under every preemption model, including preemptible RCU and PREEMPT_RT. Each run costs two integer comparisons, and it runs only when a socket is created, never on the data path.
The policy
22 lines of BPF C, attached at lsm/socket_create.
// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
#include "vmlinux.h"
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_tracing.h>
#define AF_RXRPC 33
#define EPERM 1
char _license[] SEC("license") = "Dual BSD/GPL";
SEC("lsm/socket_create")
int BPF_PROG(cve_2026_99350_rxrpc_block, int family, int type, int protocol,
int kern, int ret)
{
if (ret)
return ret;
if (family == AF_RXRPC)
return -EPERM;
return 0;
}
The package: name, license, the program and the CVE it fixes.
[package]
name = "cve-2026-99350"
description = "Refuses AF_RXRPC sockets to mitigate CVE-2026-99350"
license = "GPL-2.0 OR BSD-2-Clause"
[[upatches]]
source = "cve-2026-99350-rxrpc-block.bpf.c"
[upatches.tree]
id = "cve-2026-99350-rxrpc-block"
fixes = ["CVE-2026-99350"]
Process
How this upatch was written, checked and reviewed, from the registry’s history.
- 19 Nov 2026CVECVE published
- 24 Nov 2026CommitCommitted directlyAdd cve-2026-99350-rxrpc-blockromanlab
- 24 Nov 2026Pull requestPull request #2 openedAdd evidence/ to every entryshimont
- 24 Nov 2026ReviewReviewedqodo-code-review[bot] (automated)
- 25 Nov 2026MergeMerged #2romanlab
- 25 Nov 2026Pull requestPull request #4 openedOne directory per CVE, and a payload and before/after test for every upatchromanlab
- 25 Nov 2026MergeMerged #4romanlab
- 25 Nov 2026ReviewReviewedqodo-code-review[bot] (automated)
No human review is recorded on GitHub for this upatch yet.
Evidence
While loaded, creating an RxRPC socket failed with EPERM and other socket families worked. The test kernel already has the fix and no RxRPC support, so this shows the refusal, not protection of a vulnerable kernel.
- Tested
- 24 Nov 2026
- Target
- Linux 7.4 with the fix and without RxRPC support
- Kernel
- 7.4-shirudo-ci-20261123
- Architecture
- x86_64
- Machine
- shirudo test VM
| State | socket(AF_RXRPC, SOCK_DGRAM, PF_INET) | socket(AF_INET, SOCK_DGRAM, 0) |
|---|---|---|
| Before loading | EAFNOSUPPORT | created |
| Upatch loaded | EPERM | created |
| After unloading | EAFNOSUPPORT | created |
Use it
Build the upatch from source, sign it with your own shirudo key, and publish it to your own OCI registry. Machines that follow your upatch tree load it within about a minute.
git clone https://github.com/copper-helm/upatch-registry
cd upatch-registry
tools/build <shirudo-checkout> <keys-dir> 1.0.0 upatches/cve-2026-99350shirudo bpm push build/packages/cve-2026-99350-1.0.0.bee oci://<registry>/<namespace>/cve-2026-99350 --keys-dir <keys-dir>
shirudo bpm tree append build/packages/cve-2026-99350-1.0.0.bee oci://<registry>/<namespace>/<tree> --tree-id <tree-id> --keys-dir <keys-dir>