CVE-2022-48883: net/mlx5e: IPoIB, Block PKEY interfaces with less rx queues than parent

Published Aug 21, 2024
·
Updated

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

9 affected componentsFixes available
Linux Kernel
Linux Linux kernel>=5.17<6.1.7
Linux Linux kernel=6.2-rc1
Linux Linux kernel=6.2-rc2
Linux Linux kernel=6.2-rc3
debian/linux<6.1.7-1
6.1.7-1
debian/linux<6.1.7-1
6.1.7-1
debian/linux<6.1.7-1
6.1.7-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.7-1
  2. Upgrade

    Upgrade debian/linux to 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
  3. 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

Aug 21, 2024
CVE Published
via MITRE·06:10 AM
Data Sourced
via MITRE·06:10 AM
DescriptionSeverity
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·07:15 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-48883?

CVE-2022-48883 is classified as a medium severity vulnerability affecting the Linux kernel.

2

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.

3

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.

4

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.

5

What components are impacted by CVE-2022-48883?

CVE-2022-48883 specifically impacts the net/mlx5e and IPoIB components of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203