VDB

CVE-2024-35819

CVE-2024-35819 PUBLISHED

soc: fsl: qbman: Use raw spinlock for cgr_lock

Reported by linux · Published May 17, 2024

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 products

VendorProductVersions
LinuxLinux96f413f47677366e0ae03797409bfcc4151dbf9e, 96f413f47677366e0ae03797409bfcc4151dbf9e, 96f413f47677366e0ae03797409bfcc4151dbf9e
LinuxLinux4.16, 0, 4.19.312
linuxlinux_kernel4.15.15, 4.16, 4.16
LinuxLinux*, 96f413f47677366e0ae03797409bfcc4151dbf9e, 96f413f47677366e0ae03797409bfcc4151dbf9e

Timeline

  • May 17, 2024 CVE Published
  • May 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 10, 2026 Security Advisory (454 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (349 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-35819
vulnetix vdb fixes CVE-2024-35819

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35819/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›