CVE-2024-57936 RDMA/bnxt_re: Fix max SGEs for the Work Request

Critical 9.8 Published Updated

A mismatch in supported scatter-gather entries in the bnxt_re RDMA driver causes system crashes and traffic failures, requiring a kernel patch.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-57936?

CVE-2024-57936 is a critical denial of service vulnerability in Linux kernel, published on 21 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

RDMA/bnxt_re: Fix max SGEs for the Work Request

Gen P7 supports up to 13 SGEs for now. WQE software structure can hold only 6 now. Since the max send sge is reported as 13, the stack can give requests up to 13 SGEs. This is causing traffic failures and system crashes.

Use the define for max SGE supported for variable size. This will work for both static and variable WQEs.

Which versions are affected by CVE-2024-57936?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-57936?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-57936 being exploited?

There is no known exploitation of CVE-2024-57936 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-57936, DEBIAN-CVE-2024-57936, GHSA-3ppf-39fx-hw97, UBUNTU-CVE-2024-57936.

Is CVE-2024-57936 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free