CVE-2024-38780
dma-buf/sw-sync: don't enable IRQ from sync_print_obj()
Check your servers for CVE-2024-38780
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-38780 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
dma-buf/sw-sync: don't enable IRQ from sync_print_obj()
Since commit a6aa8fca4d79 ("dma-buf/sw-sync: Reduce irqsave/irqrestore from known context") by error replaced spin_unlock_irqrestore() with spin_unlock_irq() for both sync_debugfs_show() and sync_print_obj() despite sync_print_obj() is called from sync_debugfs_show(), lockdep complains inconsistent lock state warning.
Use plain spin_{lock,unlock}() for sync_print_obj(), for sync_debugfs_show() is already using spin_{lock,unlock}_irq().
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.72% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a6aa8fca4d792c72947e341d7842d2f700534335, before 1ff116f68560a25656933d5a18e7619cb6773d8a affected from a6aa8fca4d792c72947e341d7842d2f700534335, before 165b25e3ee9333f7b04f8db43895beacb51582ed affected from a6aa8fca4d792c72947e341d7842d2f700534335, before ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8 affected from a6aa8fca4d792c72947e341d7842d2f700534335, before 9d75fab2c14a25553a1664586ed122c316bd1878 affected from a6aa8fca4d792c72947e341d7842d2f700534335, before 242b30466879e6defa521573c27e12018276c33a affected from a6aa8fca4d792c72947e341d7842d2f700534335, before a4ee78244445ab73af22bfc5a5fc543963b25aef affected from a6aa8fca4d792c72947e341d7842d2f700534335, before 8a283cdfc8beeb14024387a925247b563d614e1e affected from a6aa8fca4d792c72947e341d7842d2f700534335, before b794918961516f667b0c745aebdfebbb8a98df39 affected f14ad42b8743897d140808467ed4ae3ce93bd0a5 affected from 4.9.68, before 4.10
Other versions: unaffected
|
| Linux |
affected 4.14 unaffected before 4.14 unaffected from 4.19.316 up to and including 4.19.* unaffected from 5.4.278 up to and including 5.4.* unaffected from 5.10.219 up to and including 5.10.* unaffected from 5.15.161 up to and including 5.15.* unaffected from 6.1.93 up to and including 6.1.* unaffected from 6.6.33 up to and including 6.6.* unaffected from 6.9.4 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-38780 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-38780
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-38780
trivy image --scanners vuln IMAGE | grep CVE-2024-38780
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8a git.kernel.org
- https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582ed git.kernel.org
- https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8 git.kernel.org
- https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878 git.kernel.org
- https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33a git.kernel.org
- https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aef git.kernel.org
- https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1e git.kernel.org
- https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html cert-portal.siemens.com
Source: the record CVE-2024-38780 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse