CVE-2026-45861 PUBLISHED

gfs2: Fix slab-use-after-free in qd_put

Assigner: Linux
Reserved: 13.05.2026 Published: 27.05.2026 Updated: 27.05.2026

In the Linux kernel, the following vulnerability has been resolved:

gfs2: Fix slab-use-after-free in qd_put

Commit a475c5dd16e5 ("gfs2: Free quota data objects synchronously") started freeing quota data objects during filesystem shutdown instead of putting them back onto the LRU list, but it failed to remove these objects from the LRU list, causing LRU list corruption. This caused use-after-free when the shrinker (gfs2_qd_shrink_scan) tried to access already-freed objects on the LRU list.

Fix this by removing qd objects from the LRU list before freeing them in qd_put().

Initial fix from Deepanshu Kartikey kartikey406@gmail.com.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from a475c5dd16e57c570113eccba51955b5df8bb052 to ca7c67bdd293089b3483f18886d6b2d0037d2ad9 (excl.)
  • affected from a475c5dd16e57c570113eccba51955b5df8bb052 to 1d47922b98046b8070a77347fb883a6523792803 (excl.)
  • affected from a475c5dd16e57c570113eccba51955b5df8bb052 to 80fff26d7a0c3926b511661c27eecc811a420eef (excl.)
  • affected from a475c5dd16e57c570113eccba51955b5df8bb052 to 22150a7d401d9e9169b9b68e05bed95f7f49bf69 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.6 is affected
  • unaffected from 0 to 6.6 (excl.)
  • unaffected from 6.12.75 to 6.12.* (incl.)
  • unaffected from 6.18.14 to 6.18.* (incl.)
  • unaffected from 6.19.4 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References