{"id":"CVE-2026-74610","summary":"tls: don't leave a full plaintext sk_msg ring unpushed","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntls: don't leave a full plaintext sk_msg ring unpushed\n\nWhen the copy path in tls_sw_sendmsg_locked() adds the fragment that fills\nthe plaintext sk_msg ring, it does not set full_record, so the record is\nleft full and unpushed.  A later splice() then adds to an already full\nring: sk_msg_page_add() has no fullness check of its own, so sg.end wraps\nonto sg.start and the ring appears empty.  Fragments added after that\noverwrite live entries, and sg.size no longer matches what is reachable\nbetween sg.start and sg.end, so pushing the record runs the scatterwalk off\nthe end of the scatterlist.\n\nAn unprivileged user can trigger this on a loopback TCP socket with the\n\"tls\" ULP attached:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000008\n  RIP: 0010:memcpy_from_scatterwalk+0x32/0xc0\n  Call Trace:\n   skcipher_walk_next+0x1d1/0x2c0\n   gcm_encrypt_aesni_avx+0x1e9/0x220\n   bpf_exec_tx_verdict+0x3bb/0x860\n   tls_sw_sendmsg+0xa1a/0xca0\n   __sys_sendto+0x1da/0x1f0\n\nSet full_record in the copy path when the ring becomes full, and push a\nrecord that is already full on entry to the sendmsg loop.","modified":"2026-08-24T11:47:07.724782949Z","published":"2026-08-22T15:31:56.813Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74610.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3c5f8f2aa57c647b83add4896aab64aac5fdedad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fc5044796dd87b8d68be4207046f5ce2748174c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7bca91d63341274e857f4aeaad54d229405e93dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa8b14647721b5a4958712b35cf43e3125d47753"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f634289a0b557a197c5f37284b623cefedfe73d5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74610.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74610"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fe1e81d4f73b6cbaed4fcc476960d26770642842"},{"fixed":"aa8b14647721b5a4958712b35cf43e3125d47753"},{"fixed":"f634289a0b557a197c5f37284b623cefedfe73d5"},{"fixed":"3fc5044796dd87b8d68be4207046f5ce2748174c"},{"fixed":"3c5f8f2aa57c647b83add4896aab64aac5fdedad"},{"fixed":"7bca91d63341274e857f4aeaad54d229405e93dc"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74610.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.6.152"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.104"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.45"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74610.json"}}],"schema_version":"1.9.0"}