Lucene search

K
cvelistLinuxCVELIST:CVE-2024-35819
HistoryMay 17, 2024 - 1:23 p.m.

CVE-2024-35819 soc: fsl: qbman: Use raw spinlock for cgr_lock

2024-05-1713:23:23
Linux
raw.githubusercontent.com
4
linux kernel
vulnerability
resolved
raw spinlock
cgr_lock
smp_call_function
hard irq context
spinlocks
preempt_rt
sleeping task
bug
commit
net
dpaa
adjust queue depth
rate change
qman_update_cgr_safe
link up
link down

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

12.7%

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.

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

12.7%

Related for CVELIST:CVE-2024-35819