{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49508","id":"CVE-2022-49508","title":"HID: elan: Fix potential double free in elan_input_configured","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: elan: Fix potential double free in elan_input_configured\n\n'input' is a managed resource allocated with devm_input_allocate_device(),\nso there is no need to call input_free_device() explicitly or\nthere will be a double free.\n\nAccording to the doc of devm_input_allocate_device():\n * Managed input devices do not need to be expl","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: elan: Fix potential double free in elan_input_configured\n\n'input' is a managed resource allocated with devm_input_allocate_device(),\nso there is no need to call input_free_device() explicitly or\nthere will be a double free.\n\nAccording to the doc of devm_input_allocate_device():\n * Managed input devices do not need to be explicitly unregistered or\n * freed as it will be done automatically when owner device unbinds from\n * its driver (or binding fails).","published":"2025-02-26T02:13:39.472Z","updated":"2026-10-28T02:30:56.398549637Z","reserved":"2025-02-26T02:08:31.587Z","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":"9a6a4193d65b853020ef0e66cecdf9e64a863883","lessThan":"c92ec22a991778a096342cf1a917ae36c5c86a90","status":"affected","versionType":"git"},{"version":"9a6a4193d65b853020ef0e66cecdf9e64a863883","lessThan":"f1d4f19a796551edc6679a681ea1756b8c578c08","status":"affected","versionType":"git"},{"version":"9a6a4193d65b853020ef0e66cecdf9e64a863883","lessThan":"6d0726725c7c560495f5ff364862a2cefea542e3","status":"affected","versionType":"git"},{"version":"9a6a4193d65b853020ef0e66cecdf9e64a863883","lessThan":"24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47","status":"affected","versionType":"git"},{"version":"9a6a4193d65b853020ef0e66cecdf9e64a863883","lessThan":"5291451851feeb66fd4bf0826710f482f3b1ab38","status":"affected","versionType":"git"},{"version":"9a6a4193d65b853020ef0e66cecdf9e64a863883","lessThan":"8bb1716507ebf12d50bbf181764481de3b6bc7fd","status":"affected","versionType":"git"},{"version":"9a6a4193d65b853020ef0e66cecdf9e64a863883","lessThan":"1af20714fedad238362571620be0bd690ded05b6","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","lessThan":"4.17","status":"unaffected","versionType":"semver"},{"version":"4.19.247","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.198","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.121","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.46","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.14","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18.3","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-415"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c92ec22a991778a096342cf1a917ae36c5c86a90","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f1d4f19a796551edc6679a681ea1756b8c578c08","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6d0726725c7c560495f5ff364862a2cefea542e3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5291451851feeb66fd4bf0826710f482f3b1ab38","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8bb1716507ebf12d50bbf181764481de3b6bc7fd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1af20714fedad238362571620be0bd690ded05b6","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49508.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49508","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.00297,"epssPercentile":0.22687,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49508","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49508","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49508","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-2022-49508","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}