CVE-2024-35819

soc: fsl: qbman: Use raw spinlock for cgr_lock

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 01:23 PM UTC
Updated: June 17, 2026 at 07:35 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 4.14.32v ≥ 4.15.15v ≥ 4.9.924.14.32 ≤ v < 4.154.15.15 ≤ v < 4.164.16 ≤ v < 4.19.3124.16 ≤ v < 5.10.2154.16 ≤ v < 5.15.1544.16 ≤ v < 5.4.2744.16 ≤ v < 6.1.844.16 ≤ v < 6.6.244.16 ≤ v < 6.7.124.16 ≤ v < 6.8.34.16 ≤ v < 6.94.16.1 ≤ v < 4.19.3124.20 ≤ v < 5.4.2744.9.92 ≤ v < 4.105.11 ≤ v < 5.15.1545.16 ≤ v < 6.1.845.5 ≤ v < 5.10.2156.2 ≤ v < 6.6.246.7 ≤ v < 6.7.126.8 ≤ v < 6.8.329cd9c2d1f428c281962135ea046a9d7bda88d144.14.324.15.154.164.16 rc74.9.925b10a404419f0532ef3ba990c12bebe118adb6d796f413f47677366e0ae03797409bfcc4151dbf9ea85c525bbff4d7467d7f0ab6fed8e2f787b073d6
Vendor states this is fixed in 2b3fede8225133671ce837c0d284804aa3bc7a02 (fixed)
Vendor states this is fixed in 32edca2f03a6cc42c650ddc3ad83d086e3f365d1 (fixed)
Vendor states this is fixed in 54d26adf64c04f186098b39dba86b86037084baa (fixed)
Vendor states this is fixed in 9a3ca8292ce9fdcce122706c28c3f07bc857fe5e (fixed)
Vendor states this is fixed in cd53a8ae5aacb4ecd25088486dea1cd02e74b506 (fixed)
Vendor states this is fixed in d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14 (fixed)
Vendor states this is fixed in f39d36b7540cf0088ed7ce2de2794f2aa237f6df (fixed)
Vendor states this is fixed in fbec4e7fed89b579f2483041fabf9650fb0dd6bc (fixed)
Vendor states this is fixed in ff50716b7d5b7985979a5b21163cd79fb3d21d59 (fixed)
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.15, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.16 (unaffected)
Vendor states this is fixed in 4.19.312 (unaffected)
Vendor states this is fixed in 5.10.215 (unaffected)
Vendor states this is fixed in 5.15.154 (unaffected)
Vendor states this is fixed in 5.4.274 (unaffected)
Vendor states this is fixed in 6.1.84 (unaffected)
Vendor states this is fixed in 6.6.24 (unaffected)
Vendor states this is fixed in 6.7.12 (unaffected)
Vendor states this is fixed in 6.8.3 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2b3fede8225133671ce837c0d284804aa3bc7a02
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/32edca2f03a6cc42c650ddc3ad83d086e3f365d1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/54d26adf64c04f186098b39dba86b86037084baa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9a3ca8292ce9fdcce122706c28c3f07bc857fe5e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cd53a8ae5aacb4ecd25088486dea1cd02e74b506
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f39d36b7540cf0088ed7ce2de2794f2aa237f6df
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fbec4e7fed89b579f2483041fabf9650fb0dd6bc

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card