CVE-2026-45861

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

State
Published
Severity
7.8 High
Published
May 27, 2026
Updated
Oct 21, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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>.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • a475c5dd16e57c570113eccba51955b5df8bb052 to before 53aaf083de197946b25bc4ffa3068d37366ce73dAffected
  • a475c5dd16e57c570113eccba51955b5df8bb052 to before ca7c67bdd293089b3483f18886d6b2d0037d2ad9Affected
  • a475c5dd16e57c570113eccba51955b5df8bb052 to before 1d47922b98046b8070a77347fb883a6523792803Affected
  • a475c5dd16e57c570113eccba51955b5df8bb052 to before 80fff26d7a0c3926b511661c27eecc811a420eefAffected
  • a475c5dd16e57c570113eccba51955b5df8bb052 to before 22150a7d401d9e9169b9b68e05bed95f7f49bf69Affected
LinuxLinux
  • 6.6Affected
  • before 6.6Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.14 through 6.18.*Not affected
  • 6.19.4 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.