CVE-2022-48883: net/mlx5e: IPoIB, Block PKEY interfaces with less rx queues than parent
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 channelstats array: the parent's rx channel index is used to access the child's channelstats. 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.7-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1 - Configuration
Configure PKEY interfaces with an rx queue count no smaller than the parent interface's rx queue count.
Linux kernel net/mlx5e IPoIB PKEY interface rx queues = at least the parent's rx queue size
Event History
Frequently Asked Questions
What is the severity of CVE-2022-48883?
CVE-2022-48883 is classified as a medium severity vulnerability affecting the Linux kernel.
How do I fix CVE-2022-48883?
To mitigate CVE-2022-48883, update to the patched version of the Linux kernel that addresses this vulnerability.
What versions of the Linux kernel are affected by CVE-2022-48883?
CVE-2022-48883 affects various versions of the Linux kernel prior to the release that includes the fix.
Can CVE-2022-48883 lead to system instability?
Yes, CVE-2022-48883 can potentially cause system instability if exploited due to improper queue configuration in the kernel.
What components are impacted by CVE-2022-48883?
CVE-2022-48883 specifically impacts the net/mlx5e and IPoIB components of the Linux kernel.