{"id":"CVE-2025-21923","aliases":["CVE-2025-21923"],"related":[],"kind":"vulnerability","state":"published","title":"HID: hid-steam: Fix use-after-free when detaching device","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: hid-steam: Fix use-after-free when detaching device\n\nWhen a hid-steam device is removed it must clean up the client_hdev used for\nintercepting hidraw access. This can lead to scheduling deferred work to\nreattach the input device. Though the cleanup cancels the deferred work, this\nwas done before the client_hdev itself is cleaned up, so it gets rescheduled.\nThis patch fixes the ordering to make sure the deferred work is properly\ncanceled.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: hid-steam: Fix use-after-free when detaching device\n\nWhen a hid-steam device is removed it must clean up the client_hdev used for\nintercepting hidraw access. This can lead to scheduling deferred work to\nreattach the input device. Though the cleanup cancels the deferred work, this\nwas done before the client_hdev itself is cleaned up, so it gets rescheduled.\nThis patch fixes the ordering to make sure the deferred work is properly\ncanceled.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HID: hid-steam: Se corrige el error \"use-after-free\" al desconectar el dispositivo. Al desconectar un dispositivo hid-steam, este debe limpiar el archivo client_hdev utilizado para interceptar el acceso a hidraw. Esto puede provocar la programación de un trabajo diferido para volver a conectar el dispositivo de entrada. Aunque la limpieza cancela el trabajo diferido, esto se realizó antes de que se limpiara el archivo client_hdev, por lo que se reprograma. Este parche corrige el orden para garantizar que el trabajo diferido se cancele correctamente.","source":"nvd"}],"published":"2025-04-01T15:40:56.229Z","modified":"2026-08-05T11:55:21.882Z","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":"CISA-ADP","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:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"e1147961b2145fa61c3078a4a797d9576cde91ab","fixed":"026714ec7546de741826324a6a1914c91024d06c","status":"affected"},{"type":"git","introduced":"3e38cbbfa0a128a9d64773240a9eb3bc7bae3b1a","fixed":"a899adf7063c6745aaff1ec869f3c7f6329ed0a1","status":"affected"},{"type":"git","introduced":"053fa3888d2a957f4db26c05e503f4c6b9570a30","fixed":"ea3f18d2f02629653b7bfe42607737ccd1343e54","status":"affected"},{"type":"git","introduced":"79504249d7e27cad4a3eeb9afc6386e418728ce0","fixed":"e53fc232a65f7488ab75d03a5b95f06aaada7262","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.6.79","fixed":"6.6.83","status":"affected"},{"type":"semver","introduced":"6.12.16","fixed":"6.12.19","status":"affected"},{"type":"semver","introduced":"6.13.4","fixed":"6.13.7","status":"affected"}],"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.79","fixed":"6.6.83"},{"status":"affected","introduced":"6.12.16","fixed":"6.12.19"},{"status":"affected","introduced":"6.13.4","fixed":"6.13.7"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/026714ec7546de741826324a6a1914c91024d06c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a899adf7063c6745aaff1ec869f3c7f6329ed0a1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ea3f18d2f02629653b7bfe42607737ccd1343e54","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e53fc232a65f7488ab75d03a5b95f06aaada7262","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-16T13:15:09.842Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21923","url":"https://www.cve.org/CVERecord?id=CVE-2025-21923","licence":"CVE Terms of Use","modified":"2026-08-05T11:55:21.882Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21923","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21923","licence":"Public domain","modified":"2026-06-17T08:44:37.340Z"}],"updatedAt":"2026-11-25T22:58:55.888Z","epss":{"score":0.00209,"percentile":0.11741,"date":"2026-12-01T12:00:22.000Z"}}