CVE-2022-48883
HIGH 7.8CVSS 3.1In 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.
- Published
- 21 Aug 2024
- Last modified
- 4 Aug 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-129
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.17, < 6.1.7 | 6.1.7 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:* |
= 6.2 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:* |
= 6.2 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:* |
= 6.2 |
References
- https://git.kernel.org/stable/c/31c70bfe58ef09fe36327ddcced9143a16e9e83d · Patch
- https://git.kernel.org/stable/c/5844a46f09f768da866d6b0ffbf1a9073266bf24 · Patch
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 21 Aug 2024)