{"id":"CVE-2026-74434","published":"2026-08-15T05:59:33Z","modified":"2026-08-17T05:47:08Z","title":"rxrpc: Don't move a peeked OOB message onto the pending queue","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Don't move a peeked OOB message onto the pending queue\n\nrxrpc_recvmsg_oob() takes a received oob message off recvmsg_oobq and,\nif a response is needed, moves it onto the pending_oobq tree. However,\nonly the unlink from recvmsg_oobq is guarded by MSG_PEEK; the move onto\npending_oobq always runs.\n\nAs a result, reading a challenge with MSG_PEEK leaves the skb on\nrecvmsg_oobq while also adding it to pending_oobq. Since struct\nsk_buff's rbnode shares storage with its next and prev pointers,\nrb_insert_color() overwrites the list linkage, and the skb, which holds\na single reference, becomes reachable from both queues at once.\n\nWhen the socket is closed both queues are drained in turn. While\ndraining recvmsg_oobq, __skb_unlink() follows the next and prev\npointers that rbnode has overwritten and writes to a bad address. Also,\nas the skb holds a single reference but is freed from each queue, both\nthe skb and the connection reference it holds are released twice. This\nleads to memory corruption and to a use-after-free caused by the\nconnection refcount underflow.\n\nMSG_PEEK does not consume the message from the queue, so only unlink it\nfrom recvmsg_oobq and then move it onto pending_oobq or free it when\nthe message is actually consumed.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00631,"percentile":0.44734,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9ada3931beb37068fcb725b34b0398457009f343","tags":[]},{"url":"https://git.kernel.org/stable/c/5f470cc883416fea6d3bce18ef96bf91dd49ffc3","tags":[]},{"url":"https://git.kernel.org/stable/c/5801cff7d5d7b4e9d877dfb627b23eb63167f02c","tags":[]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":8.95},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5800b1cf3fd8ccab752a101865be1e76dac33142, < 9ada3931beb37068fcb725b34b0398457009f343",">= 5800b1cf3fd8ccab752a101865be1e76dac33142, < 5f470cc883416fea6d3bce18ef96bf91dd49ffc3",">= 5800b1cf3fd8ccab752a101865be1e76dac33142, < 5801cff7d5d7b4e9d877dfb627b23eb63167f02c"]},{"vendor":"Linux","product":"Linux","versions":["6.16"]}],"euvd":{"id":"EUVD-2026-59581","exploited":false,"provenance":"source"}}