cve/2021/CVE-2021-47120.md
2025-09-29 21:09:30 +02:00

1.1 KiB

CVE-2021-47120

Description

In the Linux kernel, the following vulnerability has been resolved:HID: magicmouse: fix NULL-deref on disconnectCommit 9d7b18668956 ("HID: magicmouse: add support for Apple MagicTrackpad 2") added a sanity check for an Apple trackpad but returnedsuccess instead of -ENODEV when the check failed. This means that theremove callback will dereference the never-initialised driver datapointer when the driver is later unbound (e.g. on USB disconnect).

POC

Reference

No PoCs from references.

Github