SecurityContext

CVE-2024-49956: Linux Kernel - Use After Free

  • Cve: CVE-2024-49956
  • Name: Linux Kernel - Use After Free
  • 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.
  • Impact: Potential for privilege escalation or system instability due to double destruction of workqueue.
  • Remediation: Set work queue pointer to NULL after first destroy_workqueue() call and check for NULL before second call.
  • Vulnerability type: use_after_free
  • Vulnerability impact: privilege_escalation, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00219
  • Epss percentile: 0.1227
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-10-21T18:15:16Z
  • Age in days: 764
  • Modified at: 2026-08-04T11:21:01Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-49956
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

References

UrlSourceTags
https://git.kernel.org/stable/c/6cb9df81a2c462b89d2f9611009ab43ae8717841nvdPatch
https://git.kernel.org/stable/c/a5336035728d77efd76306940d742a6f23debe68nvdPatch

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.11, < 6.11.3nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports