# CVE-2024-49956: gfs2: fix double destroy_workqueue error

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-10-21T18:02:10.385Z
- Modified: 2026-08-05T11:40:40.767Z
- Weaknesses: CWE-476
- 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 double destroy_workqueue error

When gfs2_fill_super() fails, destroy_workqueue() is called within
gfs2_gl_hash_clear(), and the subsequent code path calls
destroy_workqueue() on the same work queue again.

This issue can be fixed by setting the work queue pointer to NULL after
the first destroy_workqueue() call and checking for a NULL pointer
before attempting to destroy the work queue again.

(As written by CVE List.)

## Affected

- Linux Linux: from 30e388d573673474cbd089dec83688331c117add before a5336035728d77efd76306940d742a6f23debe68; from 30e388d573673474cbd089dec83688331c117add before 6cb9df81a2c462b89d2f9611009ab43ae8717841; 6.11 (not affected: before 6.11; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.11 before 6.11.3

## Every score

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

## References

- <https://git.kernel.org/stable/c/a5336035728d77efd76306940d742a6f23debe68> (patch)
- <https://git.kernel.org/stable/c/6cb9df81a2c462b89d2f9611009ab43ae8717841> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-49956 · Whole record: https://cve.day/CVE-2024-49956.json · Rebuilt by cve.day 2026-11-25T22:58:47.064Z
