{"id":"CVE-2025-37813","aliases":["CVE-2025-37813"],"related":[],"kind":"vulnerability","state":"published","title":"usb: xhci: Fix invalid pointer dereference in Etron workaround","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: xhci: Fix invalid pointer dereference in Etron workaround\n\nThis check is performed before prepare_transfer() and prepare_ring(), so\nenqueue can already point at the final link TRB of a segment. And indeed\nit will, some 0.4% of times this code is called.\n\nThen enqueue + 1 is an invalid pointer. It will crash the kernel right\naway or load some junk which may look like a link TRB and cause the real\nlink TRB to be replaced with a NOOP. This wouldn't end well.\n\nUse a functionally equivalent test which doesn't dereference the pointer\nand always gives correct result.\n\nSomething has crashed my machine twice in recent days while playing with\nan Etron HC, and a control transfer stress test ran for confirmation has\njust crashed it again. The same test passes with this patch applied.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: xhci: Fix invalid pointer dereference in Etron workaround\n\nThis check is performed before prepare_transfer() and prepare_ring(), so\nenqueue can already point at the final link TRB of a segment. And indeed\nit will, some 0.4% of times this code is called.\n\nThen enqueue + 1 is an invalid pointer. It will crash the kernel right\naway or load some junk which may look like a link TRB and cause the real\nlink TRB to be replaced with a NOOP. This wouldn't end well.\n\nUse a functionally equivalent test which doesn't dereference the pointer\nand always gives correct result.\n\nSomething has crashed my machine twice in recent days while playing with\nan Etron HC, and a control transfer stress test ran for confirmation has\njust crashed it again. The same test passes with this patch applied.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: xhci: Corregir desreferencia de puntero no válida en el workaround de Etron Esta comprobación se realiza antes de prepare_transfer() y prepare_ring(), por lo que enqueue ya puede apuntar al TRB de enlace final de un segmento. Y de hecho lo hará, alrededor del 0,4% de las veces que se llama a este código. Entonces enqueue + 1 es un puntero no válido. Hará que el kernel se caiga de inmediato o cargará algo basura que puede parecer un TRB de enlace y hacer que el TRB de enlace real se reemplace con un NOOP. Esto no terminaría bien. Utilice una prueba funcionalmente equivalente que no desreferencia el puntero y siempre dé un resultado correcto. Algo ha hecho que mi máquina se caiga dos veces en los últimos días mientras jugaba con un Etron HC, y una prueba de estrés de transferencia de control ejecutada para confirmación la acaba de hacer caer de nuevo. La misma prueba pasa con este parche aplicado.","source":"nvd"}],"published":"2025-05-08T06:26:10.000Z","modified":"2026-10-15T22:18:18.577Z","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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"fbc0a0c7718a6cb1dc5e0811a4f88a2b1deedfa1","fixed":"142273a49f2c315eabdbdf5a71c15e479b75ca91","status":"affected"},{"type":"git","introduced":"9258c9ed32294ce3a4b58c9d92fc49ba030d35c9","fixed":"bce3055b08e303e28a8751f6073066f5c33a0744","status":"affected"},{"type":"git","introduced":"5e1c67abc9301d05130b7e267c204e7005503b33","fixed":"0624e29c595b05e7a0e6d1c368f0a05799928e30","status":"affected"},{"type":"git","introduced":"5e1c67abc9301d05130b7e267c204e7005503b33","fixed":"1ea050da5562af9b930d17cbbe9632d30f5df43a","status":"affected"},{"type":"git","version":"4725344ca645a98a9d8e45e25b01a2244de5b8aa","status":"affected"},{"type":"semver","introduced":"6.6.66","fixed":"6.6.89","status":"affected"},{"type":"semver","introduced":"6.12.2","fixed":"6.12.26","status":"affected"},{"type":"semver","introduced":"6.11.11","fixed":"6.12","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.6.89","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.26","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.5","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","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":"6.6.66","fixed":"6.6.89"},{"status":"affected","introduced":"6.11.11","fixed":"6.12"},{"status":"affected","introduced":"6.12.2","fixed":"6.12.26"},{"status":"affected","introduced":"6.13","fixed":"6.14.5"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/142273a49f2c315eabdbdf5a71c15e479b75ca91","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bce3055b08e303e28a8751f6073066f5c33a0744","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0624e29c595b05e7a0e6d1c368f0a05799928e30","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ea050da5562af9b930d17cbbe9632d30f5df43a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:45:20.958Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37813","url":"https://www.cve.org/CVERecord?id=CVE-2025-37813","licence":"CVE Terms of Use","modified":"2026-10-15T21:52:00.500Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37813","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37813","licence":"Public domain","modified":"2026-10-15T22:18:18.577Z"}],"updatedAt":"2026-11-25T22:58:57.795Z","epss":{"score":0.00204,"percentile":0.10904,"date":"2026-12-01T12:00:22.000Z"}}