Article 5B4MK Popov: Linux kernel heap quarantine versus use-after-free exploits

Popov: Linux kernel heap quarantine versus use-after-free exploits

by
corbet
from LWN.net on (#5B4MK)
Alexander Popov describeshis kernel heap-quarantine patches designed to protect the systemagainst use-after-free vulnerabilities. "In July 2020, I got an idea of how to break this heap spraying technique for UAF exploitation. In August I found some time to try it out. I extracted the slab freelist quarantine from KASAN functionality and called it SLAB_QUARANTINE.If this feature is enabled, freed allocations are stored in the quarantine queue, where they wait to be actually freed. So there should be no way for them to be instantly reallocated and overwritten by UAF exploits."
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments