CVE-2024-50157
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom 2ad4e6303a6d7518632739eaf67821a3553db1bd before 7998e7efd1d557af118ac96f48ebc569b929b555, from 2ad4e6303a6d7518632739eaf67821a3553db1bd before 2fb6b2e82413e401b72dfeacd7a60416fcfc5b41, from 2ad4e6303a6d7518632739eaf67821a3553db1bd before 8be3e5b0c96beeefe9d5486b96575d104d3e7d17, 6.6
Not affected: before 6.6, from 6.6.75 up to 6.6.*, from 6.11.6 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelfrom 6.6 before 6.11.6, 6.12NVD

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: RDMA/bnxt_re: Evitar bloqueos de CPU debido al bucle de comprobación de ocupación fifo El controlador espera indefinidamente a que la ocupación fifo baje de un umbral tan pronto como se recibe la interrupción de ritmo. Esto puede provocar un bloqueo suave en uno de los procesadores, si la tasa de DB es muy alta. Agregue un recuento de bucles para FPGA y salga de __wait_for_fifo_occupancy_below_th si el bucle está tomando más tiempo. El ritmo continuará hasta que la ocupación esté por debajo del umbral. Esto se garantiza mediante las comprobaciones en bnxt_re_pacing_timer_exp y la programación adicional del trabajo para el ritmo en función de la ocupación fifo.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-50157 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-50157 changed 2026-06-17Public domain