CVE-2024-50157

Summary

In the Linux kernel, the following vulnerability has been resolved:

RDMA/bnxt_re: Avoid CPU lockups due fifo occupancy check loop

Driver waits indefinitely for the fifo occupancy to go below a threshold as soon as the pacing interrupt is received. This can cause soft lockup on one of the processors, if the rate of DB is very high.

Add a loop count for FPGA and exit the __wait_for_fifo_occupancy_below_th if the loop is taking more time. Pacing will be continuing until the occupancy is below the threshold. This is ensured by the checks in bnxt_re_pacing_timer_exp and further scheduling the work for pacing based on the fifo occupancy.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux2ad4e6303a6d7518632739eaf67821a3553db1bd < 7998e7efd1d557af118ac96f48ebc569b929b555affected
LinuxLinux2ad4e6303a6d7518632739eaf67821a3553db1bd < 2fb6b2e82413e401b72dfeacd7a60416fcfc5b41affected
LinuxLinux2ad4e6303a6d7518632739eaf67821a3553db1bd < 8be3e5b0c96beeefe9d5486b96575d104d3e7d17affected
LinuxLinux6.6affected
LinuxLinux0 < 6.6unaffected
LinuxLinux6.6.75 <= 6.6.*unaffected
LinuxLinux6.11.6 <= 6.11.*unaffected
LinuxLinux6.12 <= *unaffected

Weaknesses

References