Description
cryptodev-linux version 1.14 and prior contain a page reference handling flaw in the get_userbuf function of the /dev/crypto device driver that allows local users to trigger use-after-free conditions. Attackers with access to the /dev/crypto interface can repeatedly decrement reference counts of controlled pages to achieve local privilege escalation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cryptodev-linux | cryptodev-linux | ≤ 1.14 | — |
References
- https://nasm.re/posts/cryptodev-linux-vuln/ technical-description exploit
- https://gist.github.com/n4sm/0fd2479e0c23e0fa2f192cd8fda45750 exploit
- https://github.com/cryptodev-linux/cryptodev-linux/pull/104 issue-tracking patch
- https://www.vulncheck.com/advisories/cryptodev-linux-get-userbuf-use-after-free-lpe third-party-advisory