CVE-2024-35819

soc: fsl: qbman: Use raw spinlock for cgr_lock

published May 17, 2024

CVSS
—
EPSS
0%
Percentile
13.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00234 · 13.5th percentile
Published
2024-05-17T13:23Z
EPSS history
Timeline
  • 17 MAY 13:23Z
    soc: fsl: qbman: Use raw spinlock for cgr_lock
    cvelistv5