# CVE-2022-48932: net/mlx5: DR, Fix slab-out-of-bounds in mlx5_cmd_dr_create_fte

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2024-08-22T03:31:25.989Z
- Modified: 2026-08-05T08:52:59.108Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: DR, Fix slab-out-of-bounds in mlx5_cmd_dr_create_fte

When adding a rule with 32 destinations, we hit the following out-of-band
access issue:

  BUG: KASAN: slab-out-of-bounds in mlx5_cmd_dr_create_fte+0x18ee/0x1e70

This patch fixes the issue by both increasing the allocated buffers to
accommodate for the needed actions and by checking the number of actions
to prevent this issue when a rule with too many actions is provided.

(As written by CVE List.)

## Affected

- Linux Linux: from 1ffd498901c1134a7cbecf5409e12c064c39cef9 before 4ad319cdfbe555b4ff67bc608736c46a6930c848; from 1ffd498901c1134a7cbecf5409e12c064c39cef9 before 0aec12d97b2036af0946e3d582144739860ac07b; 5.16 (not affected: before 5.16; from 5.16.12 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 5.16 before 5.16.12

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/4ad319cdfbe555b4ff67bc608736c46a6930c848> (patch)
- <https://git.kernel.org/stable/c/0aec12d97b2036af0946e3d582144739860ac07b> (patch)

## Sources

- CVE List: [CVE-2022-48932](https://www.cve.org/CVERecord?id=CVE-2022-48932), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-48932](https://nvd.nist.gov/vuln/detail/CVE-2022-48932), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-48932 · Whole record: https://cve.day/CVE-2022-48932.json · Rebuilt by cve.day 2026-11-25T22:58:19.970Z
