The Patching Friars' AlmanacA calendar of CVE saints

July 22

RefluXFSHoly card for refluxfs, generated with AI (Claude, Anthropic) for the Lunario dei Frati Patchatori.CC BY-NC-SA 4.0 XFS RefluXFS REFLUIT IN ALIENUM
🤖 Image and text generated with AI

⬇ Download holy card: ·

☀ Commemorated today: The Miracle of the Universal Key (2021)

Embed on your site

Saint RefluXFS, Who Refluxed Into the Files You Read

Patron of the XFS filesystem, copy-on-write, and locks released a moment too long.

Life

In July 2026 Saeed Abbasi of Qualys revealed RefluXFS (CVE-2026-64600), a race condition in the XFS reflink path. By releasing and reacquiring the lock, the file mappings went stale, and a local user could thus overwrite the on-disk contents of any readable file, /etc/passwd included, to become root. The flaw had been in the kernel since 2017 and hit many distributions with an XFS root by default.

Prayer

O Saint RefluXFS, who refluxes your data into other people's files, teach our filesystems to re-read the mappings after every pause. Amen.

How to celebrate

Celebrated by updating the kernel with the 16 July 2026 patch and checking whether your root really is XFS with reflink.

Release the lock an instant, and the map has already changed.

Technical record

Disclosed on
July 22 2026
CVE
CVE-2026-64600
CVSS
7.8
Product
Linux · Linux

In the Linux kernel, the following vulnerability has been resolved: xfs: resample the data fork mapping after cycling ILOCK xfs_reflink_fill_{cow_hole,delalloc} are both presented with an inode, a data fork mapping, and a cow fork mapping. Unfortunately, these two helpers cycle the ILOCK to grab a transaction, which means that the mappings are stale as soon as we reacquire the ILOCK. Currently we refresh the cow fork mapping by re-calling xfs_find_trim_cow_extent, but we don't refresh the data fork mapping beforehand, which means that the xfs_bmap_trim_cow in that function queries the refcount btree about the wrong physical blocks and returns an inaccurate value in *shared. If *shared is now false, the directio write proceeds with a stale data fork mapping. Fix this by querying the data fork mapping if the sequence counter changes across the ILOCK cycle.

Sources: blog.qualys.com · cdn2.qualys.com

Commemorated today

Also remembered today

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

📅 Add to your calendar

Saints:Google CalendarApple, Outlook and others (.ics)

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

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