# CVE-2026-64026: rxrpc: Fix DATA decrypt vs splice() by copying data to buffer in recvmsg

- 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.14%, higher than 1% of CVEs (2026-11-30)
- Published: 2026-07-19T15:39:17.783Z
- Modified: 2026-10-19T21:17:20.060Z
- Weaknesses: CWE-362, CWE-787
- 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 DATA decrypt vs splice() by copying data to buffer in recvmsg

This improves the fix for CVE-2026-43500.

Fix the pagecache corruption from in-place decryption of a DATA packet
transmitted locally by splice() by getting rid of the packet sharing in the
I/O thread and unconditionally extracting the packet content into a bounce
buffer in which the buffer is decrypted.  recvmsg() (or the kernel
equivalent) then copies the data from the bounce buffer to the destination
buffer.  The sk_buff then remains unmodified.

This has an additional advantage in that the packet is then arranged in the
buffer with the correct alignment required for the crypto algorithms to
process directly.  The performance of the crypto does seem to be a little
faster and, surprisingly, the unencrypted performance doesn't seem to
change much - possibly due to removing complexity from the I/O thread.

Yet another advantage is that the I/O thread doesn't have to copy packets
which would slow down packet distribution, ACK generation, etc..

The buffer belongs to the call and is allocated initially at 2K,
sufficiently large to hold a whole jumbo subpacket, but the buffer will be
increased in size if needed.  However, to take this work, MSG_PEEK may
cause a later packet to be decrypted into the buffer, in which case the
earlier one will need re-decrypting for a subsequent recvmsg().

Note that rx_pkt_offset may legitimately see 0 as a valid offset now, so
switch to using USHRT_MAX to indicate an invalid offset.

Note also that I would generally prefer to replace the buffers of the
current sk_buff with a new kmalloc'd buffer of the right size, ditching the
old data and frags as this makes the handling of MSG_PEEK easier and
removes the re-decryption issue, but this looks like quite a complicated
thing to achieve.  skb_morph() looks half way to what I want, but I don't
want to have to allocate a new sk_buff.

(As written by CVE List.)

## Affected

- Linux Linux: from d0d5c0cd1e711c98703f3544c1e6fc1372898de5 before a05bf6d9e621fa71e89ccebe3047ba45218d7b38; from d0d5c0cd1e711c98703f3544c1e6fc1372898de5 before b94a6ccbaf1104dd980150a65fdeb2f69d17d2f5; from d0d5c0cd1e711c98703f3544c1e6fc1372898de5 before 46cb765e2e5ad52303ea157e10d370bb6b7acbbf; from d0d5c0cd1e711c98703f3544c1e6fc1372898de5 before c580087743712112778a06d65a4074053072d7bf; from d0d5c0cd1e711c98703f3544c1e6fc1372898de5 before d2bc90cf6c75cb96d2ce549be6c35efa3099d25b; 5.3 (not affected: before 5.3; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.3.1 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.11; 5.3; 7.1

## References

- <https://git.kernel.org/stable/c/a05bf6d9e621fa71e89ccebe3047ba45218d7b38> (patch)
- <https://git.kernel.org/stable/c/b94a6ccbaf1104dd980150a65fdeb2f69d17d2f5> (patch)
- <https://git.kernel.org/stable/c/46cb765e2e5ad52303ea157e10d370bb6b7acbbf> (patch)
- <https://git.kernel.org/stable/c/c580087743712112778a06d65a4074053072d7bf> (patch)
- <https://git.kernel.org/stable/c/d2bc90cf6c75cb96d2ce549be6c35efa3099d25b> (patch)

## Sources

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

---

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