CVE-2024-35819

soc: fsl: qbman: Use raw spinlock for cgr_lock

State
Published
Severity
Not scored
Published
May 17, 2024
Updated
May 23, 2026
Reserved
May 17, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 96f413f47677366e0ae03797409bfcc4151dbf9e to before 2b3fede8225133671ce837c0d284804aa3bc7a02Affected
  • 96f413f47677366e0ae03797409bfcc4151dbf9e to before ff50716b7d5b7985979a5b21163cd79fb3d21d59Affected
  • 96f413f47677366e0ae03797409bfcc4151dbf9e to before 32edca2f03a6cc42c650ddc3ad83d086e3f365d1Affected
  • 96f413f47677366e0ae03797409bfcc4151dbf9e to before 9a3ca8292ce9fdcce122706c28c3f07bc857fe5eAffected
  • 96f413f47677366e0ae03797409bfcc4151dbf9e to before d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14Affected
  • 96f413f47677366e0ae03797409bfcc4151dbf9e to before 54d26adf64c04f186098b39dba86b86037084baaAffected
  • 96f413f47677366e0ae03797409bfcc4151dbf9e to before f39d36b7540cf0088ed7ce2de2794f2aa237f6dfAffected
  • 96f413f47677366e0ae03797409bfcc4151dbf9e to before cd53a8ae5aacb4ecd25088486dea1cd02e74b506Affected
  • 96f413f47677366e0ae03797409bfcc4151dbf9e to before fbec4e7fed89b579f2483041fabf9650fb0dd6bcAffected
  • a85c525bbff4d7467d7f0ab6fed8e2f787b073d6Affected
  • 29cd9c2d1f428c281962135ea046a9d7bda88d14Affected
  • 5b10a404419f0532ef3ba990c12bebe118adb6d7Affected
  • 4.9.92 to before 4.10Affected
  • 4.14.32 to before 4.15Affected
  • 4.15.15 to before 4.16Affected
LinuxLinux
  • 4.16Affected
  • before 4.16Not affected
  • 4.19.312 through 4.19.*Not affected
  • 5.4.274 through 5.4.*Not affected
  • 5.10.215 through 5.10.*Not affected
  • 5.15.154 through 5.15.*Not affected
  • 6.1.84 through 6.1.*Not affected
  • 6.6.24 through 6.6.*Not affected
  • 6.7.12 through 6.7.*Not affected
  • 6.8.3 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.