# CVE-2026-74434: rxrpc: Don't move a peeked OOB message onto the pending queue

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/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.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-08-15T05:59:33.438Z
- Modified: 2026-08-17T06:19:39.030Z
- Assigned by: Linux

## Description

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

rxrpc: Don't move a peeked OOB message onto the pending queue

rxrpc_recvmsg_oob() takes a received oob message off recvmsg_oobq and,
if a response is needed, moves it onto the pending_oobq tree. However,
only the unlink from recvmsg_oobq is guarded by MSG_PEEK; the move onto
pending_oobq always runs.

As a result, reading a challenge with MSG_PEEK leaves the skb on
recvmsg_oobq while also adding it to pending_oobq. Since struct
sk_buff's rbnode shares storage with its next and prev pointers,
rb_insert_color() overwrites the list linkage, and the skb, which holds
a single reference, becomes reachable from both queues at once.

When the socket is closed both queues are drained in turn. While
draining recvmsg_oobq, __skb_unlink() follows the next and prev
pointers that rbnode has overwritten and writes to a bad address. Also,
as the skb holds a single reference but is freed from each queue, both
the skb and the connection reference it holds are released twice. This
leads to memory corruption and to a use-after-free caused by the
connection refcount underflow.

MSG_PEEK does not consume the message from the queue, so only unlink it
from recvmsg_oobq and then move it onto pending_oobq or free it when
the message is actually consumed.

(As written by CVE List.)

## Affected

- Linux Linux: from 5800b1cf3fd8ccab752a101865be1e76dac33142 before 9ada3931beb37068fcb725b34b0398457009f343; from 5800b1cf3fd8ccab752a101865be1e76dac33142 before 5f470cc883416fea6d3bce18ef96bf91dd49ffc3; from 5800b1cf3fd8ccab752a101865be1e76dac33142 before 5801cff7d5d7b4e9d877dfb627b23eb63167f02c; 6.16 (not affected: before 6.16; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/9ada3931beb37068fcb725b34b0398457009f343>
- <https://git.kernel.org/stable/c/5f470cc883416fea6d3bce18ef96bf91dd49ffc3>
- <https://git.kernel.org/stable/c/5801cff7d5d7b4e9d877dfb627b23eb63167f02c>

## Sources

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

---

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