Files
CVEs-PoC/2021/CVE-2021-47120.md
T
2024-05-25 21:48:12 +02:00

18 lines
929 B
Markdown

### [CVE-2021-47120](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-47120)
![](https://img.shields.io/static/v1?label=Product&message=Linux&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=9d7b18668956%3C%20368c5d45a87e%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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
- https://github.com/NaInSec/CVE-LIST