{"id":"CVE-2025-37813","summary":"usb: xhci: Fix invalid pointer dereference in Etron workaround","details":"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.","modified":"2026-04-16T04:30:57.522200387Z","published":"2025-05-08T06:26:10Z","related":["SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2026:0447-1","SUSE-SU-2026:0471-1","SUSE-SU-2026:0472-1","SUSE-SU-2026:0587-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37813.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0624e29c595b05e7a0e6d1c368f0a05799928e30"},{"type":"WEB","url":"https://git.kernel.org/stable/c/142273a49f2c315eabdbdf5a71c15e479b75ca91"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ea050da5562af9b930d17cbbe9632d30f5df43a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bce3055b08e303e28a8751f6073066f5c33a0744"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37813.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37813"},{"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":"fbc0a0c7718a6cb1dc5e0811a4f88a2b1deedfa1"},{"fixed":"142273a49f2c315eabdbdf5a71c15e479b75ca91"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9258c9ed32294ce3a4b58c9d92fc49ba030d35c9"},{"fixed":"bce3055b08e303e28a8751f6073066f5c33a0744"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5e1c67abc9301d05130b7e267c204e7005503b33"},{"fixed":"0624e29c595b05e7a0e6d1c368f0a05799928e30"},{"fixed":"1ea050da5562af9b930d17cbbe9632d30f5df43a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"4725344ca645a98a9d8e45e25b01a2244de5b8aa"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37813.json"}}],"schema_version":"1.7.5"}