{"id":"CVE-2021-47120","published":"2024-03-15T20:14:26Z","modified":"2026-05-11T13:48:26Z","title":"HID: magicmouse: fix NULL-deref on disconnect","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: magicmouse: fix NULL-deref on disconnect\n\nCommit 9d7b18668956 (\"HID: magicmouse: add support for Apple Magic\nTrackpad 2\") added a sanity check for an Apple trackpad but returned\nsuccess instead of -ENODEV when the check failed. This means that the\nremove callback will dereference the never-initialised driver data\npointer when the driver is later unbound (e.g. on USB disconnect).","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00235,"percentile":0.08749,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/368c5d45a87e1bcc7f1e98e0c255c37b7b12c5d6","tags":[]},{"url":"https://git.kernel.org/stable/c/b5d013c4c76b276890135b5d32803c4c63924b77","tags":[]},{"url":"https://git.kernel.org/stable/c/9cf27473f21913a3eaf4702dd2a25415afd5f33f","tags":[]},{"url":"https://git.kernel.org/stable/c/4b4f6cecca446abcb686c6e6c451d4f1ec1a7497","tags":[]}],"priority":{"score":1.7,"factors":[{"name":"EPSS percentile","points":1.75}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9d7b18668956c411a422d04c712994c5fdb23a4b, < 368c5d45a87e1bcc7f1e98e0c255c37b7b12c5d6",">= 9d7b18668956c411a422d04c712994c5fdb23a4b, < b5d013c4c76b276890135b5d32803c4c63924b77",">= 9d7b18668956c411a422d04c712994c5fdb23a4b, < 9cf27473f21913a3eaf4702dd2a25415afd5f33f",">= 9d7b18668956c411a422d04c712994c5fdb23a4b, < 4b4f6cecca446abcb686c6e6c451d4f1ec1a7497"]},{"vendor":"Linux","product":"Linux","versions":["4.20"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-19T15:24:16.763009Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33768","exploited":false,"provenance":"source"}}