# CVE-2026-23066: rxrpc: Fix recvmsg() unconditional requeue

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-02-04T16:07:47.764Z
- Modified: 2026-10-19T19:17:33.590Z
- Weaknesses: CWE-362, CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

rxrpc: Fix recvmsg() unconditional requeue

If rxrpc_recvmsg() fails because MSG_DONTWAIT was specified but the call at
the front of the recvmsg queue already has its mutex locked, it requeues
the call - whether or not the call is already queued.  The call may be on
the queue because MSG_PEEK was also passed and so the call was not dequeued
or because the I/O thread requeued it.

The unconditional requeue may then corrupt the recvmsg queue, leading to
things like UAFs or refcount underruns.

Fix this by only requeuing the call if it isn't already on the queue - and
moving it to the front if it is already queued.  If we don't queue it, we
have to put the ref we obtained by dequeuing it.

Also, MSG_PEEK doesn't dequeue the call so shouldn't call
rxrpc_notify_socket() for the call if we didn't use up all the data on the
queue, so fix that also.

(As written by CVE List.)

## Affected

- Linux Linux: from 540b1c48c37ac0ad66212004db21e1ff7e2d78be before 8fd3b5e297854a4da0f273169baf4b1b7b257b97; from 540b1c48c37ac0ad66212004db21e1ff7e2d78be before c198628f3fca5c874d93874c233014d336e09f64; from 540b1c48c37ac0ad66212004db21e1ff7e2d78be before c6cebcb4e0b3140ec2ace45c020a9049527385d1; from 540b1c48c37ac0ad66212004db21e1ff7e2d78be before 0464bf75590da75b8413c3e758c04647b4cdb3c6; from 540b1c48c37ac0ad66212004db21e1ff7e2d78be before cf969bddd6e69c5777fa89dc88402204e72f312a; from 540b1c48c37ac0ad66212004db21e1ff7e2d78be before 930114425065f7ace6e0c0630fab4af75e059ea8; from 540b1c48c37ac0ad66212004db21e1ff7e2d78be before 2c28769a51deb6022d7fbd499987e237a01dd63a; 4.11 (not affected: before 4.11; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.18.8 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 4.11 before 6.18.8; 6.19

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/8fd3b5e297854a4da0f273169baf4b1b7b257b97>
- <https://git.kernel.org/stable/c/c198628f3fca5c874d93874c233014d336e09f64>
- <https://git.kernel.org/stable/c/c6cebcb4e0b3140ec2ace45c020a9049527385d1>
- <https://git.kernel.org/stable/c/0464bf75590da75b8413c3e758c04647b4cdb3c6>
- <https://git.kernel.org/stable/c/cf969bddd6e69c5777fa89dc88402204e72f312a>
- <https://git.kernel.org/stable/c/930114425065f7ace6e0c0630fab4af75e059ea8> (patch)
- <https://git.kernel.org/stable/c/2c28769a51deb6022d7fbd499987e237a01dd63a> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

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

---

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