CVE-2022-48883

published 21 Aug 2024 · updated 5 Aug 2026

net/mlx5e: IPoIB, Block PKEY interfaces with less rx queues than parent

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 31c70bfe58ef09fe36327ddcced9143a16e9e83d and Kernel 5844a46f09f768da866d6b0ffbf1a9073266bf24.

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: IPoIB, Block PKEY interfaces with less rx queues than parent A user is able to configure an arbitrary number of rx queues when creating an interface via netlink. This doesn't work for child PKEY interfaces because the child interface uses the parent receive channels. Although the child shares the parent's receive channels, the number of rx queues is important for the channel_stats array: the parent's rx channel index is used to access the child's channel_stats. So the array has to be at least as large as the parent's rx queue size for the counting to work correctly and to prevent out of bound accesses. This patch checks for the mentioned scenario and returns an error when trying to create the interface. The error is propagated to the user.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.17, >=be98737a4faa3a0dc1781ced5bbf5c47865e29d7 <31c70bfe58ef09fe36327ddcced9143a16e9e83d, >=be98737a4faa3a0dc1781ced5bbf5c47865e29d7 <5844a46f09f768da866d6b0ffbf1a9073266bf2431c70bfe58ef09fe36327ddcced9143a16e9e83d, 5844a46f09f768da866d6b0ffbf1a9073266bf24

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-48883 severity on Zeptric[![CVE-2022-48883](https://zeptric.io/badge/cve/CVE-2022-48883.svg)](https://zeptric.io/cve/CVE-2022-48883)