{"id":"CVE-2022-49777","summary":"Input: i8042 - fix leaking of platform device on module removal","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: i8042 - fix leaking of platform device on module removal\n\nAvoid resetting the module-wide i8042_platform_device pointer in\ni8042_probe() or i8042_remove(), so that the device can be properly\ndestroyed by i8042_exit() on module unload.","modified":"2026-03-11T07:39:35.586844Z","published":"2025-05-01T14:09:13.199Z","related":["SUSE-SU-2025:01918-1","SUSE-SU-2025:01966-1","SUSE-SU-2025:01982-1","SUSE-SU-2025:02173-1","SUSE-SU-2025:02262-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49777.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3f25add5ecf88de0f8ff2b27b6c0731a1f1b38ed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4f348b60c79671eee33c1389efe89109c93047da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81cd7e8489278d28794e7b272950c3e00c344e44"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81df118e79b2136b5c016394f67a051dc508b7b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a32cd7feb0127bf629a82686b6e2c128139a86e5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d5f7f6e63fed9c2ed09725d90059a28907e197e3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49777.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49777"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"68fdb0499653a2519691e645fcb72944f6e1e220"},{"fixed":"81df118e79b2136b5c016394f67a051dc508b7b6"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f93d5dca7d84a4c725acf87db74b12c5686bd83e"},{"fixed":"4f348b60c79671eee33c1389efe89109c93047da"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bb672eff7447f8a26c8a66ddee613afd279bd760"},{"fixed":"3f25add5ecf88de0f8ff2b27b6c0731a1f1b38ed"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dd33054e4c18a54645072c7a62d46cdf6d05dace"},{"fixed":"d5f7f6e63fed9c2ed09725d90059a28907e197e3"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9222ba68c3f4065f6364b99cc641b6b019ef2d42"},{"fixed":"a32cd7feb0127bf629a82686b6e2c128139a86e5"},{"fixed":"81cd7e8489278d28794e7b272950c3e00c344e44"}]}],"versions":["v4.19.224","v4.19.225","v4.19.226","v4.19.227","v4.19.228","v4.19.229","v4.19.230","v4.19.231","v4.19.232","v4.19.233","v4.19.234","v4.19.235","v4.19.236","v4.19.237","v4.19.238","v4.19.239","v4.19.240","v4.19.241","v4.19.242","v4.19.243","v4.19.244","v4.19.245","v4.19.246","v4.19.247","v4.19.248","v4.19.249","v4.19.250","v4.19.251","v4.19.252","v4.19.253","v4.19.254","v4.19.255","v4.19.256","v4.19.257","v4.19.258","v4.19.259","v4.19.260","v4.19.261","v4.19.262","v4.19.263","v4.19.264","v4.19.265","v4.19.266","v5.10.100","v5.10.101","v5.10.102","v5.10.103","v5.10.104","v5.10.105","v5.10.106","v5.10.107","v5.10.108","v5.10.109","v5.10.110","v5.10.111","v5.10.112","v5.10.113","v5.10.114","v5.10.115","v5.10.116","v5.10.117","v5.10.118","v5.10.119","v5.10.120","v5.10.121","v5.10.122","v5.10.123","v5.10.124","v5.10.125","v5.10.126","v5.10.127","v5.10.128","v5.10.129","v5.10.130","v5.10.131","v5.10.132","v5.10.133","v5.10.134","v5.10.135","v5.10.136","v5.10.137","v5.10.138","v5.10.139","v5.10.140","v5.10.141","v5.10.142","v5.10.143","v5.10.144","v5.10.145","v5.10.146","v5.10.147","v5.10.148","v5.10.149","v5.10.150","v5.10.151","v5.10.152","v5.10.153","v5.10.154","v5.10.155","v5.10.90","v5.10.91","v5.10.92","v5.10.93","v5.10.94","v5.10.95","v5.10.96","v5.10.97","v5.10.98","v5.10.99","v5.14","v5.14-rc1","v5.14-rc2","v5.14-rc3","v5.14-rc4","v5.14-rc5","v5.14-rc6","v5.14-rc7","v5.15","v5.15-rc1","v5.15-rc2","v5.15-rc3","v5.15-rc4","v5.15-rc5","v5.15-rc6","v5.15-rc7","v5.15.13","v5.15.14","v5.15.15","v5.15.16","v5.15.17","v5.15.18","v5.15.19","v5.15.20","v5.15.21","v5.15.22","v5.15.23","v5.15.24","v5.15.25","v5.15.26","v5.15.27","v5.15.28","v5.15.29","v5.15.30","v5.15.31","v5.15.32","v5.15.33","v5.15.34","v5.15.35","v5.15.36","v5.15.37","v5.15.38","v5.15.39","v5.15.40","v5.15.41","v5.15.42","v5.15.43","v5.15.44","v5.15.45","v5.15.46","v5.15.47","v5.15.48","v5.15.49","v5.15.50","v5.15.51","v5.15.52","v5.15.53","v5.15.54","v5.15.55","v5.15.56","v5.15.57","v5.15.58","v5.15.59","v5.15.60","v5.15.61","v5.15.62","v5.15.63","v5.15.64","v5.15.65","v5.15.66","v5.15.67","v5.15.68","v5.15.69","v5.15.70","v5.15.71","v5.15.72","v5.15.73","v5.15.74","v5.15.75","v5.15.76","v5.15.77","v5.15.78","v5.15.79","v5.16","v5.16-rc1","v5.16-rc2","v5.16-rc3","v5.16-rc4","v5.16-rc5","v5.16-rc6","v5.16-rc7","v5.16-rc8","v5.17","v5.17-rc1","v5.17-rc2","v5.17-rc3","v5.17-rc4","v5.17-rc5","v5.17-rc6","v5.17-rc7","v5.17-rc8","v5.18","v5.18-rc1","v5.18-rc2","v5.18-rc3","v5.18-rc4","v5.18-rc5","v5.18-rc6","v5.18-rc7","v5.19","v5.19-rc1","v5.19-rc2","v5.19-rc3","v5.19-rc4","v5.19-rc5","v5.19-rc6","v5.19-rc7","v5.19-rc8","v5.4.170","v5.4.171","v5.4.172","v5.4.173","v5.4.174","v5.4.175","v5.4.176","v5.4.177","v5.4.178","v5.4.179","v5.4.180","v5.4.181","v5.4.182","v5.4.183","v5.4.184","v5.4.185","v5.4.186","v5.4.187","v5.4.188","v5.4.189","v5.4.190","v5.4.191","v5.4.192","v5.4.193","v5.4.194","v5.4.195","v5.4.196","v5.4.197","v5.4.198","v5.4.199","v5.4.200","v5.4.201","v5.4.202","v5.4.203","v5.4.204","v5.4.205","v5.4.206","v5.4.207","v5.4.208","v5.4.209","v5.4.210","v5.4.211","v5.4.212","v5.4.213","v5.4.214","v5.4.215","v5.4.216","v5.4.217","v5.4.218","v5.4.219","v5.4.220","v5.4.221","v5.4.222","v5.4.223","v5.4.224","v6.0","v6.0-rc1","v6.0-rc2","v6.0-rc3","v6.0-rc4","v6.0-rc5","v6.0-rc6","v6.0-rc7","v6.0.1","v6.0.2","v6.0.3","v6.0.4","v6.0.5","v6.0.6","v6.0.7","v6.0.8","v6.0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49777.json","vanir_signatures":[{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4f348b60c79671eee33c1389efe89109c93047da","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-0adf7f98","digest":{"length":136,"function_hash":"85139102908076992113977634667019184474"},"target":{"function":"i8042_remove","file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4f348b60c79671eee33c1389efe89109c93047da","signature_version":"v1","deprecated":false,"signature_type":"Line","id":"CVE-2022-49777-199c6e79","digest":{"line_hashes":["165997784966620767200747342454087683327","109138320864869906483036549960607244010","139322547180444917898011550620550228154","39512725094707987462611161193417016778","158663820577917667719273412625863676072","11940032374164137416779659884150245233","116167058819895285574906639239988999798","138840286036063230041728325670458661276","206652113844784924468956429930470856179","99460623604773269635802479527767296827","189976093510708220889733893241847785178","136933803656618004734873685184977502412"],"threshold":0.9},"target":{"file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81df118e79b2136b5c016394f67a051dc508b7b6","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-1af4f0ba","digest":{"length":136,"function_hash":"85139102908076992113977634667019184474"},"target":{"function":"i8042_remove","file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81cd7e8489278d28794e7b272950c3e00c344e44","signature_version":"v1","deprecated":false,"signature_type":"Line","id":"CVE-2022-49777-1e248e4c","digest":{"line_hashes":["165997784966620767200747342454087683327","109138320864869906483036549960607244010","139322547180444917898011550620550228154","39512725094707987462611161193417016778","158663820577917667719273412625863676072","11940032374164137416779659884150245233","116167058819895285574906639239988999798","138840286036063230041728325670458661276","206652113844784924468956429930470856179","99460623604773269635802479527767296827","189976093510708220889733893241847785178","136933803656618004734873685184977502412"],"threshold":0.9},"target":{"file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f25add5ecf88de0f8ff2b27b6c0731a1f1b38ed","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-2cb482e1","digest":{"length":599,"function_hash":"249651849818427345501521501771406559594"},"target":{"function":"i8042_probe","file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5f7f6e63fed9c2ed09725d90059a28907e197e3","signature_version":"v1","deprecated":false,"signature_type":"Line","id":"CVE-2022-49777-3b8c12aa","digest":{"line_hashes":["165997784966620767200747342454087683327","109138320864869906483036549960607244010","139322547180444917898011550620550228154","39512725094707987462611161193417016778","158663820577917667719273412625863676072","11940032374164137416779659884150245233","116167058819895285574906639239988999798","138840286036063230041728325670458661276","206652113844784924468956429930470856179","99460623604773269635802479527767296827","189976093510708220889733893241847785178","136933803656618004734873685184977502412"],"threshold":0.9},"target":{"file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81df118e79b2136b5c016394f67a051dc508b7b6","signature_version":"v1","deprecated":false,"signature_type":"Line","id":"CVE-2022-49777-4bb0a8b8","digest":{"line_hashes":["165997784966620767200747342454087683327","109138320864869906483036549960607244010","139322547180444917898011550620550228154","39512725094707987462611161193417016778","158663820577917667719273412625863676072","11940032374164137416779659884150245233","116167058819895285574906639239988999798","138840286036063230041728325670458661276","206652113844784924468956429930470856179","99460623604773269635802479527767296827","189976093510708220889733893241847785178","136933803656618004734873685184977502412"],"threshold":0.9},"target":{"file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f25add5ecf88de0f8ff2b27b6c0731a1f1b38ed","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-5ec4fd5f","digest":{"length":136,"function_hash":"85139102908076992113977634667019184474"},"target":{"function":"i8042_remove","file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4f348b60c79671eee33c1389efe89109c93047da","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-5f8b20e4","digest":{"length":599,"function_hash":"249651849818427345501521501771406559594"},"target":{"function":"i8042_probe","file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a32cd7feb0127bf629a82686b6e2c128139a86e5","signature_version":"v1","deprecated":false,"signature_type":"Line","id":"CVE-2022-49777-6db6e452","digest":{"line_hashes":["165997784966620767200747342454087683327","109138320864869906483036549960607244010","139322547180444917898011550620550228154","39512725094707987462611161193417016778","158663820577917667719273412625863676072","11940032374164137416779659884150245233","116167058819895285574906639239988999798","138840286036063230041728325670458661276","206652113844784924468956429930470856179","99460623604773269635802479527767296827","189976093510708220889733893241847785178","136933803656618004734873685184977502412"],"threshold":0.9},"target":{"file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a32cd7feb0127bf629a82686b6e2c128139a86e5","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-74d8feee","digest":{"length":136,"function_hash":"85139102908076992113977634667019184474"},"target":{"function":"i8042_remove","file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81df118e79b2136b5c016394f67a051dc508b7b6","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-7af05f7f","digest":{"length":599,"function_hash":"249651849818427345501521501771406559594"},"target":{"function":"i8042_probe","file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5f7f6e63fed9c2ed09725d90059a28907e197e3","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-926815fe","digest":{"length":136,"function_hash":"85139102908076992113977634667019184474"},"target":{"function":"i8042_remove","file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f25add5ecf88de0f8ff2b27b6c0731a1f1b38ed","signature_version":"v1","deprecated":false,"signature_type":"Line","id":"CVE-2022-49777-bb69b97b","digest":{"line_hashes":["165997784966620767200747342454087683327","109138320864869906483036549960607244010","139322547180444917898011550620550228154","39512725094707987462611161193417016778","158663820577917667719273412625863676072","11940032374164137416779659884150245233","116167058819895285574906639239988999798","138840286036063230041728325670458661276","206652113844784924468956429930470856179","99460623604773269635802479527767296827","189976093510708220889733893241847785178","136933803656618004734873685184977502412"],"threshold":0.9},"target":{"file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a32cd7feb0127bf629a82686b6e2c128139a86e5","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-d4b27fd2","digest":{"length":599,"function_hash":"249651849818427345501521501771406559594"},"target":{"function":"i8042_probe","file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5f7f6e63fed9c2ed09725d90059a28907e197e3","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-d5b1a794","digest":{"length":599,"function_hash":"249651849818427345501521501771406559594"},"target":{"function":"i8042_probe","file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81cd7e8489278d28794e7b272950c3e00c344e44","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-de06af79","digest":{"length":599,"function_hash":"249651849818427345501521501771406559594"},"target":{"function":"i8042_probe","file":"drivers/input/serio/i8042.c"}},{"source":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81cd7e8489278d28794e7b272950c3e00c344e44","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2022-49777-e5a78f7a","digest":{"length":136,"function_hash":"85139102908076992113977634667019184474"},"target":{"function":"i8042_remove","file":"drivers/input/serio/i8042.c"}}]}}],"schema_version":"1.7.3"}