# CVE-2026-45861: gfs2: Fix slab-use-after-free in qd_put

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-05-27T12:15:41.057Z
- Modified: 2026-10-21T13:18:57.833Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from a475c5dd16e57c570113eccba51955b5df8bb052 before 53aaf083de197946b25bc4ffa3068d37366ce73d; from a475c5dd16e57c570113eccba51955b5df8bb052 before ca7c67bdd293089b3483f18886d6b2d0037d2ad9; from a475c5dd16e57c570113eccba51955b5df8bb052 before 1d47922b98046b8070a77347fb883a6523792803; from a475c5dd16e57c570113eccba51955b5df8bb052 before 80fff26d7a0c3926b511661c27eecc811a420eef; from a475c5dd16e57c570113eccba51955b5df8bb052 before 22150a7d401d9e9169b9b68e05bed95f7f49bf69; 6.6 (not affected: before 6.6; from 6.6.160 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.6 before 6.12.75; from 6.13 before 6.18.14; from 6.19 before 6.19.4

## References

- <https://git.kernel.org/stable/c/53aaf083de197946b25bc4ffa3068d37366ce73d>
- <https://git.kernel.org/stable/c/ca7c67bdd293089b3483f18886d6b2d0037d2ad9> (patch)
- <https://git.kernel.org/stable/c/1d47922b98046b8070a77347fb883a6523792803> (patch)
- <https://git.kernel.org/stable/c/80fff26d7a0c3926b511661c27eecc811a420eef> (patch)
- <https://git.kernel.org/stable/c/22150a7d401d9e9169b9b68e05bed95f7f49bf69> (patch)

## Sources

- CVE List: [CVE-2026-45861](https://www.cve.org/CVERecord?id=CVE-2026-45861), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-45861](https://nvd.nist.gov/vuln/detail/CVE-2026-45861), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-45861 · Whole record: https://cve.day/CVE-2026-45861.json · Rebuilt by cve.day 2026-11-25T22:59:22.478Z
