{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-37813","id":"CVE-2025-37813","title":"usb: xhci: Fix invalid pointer dereference in Etron workaround","description":"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\n","descriptionLong":"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.","published":"2025-05-08T06:26:10.000Z","updated":"2026-11-17T07:02:02.283117889Z","reserved":"2025-04-16T04:51:23.946Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fbc0a0c7718a6cb1dc5e0811a4f88a2b1deedfa1","lessThan":"142273a49f2c315eabdbdf5a71c15e479b75ca91","status":"affected","versionType":"git"},{"version":"9258c9ed32294ce3a4b58c9d92fc49ba030d35c9","lessThan":"bce3055b08e303e28a8751f6073066f5c33a0744","status":"affected","versionType":"git"},{"version":"5e1c67abc9301d05130b7e267c204e7005503b33","lessThan":"0624e29c595b05e7a0e6d1c368f0a05799928e30","status":"affected","versionType":"git"},{"version":"5e1c67abc9301d05130b7e267c204e7005503b33","lessThan":"1ea050da5562af9b930d17cbbe9632d30f5df43a","status":"affected","versionType":"git"},{"version":"4725344ca645a98a9d8e45e25b01a2244de5b8aa","status":"affected","versionType":"git"},{"version":"6.6.66","lessThan":"6.6.89","status":"affected","versionType":"semver"},{"version":"6.12.2","lessThan":"6.12.26","status":"affected","versionType":"semver"},{"version":"6.11.11","lessThan":"6.12","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","lessThan":"6.13","status":"unaffected","versionType":"semver"},{"version":"6.6.89","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.26","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.14.5","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/142273a49f2c315eabdbdf5a71c15e479b75ca91","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bce3055b08e303e28a8751f6073066f5c33a0744","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0624e29c595b05e7a0e6d1c368f0a05799928e30","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1ea050da5562af9b930d17cbbe9632d30f5df43a","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37813.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37813","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.002,"epssPercentile":0.09907,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-37813","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37813","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-37813","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-37813","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}