CVE-2024-35819
Last modified
CVE-2024-35819 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.9.92, < 4.10 |
| Linux | Linux Kernel | >= 4.14.32, < 4.15 |
| Linux | Linux Kernel | >= 4.15.15, < 4.16 |
| Linux | Linux Kernel | >= 4.16.1, < 4.19.312 |
| Linux | Linux Kernel | >= 4.20, < 5.4.274 |
| Linux | Linux Kernel | >= 5.5, < 5.10.215 |
| Linux | Linux Kernel | >= 5.11, < 5.15.154 |
| Linux | Linux Kernel | >= 5.16, < 6.1.84 |
| Linux | Linux Kernel | >= 6.2, < 6.6.24 |
| Linux | Linux Kernel | >= 6.7, < 6.7.12 |
| Linux | Linux Kernel | >= 6.8, < 6.8.3 |
| Linux | Linux Kernel | 4.16 |
| Debian | Debian Linux | 10.0 |
References
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-35819?
How severe is CVE-2024-35819?
How do I fix CVE-2024-35819?
Are you affected by CVE-2024-35819?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
