{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-21928","id":"CVE-2025-21928","title":"HID: intel-ish-hid: Fix use-after-free issue in ishtp_hid_remove()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: intel-ish-hid: Fix use-after-free issue in ishtp_hid_remove()\n\nThe system can experience a random crash a few minutes after the driver is\nremoved. This issue occurs due to improper handling of memory freeing in\nthe ishtp_hid_remove() function.\n\nThe function currently frees the `driver_data` directly within the loop\nthat dest","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: intel-ish-hid: Fix use-after-free issue in ishtp_hid_remove()\n\nThe system can experience a random crash a few minutes after the driver is\nremoved. This issue occurs due to improper handling of memory freeing in\nthe ishtp_hid_remove() function.\n\nThe function currently frees the `driver_data` directly within the loop\nthat destroys the HID devices, which can lead to accessing freed memory.\nSpecifically, `hid_destroy_device()` uses `driver_data` when it calls\n`hid_ishtp_set_feature()` to power off the sensor, so freeing\n`driver_data` beforehand can result in accessing invalid memory.\n\nThis patch resolves the issue by storing the `driver_data` in a temporary\nvariable before calling `hid_destroy_device()`, and then freeing the\n`driver_data` after the device is destroyed.","published":"2025-04-01T15:40:59.033Z","updated":"2026-10-28T02:30:44.793757006Z","reserved":"2024-12-29T08:45:45.788Z","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":"NVD"},"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":"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":"CISA-ADP"},{"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":"0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6","lessThan":"0c1fb475ef999d6c22fc3f963fdf20cb3ed1b03d","status":"affected","versionType":"git"},{"version":"0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6","lessThan":"d3faae7f42181865c799d88c5054176f38ae4625","status":"affected","versionType":"git"},{"version":"0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6","lessThan":"01b18a330cda61cc21423a7d1af92cf31ded8f60","status":"affected","versionType":"git"},{"version":"0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6","lessThan":"cf1a6015d2f6b1f0afaa0fd6a0124ff2c7943394","status":"affected","versionType":"git"},{"version":"0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6","lessThan":"560f4d1299342504a6ab8a47f575b5e6b8345ada","status":"affected","versionType":"git"},{"version":"0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6","lessThan":"dea6a349bcaf243fff95dfd0428a26be6a0fb44e","status":"affected","versionType":"git"},{"version":"0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6","lessThan":"eb0695d87a81e7c1f0509b7d8ee7c65fbc26aec9","status":"affected","versionType":"git"},{"version":"0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6","lessThan":"07583a0010696a17fb0942e0b499a62785c5fc9f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","lessThan":"4.9","status":"unaffected","versionType":"semver"},{"version":"5.4.291","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.235","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.179","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.131","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.83","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.19","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.7","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0c1fb475ef999d6c22fc3f963fdf20cb3ed1b03d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d3faae7f42181865c799d88c5054176f38ae4625","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/01b18a330cda61cc21423a7d1af92cf31ded8f60","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cf1a6015d2f6b1f0afaa0fd6a0124ff2c7943394","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/560f4d1299342504a6ab8a47f575b5e6b8345ada","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/dea6a349bcaf243fff95dfd0428a26be6a0fb44e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/eb0695d87a81e7c1f0509b7d8ee7c65fbc26aec9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/07583a0010696a17fb0942e0b499a62785c5fc9f","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21928.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21928","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.00235,"epssPercentile":0.1456,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-21928","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21928","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-21928","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-21928","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}