# CVE-2023-52760: gfs2: Fix slab-use-after-free in gfs2_qd_dealloc

- 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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-05-21T15:30:46.427Z
- Modified: 2026-08-05T09:11:15.944Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

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

In gfs2_put_super(), whether withdrawn or not, the quota should
be cleaned up by gfs2_quota_cleanup().

Otherwise, struct gfs2_sbd will be freed before gfs2_qd_dealloc (rcu
callback) has run for all gfs2_quota_data objects, resulting in
use-after-free.

Also, gfs2_destroy_threads() and gfs2_quota_cleanup() is already called
by gfs2_make_fs_ro(), so in gfs2_put_super(), after calling
gfs2_make_fs_ro(), there is no need to call them again.

(As written by CVE List.)

## Affected

- Linux Linux: from f66af88e33212b57ea86da2c5d66c0d9d5c46344 before 08a28272faa750d4357ea2cb48d2baefd778ea81; from f66af88e33212b57ea86da2c5d66c0d9d5c46344 before bdcb8aa434c6d36b5c215d02a9ef07551be25a37; 6.6 (not affected: before 6.6; from 6.6.3 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: before 6.1.97; from 6.2 before 6.6.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/08a28272faa750d4357ea2cb48d2baefd778ea81> (patch)
- <https://git.kernel.org/stable/c/bdcb8aa434c6d36b5c215d02a9ef07551be25a37> (patch)
- <https://git.kernel.org/stable/c/7ad4e0a4f61c57c3ca291ee010a9d677d0199fba> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

Page: https://cve.day/CVE-2023-52760 · Whole record: https://cve.day/CVE-2023-52760.json · Rebuilt by cve.day 2026-11-25T22:58:34.005Z
