{"id":"CVE-2026-74610","aliases":["CVE-2026-74610"],"related":[],"kind":"vulnerability","state":"published","title":"tls: don't leave a full plaintext sk_msg ring unpushed","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ntls: no dejar un anillo sk_msg de texto plano completo sin empujar\n\nCuando la ruta de copia en tls_sw_sendmsg_locked() añade el fragmento que llena el anillo sk_msg de texto plano, no establece full_record, por lo que el registro queda completo y sin empujar. Un splice() posterior añade entonces a un anillo ya completo: sk_msg_page_add() no tiene su propia comprobación de llenado, por lo que sg.end se envuelve sobre sg.start y el anillo aparece vacío. Los fragmentos añadidos después de eso sobrescriben entradas activas, y sg.size ya no coincide con lo que es alcanzable entre sg.start y sg.end, por lo que empujar el registro hace que el scatterwalk se salga del final de la scatterlist.\n\nUn usuario sin privilegios puede activar esto en un socket TCP de bucle invertido con el ULP 'tls' adjunto:\n\nBUG: desreferencia de puntero NULL del kernel, dirección: 0000000000000008\nRIP: 0010:memcpy_from_scatterwalk+0x32/0xc0\nTraza de llamada:\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\nEstablecer full_record en la ruta de copia cuando el anillo se llena, y empujar un registro que ya está completo al entrar en el bucle sendmsg.","source":"nvd"}],"published":"2026-08-22T15:31:56.813Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fe1e81d4f73b6cbaed4fcc476960d26770642842","fixed":"aa8b14647721b5a4958712b35cf43e3125d47753","status":"affected"},{"type":"git","introduced":"fe1e81d4f73b6cbaed4fcc476960d26770642842","fixed":"f634289a0b557a197c5f37284b623cefedfe73d5","status":"affected"},{"type":"git","introduced":"fe1e81d4f73b6cbaed4fcc476960d26770642842","fixed":"3fc5044796dd87b8d68be4207046f5ce2748174c","status":"affected"},{"type":"git","introduced":"fe1e81d4f73b6cbaed4fcc476960d26770642842","fixed":"3c5f8f2aa57c647b83add4896aab64aac5fdedad","status":"affected"},{"type":"git","introduced":"fe1e81d4f73b6cbaed4fcc476960d26770642842","fixed":"7bca91d63341274e857f4aeaad54d229405e93dc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/aa8b14647721b5a4958712b35cf43e3125d47753","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f634289a0b557a197c5f37284b623cefedfe73d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3fc5044796dd87b8d68be4207046f5ce2748174c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3c5f8f2aa57c647b83add4896aab64aac5fdedad","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7bca91d63341274e857f4aeaad54d229405e93dc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74610","url":"https://www.cve.org/CVERecord?id=CVE-2026-74610","licence":"CVE Terms of Use","modified":"2026-08-25T05:40:36.026Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74610","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74610","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:34.895Z","epss":{"score":0.00129,"percentile":0.02716,"date":"2026-12-01T12:00:22.000Z"}}