{"id":"CVE-2022-49508","summary":"HID: elan: Fix potential double free in elan_input_configured","details":"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).","modified":"2026-05-28T03:54:33.287065445Z","published":"2025-02-26T02:13:39.472Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49508.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1af20714fedad238362571620be0bd690ded05b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5291451851feeb66fd4bf0826710f482f3b1ab38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d0726725c7c560495f5ff364862a2cefea542e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8bb1716507ebf12d50bbf181764481de3b6bc7fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c92ec22a991778a096342cf1a917ae36c5c86a90"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1d4f19a796551edc6679a681ea1756b8c578c08"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49508.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49508"},{"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":"9a6a4193d65b853020ef0e66cecdf9e64a863883"},{"fixed":"c92ec22a991778a096342cf1a917ae36c5c86a90"},{"fixed":"f1d4f19a796551edc6679a681ea1756b8c578c08"},{"fixed":"6d0726725c7c560495f5ff364862a2cefea542e3"},{"fixed":"24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47"},{"fixed":"5291451851feeb66fd4bf0826710f482f3b1ab38"},{"fixed":"8bb1716507ebf12d50bbf181764481de3b6bc7fd"},{"fixed":"1af20714fedad238362571620be0bd690ded05b6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49508.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.17.0"},{"fixed":"4.19.247"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.198"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.121"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.46"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.17.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.18.0"},{"fixed":"5.18.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49508.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}