Skip to main content
← All vulnerabilities
CVE-2024-35819

soc: fsl: qbman: Use raw spinlock for cgr_lock

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.10, 4.15, 4.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 4.9.92 · fixed in 4.10; From 4.14.32 · fixed in 4.15; From 4.15.15 · fixed in 4.16

  • Linux Linux

    4.16

References 9

git.kernel.org