mirror of
https://github.com/0xMarcio/cve.git
synced 2025-12-30 04:49:42 +00:00
929 B
929 B
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.