CVE-2024-57936
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-57936 is a vulnerability discovered in the Linux kernel's RDMA/bnxt_re driver. The issue was identified in January 2025 and relates to a mismatch between the supported number of Scatter-Gather Elements (SGEs) in the Work Request for Gen P7 hardware and the software structure limitations. The vulnerability affects the Linux kernel's RDMA subsystem, specifically the Broadcom NetXtreme driver implementation (Kernel Git).

Technical details

The technical issue stems from a discrepancy where Gen P7 hardware supports up to 13 SGEs, while the Work Queue Entry (WQE) software structure can only handle 6 SGEs. The system reports a maximum of 13 SGEs, causing the stack to accept requests with up to 13 SGEs, despite the software limitation. This mismatch leads to buffer overflow conditions when processing requests with more than 6 SGEs (Kernel Git).

Impact

When exploited, this vulnerability results in traffic failures and system crashes due to the mismatch between reported and actual SGE handling capabilities. The impact primarily affects systems using the Broadcom NetXtreme RDMA driver with Gen P7 hardware (Kernel Git).

Mitigation and workarounds

The issue has been resolved by modifying the driver to use the correct maximum SGE value for variable size operations. The fix involves replacing the hard-coded BNXTQPLIBQPMAXSGL definition with BNXTVARMAX_SGE, ensuring compatibility with both static and variable WQEs. The fix has been incorporated into various Linux kernel versions including 5.10.234-1, 6.1.128-1, and 6.12.17-1 (Debian Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management