# CVE-2024-35819: soc: fsl: qbman: Use raw spinlock for cgr\_lock

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-17 · Modified: 2026-05-23
- Aliases: UBUNTU-CVE-2024-35819, DEBIAN-CVE-2024-35819
- Record: https://cvemate.com/vulnerability/CVE-2024-35819 · JSON: https://cvemate.com/vulnerability/CVE-2024-35819/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.234%, percentile 15.348%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 121)

- debian linux (Debian): \< 6.1.85-1 \| \< 6.7.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-189.209 \| \< 5.15.0-116.126 \| \< 6.8.0-35.35
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1128.138 \| \< 5.15.0-1065.71 \| \< 6.8.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1065.71~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1128.138~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1128.138+fips1 \| \< 5.15.0-1065.71+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1133.140 \| \< 5.15.0-1068.77 \| \< 6.8.0-1008.8
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 33)

- <https://git.kernel.org/stable/c/2b3fede8225133671ce837c0d284804aa3bc7a02>
- <https://git.kernel.org/stable/c/ff50716b7d5b7985979a5b21163cd79fb3d21d59>
- <https://git.kernel.org/stable/c/32edca2f03a6cc42c650ddc3ad83d086e3f365d1>
- <https://git.kernel.org/stable/c/9a3ca8292ce9fdcce122706c28c3f07bc857fe5e>
- <https://git.kernel.org/stable/c/d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14>
- <https://git.kernel.org/stable/c/54d26adf64c04f186098b39dba86b86037084baa>
- <https://git.kernel.org/stable/c/f39d36b7540cf0088ed7ce2de2794f2aa237f6df>
- <https://git.kernel.org/stable/c/cd53a8ae5aacb4ecd25088486dea1cd02e74b506>
- <https://git.kernel.org/stable/c/fbec4e7fed89b579f2483041fabf9650fb0dd6bc>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- <https://ubuntu.com/security/CVE-2024-35819>
- <https://www.cve.org/CVERecord?id=CVE-2024-35819>
- <https://git.kernel.org/linus/fbec4e7fed89b579f2483041fabf9650fb0dd6bc>
- <https://ubuntu.com/security/notices/USN-6816-1>
- <https://ubuntu.com/security/notices/USN-6817-1>
- <https://ubuntu.com/security/notices/USN-6817-2>
- <https://ubuntu.com/security/notices/USN-6817-3>
- <https://ubuntu.com/security/notices/USN-6878-1>
- <https://ubuntu.com/security/notices/USN-6896-1>

---

Data as of 2026-12-05T04:22:59.510Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
