soc: fsl: qbman: Use raw spinlock for cgr_lock
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ff50716b7d5b7985979a5b21163cd79fb3d21d59, Kernel 4.15, Kernel 4.16 and 17 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=96f413f47677366e0ae03797409bfcc4151dbf9e <ff50716b7d5b7985979a5b21163cd79fb3d21d59, >=4.14.32 <4.15, >=4.15.15 <4.16, >=4.9.92 <4.10, >=96f413f47677366e0ae03797409bfcc4151dbf9e <2b3fede8225133671ce837c0d284804aa3bc7a02, >=96f413f47677366e0ae03797409bfcc4151dbf9e <32edca2f03a6cc42c650ddc3ad83d086e3f365d1, >=96f413f47677366e0ae03797409bfcc4151dbf9e <54d26adf64c04f186098b39dba86b86037084baa, >=96f413f47677366e0ae03797409bfcc4151dbf9e <9a3ca8292ce9fdcce122706c28c3f07bc857fe5e, >=96f413f47677366e0ae03797409bfcc4151dbf9e <cd53a8ae5aacb4ecd25088486dea1cd02e74b506, >=96f413f47677366e0ae03797409bfcc4151dbf9e <d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14, >=96f413f47677366e0ae03797409bfcc4151dbf9e <f39d36b7540cf0088ed7ce2de2794f2aa237f6df, >=96f413f47677366e0ae03797409bfcc4151dbf9e <fbec4e7fed89b579f2483041fabf9650fb0dd6bc, =29cd9c2d1f428c281962135ea046a9d7bda88d14, =4.16, =5b10a404419f0532ef3ba990c12bebe118adb6d7, =a85c525bbff4d7467d7f0ab6fed8e2f787b073d6 | ff50716b7d5b7985979a5b21163cd79fb3d21d59, 4.15, 4.16, 4.10, 2b3fede8225133671ce837c0d284804aa3bc7a02, 32edca2f03a6cc42c650ddc3ad83d086e3f365d1, 54d26adf64c04f186098b39dba86b86037084baa, 9a3ca8292ce9fdcce122706c28c3f07bc857fe5e, cd53a8ae5aacb4ecd25088486dea1cd02e74b506, d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14, f39d36b7540cf0088ed7ce2de2794f2aa237f6df, fbec4e7fed89b579f2483041fabf9650fb0dd6bc |
| linux-kernel: Kernel | >=4.15.15 <4.16, >=4.16.0 <4.19.312, >=4.20.0 <5.4.274, >=4.9.92 <4.10, >=5.11.0 <5.15.154, >=5.16.0 <6.1.84, >=5.5.0 <5.10.215, >=6.2.0 <6.6.24, >=6.7.0 <6.7.12, >=6.8.0 <6.8.3, >=4.14.32 <4.15 | 4.16, 4.19.312, 5.4.274, 4.10, 5.15.154, 6.1.84, 5.10.215, 6.6.24, 6.7.12, 6.8.3, 4.15 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket