CVE-2024-50208 RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages

High 7.8 Published Updated

A memory corruption bug in the Linux kernel RDMA driver allows attackers to cause invalid memory access, potentially leading to code execution or system crashes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-50208?

CVE-2024-50208 is a high-severity memory corruption vulnerability in Linux kernel, published on 8 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages

Avoid memory corruption while setting up Level-2 PBL pages for the non MR resources when num_pages > 256K.

There will be a single PDE page address (contiguous pages in the case of > PAGE_SIZE), but, current logic assumes multiple pages, leading to invalid memory access after 256K PBL entries in the PDE.

Weakness: CWE-125

Which versions are affected by CVE-2024-50208?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50208?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-50208 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-53292, AZL-53337, BELL-CVE-2024-50208, DEBIAN-CVE-2024-50208, GHSA-57xx-4r4j-43p7, UBUNTU-CVE-2024-50208.

Is CVE-2024-50208 in your software?

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

Check your SBOMs for free