SecurityContext

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

  • Cve: CVE-2024-38545
  • Name: Linux Kernel - Use After Free
  • Description: In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix UAF for cq async event The refcount of CQ is not protected by locks. When CQ asynchronous events and CQ destruction are concurrent, CQ may have been released, which will cause UAF. Use the xa_lock() to protect the CQ refcount.
  • Impact: Potential system crashes or instability due to use-after-free vulnerability when CQ is accessed after being freed.
  • Remediation: Apply the patch that uses xa_lock() to protect the CQ refcount, update to the latest kernel version including this fix.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service
  • Requirements: Exploit requires concurrent CQ events and destruction
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00252
  • Epss percentile: 0.16729
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-06-19T14:15:14Z
  • Age in days: 888
  • Modified at: 2026-08-04T11:18:42Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-38545
  • 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: requirement type, hackerone

Cwe

IdName
CWE-416Use After Free

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/330c825e66ef65278e4ebe57fd49c1d6f3f4e34e
https://git.kernel.org/stable/c/37a7559dc1358a8d300437e99ed8ecdab0671507
https://git.kernel.org/stable/c/39d26cf46306bdc7ae809ecfdbfeff5aa1098911
https://git.kernel.org/stable/c/63da190eeb5c9d849b71f457b15b308c94cbaf08
https://git.kernel.org/stable/c/763780ef0336a973e933e40e919339381732dcaf
https://git.kernel.org/stable/c/a942ec2745ca864cd8512142100e4027dc306a42

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.9, < 6.9.3; >= 6.7, < 6.8.12; >= 6.2, < 6.6.33; >= 5.16, < 6.1.93; >= 4.9, < 5.15.168nonvd/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