CVE-2022-48932

published 22 Aug 2024 · updated 5 Aug 2026

net/mlx5: DR, Fix slab-out-of-bounds in mlx5_cmd_dr_create_fte

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0aec12d97b2036af0946e3d582144739860ac07b and Kernel 4ad319cdfbe555b4ff67bc608736c46a6930c848.

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: DR, Fix slab-out-of-bounds in mlx5_cmd_dr_create_fte When adding a rule with 32 destinations, we hit the following out-of-band access issue: BUG: KASAN: slab-out-of-bounds in mlx5_cmd_dr_create_fte+0x18ee/0x1e70 This patch fixes the issue by both increasing the allocated buffers to accommodate for the needed actions and by checking the number of actions to prevent this issue when a rule with too many actions is provided.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.16, >=1ffd498901c1134a7cbecf5409e12c064c39cef9 <0aec12d97b2036af0946e3d582144739860ac07b, >=1ffd498901c1134a7cbecf5409e12c064c39cef9 <4ad319cdfbe555b4ff67bc608736c46a6930c8480aec12d97b2036af0946e3d582144739860ac07b, 4ad319cdfbe555b4ff67bc608736c46a6930c848

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-48932 severity on Zeptric[![CVE-2022-48932](https://zeptric.io/badge/cve/CVE-2022-48932.svg)](https://zeptric.io/cve/CVE-2022-48932)