CVE-2024-49956 gfs2: fix double destroy_workqueue error
A double destroy_workqueue error in the Linux kernel GFS2 filesystem can lead to a null pointer dereference and system crash.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-49956?
CVE-2024-49956 is a high-severity vulnerability in Linux kernel, published on 21 Oct 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2024-49956?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-49956?
Apply the vendor's patch.
Is CVE-2024-49956 being exploited?
There is no known exploitation of CVE-2024-49956 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-49956, DEBIAN-CVE-2024-49956, GHSA-cpwp-j2f3-rxq9, UBUNTU-CVE-2024-49956.