CVE-2024-49956

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49956
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49956.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49956
Downstream
Related
Published
2024-10-21T18:02:10Z
Modified
2025-10-17T14:31:56.754956Z
Summary
gfs2: fix double destroy_workqueue error
Details

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

gfs2: fix double destroy_workqueue error

When gfs2fillsuper() fails, destroyworkqueue() is called within gfs2glhashclear(), 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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
30e388d573673474cbd089dec83688331c117add
Fixed
a5336035728d77efd76306940d742a6f23debe68
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
30e388d573673474cbd089dec83688331c117add
Fixed
6cb9df81a2c462b89d2f9611009ab43ae8717841

Affected versions

v6.*

v6.10
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.11.1
v6.11.2

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.11.3