CVE-2024-35819
soc: fsl: qbman: Use raw spinlock for cgr_lock
Check your servers for CVE-2024-35819
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-35819 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:
soc: fsl: qbman: Use raw spinlock for cgr_lock
smp_call_function always runs its callback in hard IRQ context, even on PREEMPT_RT, where spinlocks can sleep. So we need to use a raw spinlock for cgr_lock to ensure we aren't waiting on a sleeping task.
Although this bug has existed for a while, it was not apparent until commit ef2a8d5478b9 ("net: dpaa: Adjust queue depth on rate change") which invokes smp_call_function_single via qman_update_cgr_safe every time a link goes up or down.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 17 Jun 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 96f413f47677366e0ae03797409bfcc4151dbf9e, before 2b3fede8225133671ce837c0d284804aa3bc7a02 affected from 96f413f47677366e0ae03797409bfcc4151dbf9e, before ff50716b7d5b7985979a5b21163cd79fb3d21d59 affected from 96f413f47677366e0ae03797409bfcc4151dbf9e, before 32edca2f03a6cc42c650ddc3ad83d086e3f365d1 affected from 96f413f47677366e0ae03797409bfcc4151dbf9e, before 9a3ca8292ce9fdcce122706c28c3f07bc857fe5e affected from 96f413f47677366e0ae03797409bfcc4151dbf9e, before d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14 affected from 96f413f47677366e0ae03797409bfcc4151dbf9e, before 54d26adf64c04f186098b39dba86b86037084baa affected from 96f413f47677366e0ae03797409bfcc4151dbf9e, before f39d36b7540cf0088ed7ce2de2794f2aa237f6df affected from 96f413f47677366e0ae03797409bfcc4151dbf9e, before cd53a8ae5aacb4ecd25088486dea1cd02e74b506 affected from 96f413f47677366e0ae03797409bfcc4151dbf9e, before fbec4e7fed89b579f2483041fabf9650fb0dd6bc affected a85c525bbff4d7467d7f0ab6fed8e2f787b073d6 affected 29cd9c2d1f428c281962135ea046a9d7bda88d14 affected 5b10a404419f0532ef3ba990c12bebe118adb6d7 affected from 4.9.92, before 4.10 affected from 4.14.32, before 4.15 affected from 4.15.15, before 4.16
Other versions: unaffected
|
| Linux |
affected 4.16 unaffected before 4.16 unaffected from 4.19.312 up to and including 4.19.* unaffected from 5.4.274 up to and including 5.4.* unaffected from 5.10.215 up to and including 5.10.* unaffected from 5.15.154 up to and including 5.15.* unaffected from 6.1.84 up to and including 6.1.* unaffected from 6.6.24 up to and including 6.6.* unaffected from 6.7.12 up to and including 6.7.* unaffected from 6.8.3 up to and including 6.8.* unaffected 6.9 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-35819 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35819
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-35819
trivy image --scanners vuln IMAGE | grep CVE-2024-35819
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/2b3fede8225133671ce837c0d284804aa3bc7a02 git.kernel.org
- https://git.kernel.org/stable/c/ff50716b7d5b7985979a5b21163cd79fb3d21d59 git.kernel.org
- https://git.kernel.org/stable/c/32edca2f03a6cc42c650ddc3ad83d086e3f365d1 git.kernel.org
- https://git.kernel.org/stable/c/9a3ca8292ce9fdcce122706c28c3f07bc857fe5e git.kernel.org
- https://git.kernel.org/stable/c/d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14 git.kernel.org
- https://git.kernel.org/stable/c/54d26adf64c04f186098b39dba86b86037084baa git.kernel.org
- https://git.kernel.org/stable/c/f39d36b7540cf0088ed7ce2de2794f2aa237f6df git.kernel.org
- https://git.kernel.org/stable/c/cd53a8ae5aacb4ecd25088486dea1cd02e74b506 git.kernel.org
- https://git.kernel.org/stable/c/fbec4e7fed89b579f2483041fabf9650fb0dd6bc git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
Source: the record CVE-2024-35819 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