{"id":"CVE-2026-31696","aliases":["CVE-2026-31696"],"related":[],"kind":"vulnerability","state":"published","title":"rxrpc: Fix missing validation of ticket length in non-XDR key preparsing","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix missing validation of ticket length in non-XDR key preparsing\n\nIn rxrpc_preparse(), there are two paths for parsing key payloads: the\nXDR path (for large payloads) and the non-XDR path (for payloads <= 28\nbytes). While the XDR path (rxrpc_preparse_xdr_rxkad()) correctly\nvalidates the ticket length against AFSTOKEN_RK_TIX_MAX, the non-XDR\npath fails to do so.\n\nThis allows an unprivileged user to provide a very large ticket length.\nWhen this key is later read via rxrpc_read(), the total\ntoken size (toksize) calculation results in a value that exceeds\nAFSTOKEN_LENGTH_MAX, triggering a WARN_ON().\n\n[ 2001.302904] WARNING: CPU: 2 PID: 2108 at net/rxrpc/key.c:778 rxrpc_read+0x109/0x5c0 [rxrpc]\n\nFix this by adding a check in the non-XDR parsing path of rxrpc_preparse()\nto ensure the ticket length does not exceed AFSTOKEN_RK_TIX_MAX,\nbringing it into parity with the XDR parsing logic.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix missing validation of ticket length in non-XDR key preparsing\n\nIn rxrpc_preparse(), there are two paths for parsing key payloads: the\nXDR path (for large payloads) and the non-XDR path (for payloads <= 28\nbytes). While the XDR path (rxrpc_preparse_xdr_rxkad()) correctly\nvalidates the ticket length against AFSTOKEN_RK_TIX_MAX, the non-XDR\npath fails to do so.\n\nThis allows an unprivileged user to provide a very large ticket length.\nWhen this key is later read via rxrpc_read(), the total\ntoken size (toksize) calculation results in a value that exceeds\nAFSTOKEN_LENGTH_MAX, triggering a WARN_ON().\n\n[ 2001.302904] WARNING: CPU: 2 PID: 2108 at net/rxrpc/key.c:778 rxrpc_read+0x109/0x5c0 [rxrpc]\n\nFix this by adding a check in the non-XDR parsing path of rxrpc_preparse()\nto ensure the ticket length does not exceed AFSTOKEN_RK_TIX_MAX,\nbringing it into parity with the XDR parsing logic.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nrxrpc: Arreglo de la validación faltante de la longitud del ticket en el preanálisis de claves no-XDR\n\nEn rxrpc_preparse(), hay dos rutas para analizar cargas útiles de claves: la ruta XDR (para cargas útiles grandes) y la ruta no-XDR (para cargas útiles menor o igual que 28 bytes). Mientras que la ruta XDR (rxrpc_preparse_xdr_rxkad()) valida correctamente la longitud del ticket contra AFSTOKEN_RK_TIX_MAX, la ruta no-XDR falla en hacerlo.\n\nEsto permite a un usuario no privilegiado proporcionar una longitud de ticket muy grande. Cuando esta clave es leída posteriormente a través de rxrpc_read(), el cálculo del tamaño total del token (toksize) resulta en un valor que excede AFSTOKEN_LENGTH_MAX, desencadenando un WARN_ON().\n\n[ 2001.302904] ADVERTENCIA: CPU: 2 PID: 2108 en net/rxrpc/key.c:778 rxrpc_read+0x109/0x5c0 [rxrpc]\n\nSolucione esto añadiendo una verificación en la ruta de análisis no-XDR de rxrpc_preparse() para asegurar que la longitud del ticket no exceda AFSTOKEN_RK_TIX_MAX, poniéndolo a la par con la lógica de análisis XDR.","source":"nvd"}],"published":"2026-05-01T13:55:57.485Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"NVD","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":"NVD","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":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247","fixed":"44714dfda386884919ba366411880b6fb3c3efd3","status":"affected"},{"type":"git","introduced":"8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247","fixed":"41a117dd80371343babc52198d1114e83eb37627","status":"affected"},{"type":"git","introduced":"8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247","fixed":"9a397aa9b5e53ca63d4d6aefb542832eca389618","status":"affected"},{"type":"git","introduced":"8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247","fixed":"1fa36cf495b0023e8475d038535c05e4063211e1","status":"affected"},{"type":"git","introduced":"8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247","fixed":"4458757c020592a3094366e0fb20457383b42f92","status":"affected"},{"type":"git","introduced":"8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247","fixed":"ce383ba615339f8eaec646a166d2c2b015bb5ca0","status":"affected"},{"type":"git","introduced":"8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247","fixed":"a1be1c9ece26cea69654f28b255ff9a7906b897b","status":"affected"},{"type":"git","introduced":"8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247","fixed":"ac33733b10b484d666f97688561670afd5861383","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.17","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.136","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.84","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.25","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.2","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.17","fixed":"6.6.136"},{"status":"affected","introduced":"6.7","fixed":"6.12.84"},{"status":"affected","introduced":"6.13","fixed":"6.18.25"},{"status":"affected","introduced":"6.19","fixed":"7.0.2"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/44714dfda386884919ba366411880b6fb3c3efd3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41a117dd80371343babc52198d1114e83eb37627","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a397aa9b5e53ca63d4d6aefb542832eca389618","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1fa36cf495b0023e8475d038535c05e4063211e1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4458757c020592a3094366e0fb20457383b42f92","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce383ba615339f8eaec646a166d2c2b015bb5ca0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1be1c9ece26cea69654f28b255ff9a7906b897b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac33733b10b484d666f97688561670afd5861383","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:24:31.625Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31696","url":"https://www.cve.org/CVERecord?id=CVE-2026-31696","licence":"CVE Terms of Use","modified":"2026-11-06T15:32:23.459Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31696","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31696","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.334Z","epss":{"score":0.00141,"percentile":0.03618,"date":"2026-12-01T12:00:22.000Z"}}