The Patching Friars' AlmanacA calendar of CVE saints

October 16

ret2dirHoly card for ret2dir, generated with AI (Claude, Anthropic) for the Lunario dei Frati Patchatori.CC BY-NC-SA 4.0 physmap ret2dir REDI AD DIRECTUM
🤖 Image and text generated with AI

⬇ Download holy card: ·

Embed on your site

Saint ret2dir, Who Returned to Direct Memory

Patron of Linux kernels, SMEP and SMAP protections, and pages that live two lives.

Life

Presented in 2014 by Vasileios Kemerlis, Michalis Polychronakis and Angelos Keromytis of Columbia University, ret2dir showed that the Linux kernel maps all of physical memory into a region called physmap. So every user page had a double in kernel space, and an exploit could jump into it, stepping over SMEP, SMAP, PXN and the other barriers between kernel and user. The authors proved it by rewriting exploits for old kernel bugs, and proposed a defence called XPFO.

Prayer

O Saint ret2dir, who finds copies of our rooms in the kernel's house, let every page live in one place only. Amen.

How to celebrate

Celebrated with a kernel that keeps physmap non-executable and randomised, while wondering where else our data lives.

Two houses, two doors to lock.

Technical record

Disclosed on
October 16 2014
CVE
CVE-2013-0268CVE-2013-2094CVE-2013-1763CVE-2010-4258CVE-2010-3904CVE-2010-3437CVE-2010-3301CVE-2010-2959
CVSS
8.4Actively exploited (CISA KEV)
Product
Linux · Kernel

The msr_open function in arch/x86/kernel/msr.c in the Linux kernel before 3.7.6 allows local users to bypass intended capability restrictions by executing a crafted application as root, as demonstrated by msr32.c.

Sources: blackhat.com · blackhat.com · blackhat.com

Also remembered today

Shortcuts: ← → to move, D day, W week, M month, T today.

📅 Add to your calendar

SaintsGoogle CalendarApple, Outlook (.ics)

Observances (feasts, scourges and miracles)Google CalendarApple, Outlook (.ics)

In Google Calendar you can also paste the URL in Settings → Add calendar → From URL. The first sync can take a few hours.