CVE-2022-48883: Linux Kernel - Out of Bounds Read/Write
- Cve: CVE-2022-48883
- Name: Linux Kernel - Out of Bounds Read/Write
- Description: 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.
- Impact: Out-of-bounds access in channel_stats array may lead to kernel panic or memory corruption.
- Remediation: Update to the latest Linux kernel version where this issue is fixed.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0023
- Epss percentile: 0.13832
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2024-08-21T07:15:04Z
- Age in days: 825
- Modified at: 2026-08-04T10:17:25Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-48883
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-129 | Improper Validation of Array Index |
References
| Url | Source | Tags |
|---|---|---|
| https://git.kernel.org/stable/c/31c70bfe58ef09fe36327ddcced9143a16e9e83d | nvd | Patch |
| https://git.kernel.org/stable/c/5844a46f09f768da866d6b0ffbf1a9073266bf24 | nvd | Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | = 6.2 rc1; = 6.2 rc2; = 6.2 rc3; >= 5.17, < 6.1.7 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports