CVE-2026-53230
published 2026-06-25CVE-2026-53230: In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list…
PriorityP344high8.7CVSS 3.1
AVLACLPRLUINSCCHILAH
EPSS
0.13%
3.0th percentile
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list
mlx5_query_nic_vport_mac_list() sizes its firmware command buffer using
the PF's log_max_current_uc/mc_list capabilities. When querying a VF
vport with a larger configured max (via devlink), the firmware response
can overflow this buffer:
BUG: KASAN: slab-out-of-bounds in mlx5_query_nic_vport_mac_list+0x453/0x4c0 [mlx5_core]
Read of size 4 at addr ff1100013ffc8a12 by task kworker/u96:2/385
CPU: 12 UID: 0 PID: 385 Comm: kworker/u96:2 Not tainted 7.0.0-rc6+ #1 PREEMPT
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009)
Workqueue: mlx5_esw_wq esw_vport_change_handler [mlx5_core]
Call Trace:
dump_stack_lvl+0x69/0xa0
print_report+0x176/0x4e4
kasan_report+0xc8/0x100
mlx5_query_nic_vport_mac_list+0x453/0x4c0 [mlx5_core]
esw_update_vport_addr_list+0x2e3/0xda0 [mlx5_core]
esw_vport_change_handle_locked+0xa1f/0x1060 [mlx5_core]
esw_vport_change_handler+0x6a/0x90 [mlx5_core]
process_one_work+0x87f/0x15e0
worker_thread+0x62b/0x1020
kthread+0x375/0x490
ret_from_fork+0x4dc/0x810
ret_from_fork_asm+0x11/0x20
Fix by querying the vport's own HCA caps to size the buffer correctly.
Refactor the function to allocate and return the MAC list internally,
removing the caller's dependency on knowing the correct max.
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| linux | linux | — | — |
| linux | linux | >= e16aea2744abea612c27ee0eef606c6a6a8204de < 41781f2789309462520a93822e946521ed78f97f | 41781f2789309462520a93822e946521ed78f97f |
| linux | linux | >= e16aea2744abea612c27ee0eef606c6a6a8204de < 537d87784e81c3d7037525b99416455cee088cdc | 537d87784e81c3d7037525b99416455cee088cdc |
| linux | linux | >= e16aea2744abea612c27ee0eef606c6a6a8204de < 0f807764bb122fd63aa45f4229cb1ef2679fbd40 | 0f807764bb122fd63aa45f4229cb1ef2679fbd40 |
| linux | linux | >= e16aea2744abea612c27ee0eef606c6a6a8204de < 2398e497389ed4be43f7cfbab499b49cec7dae1a | 2398e497389ed4be43f7cfbab499b49cec7dae1a |
| linux | linux | >= e16aea2744abea612c27ee0eef606c6a6a8204de < 894e036a24a26a6dd7b17d8d3fb5c53ab48a6074 | 894e036a24a26a6dd7b17d8d3fb5c53ab48a6074 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 4.5 < 6.6.143 | 6.6.143 |
| linux | linux_kernel | >= 6.13 < 6.18.36 | 6.18.36 |
| linux | linux_kernel | >= 6.19 < 7.0.13 | 7.0.13 |
| linux | linux_kernel | >= 6.7 < 6.12.94 | 6.12.94 |
CVSS provenance
nvdv3.18.7HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H
vendor_redhat7.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list mlx5_query_nic_vport_mac_list() sizes its firmware command buffe
ghsa_unreviewed·2026-06-25
CVE-2026-53230 In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list mlx5_query_nic_vport_mac_list() sizes its firmware command buffe
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list
mlx5_query_nic_vport_mac_list() sizes its firmware command buffer using
the PF's log_max_current_uc/mc_list capabilities. When querying a VF
vport with a larger configured max (via devlink), the firmware response
can overflow this buffer:
BUG: KASAN: slab-out-of-bounds in mlx5_query_nic_vport_mac_list+0x453/0x4c0 [mlx5_core]
Read of size 4 at addr ff1100013ffc8a12 by task kworker/u96:2/385
CPU: 12 UID: 0 PID: 385 Comm: kworker/u96:2 Not tainted 7.0.0-rc6+ #1 PREEMPT
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009)
Workqueue: mlx5_esw_wq esw_vport_change_handler [mlx5_core]
Call Trace:
dump_stack_lvl+0x69/0xa0
print_report+0x176/0x4e4
kasan_report+0xc8
Red Hat
kernel: net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list
vendor_redhat·2026-06-25·CVSS 7.0
CVE-2026-53230 [MEDIUM] CWE-787 kernel: net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list
kernel: net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list
A flaw was found in the Linux kernel's mlx5 driver. The mlx5_query_nic_vport_mac_list function, which handles querying network interface card (NIC) virtual port (vport) MAC addresses, incorrectly sizes its internal buffer. When a Virtual Function (VF) vport is queried with a larger configured maximum, the firmware response can overflow this buffer. This leads to a memory corruption issue, specifically a slab-out-of-bounds error, which could potentially be exploited by an attacker to cause a denial of service or other system instability.
Package: kernel (Red Hat Enterprise Linux 10) - Affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Affecte
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/0f807764bb122fd63aa45f4229cb1ef2679fbd40https://git.kernel.org/stable/c/2398e497389ed4be43f7cfbab499b49cec7dae1ahttps://git.kernel.org/stable/c/41781f2789309462520a93822e946521ed78f97fhttps://git.kernel.org/stable/c/537d87784e81c3d7037525b99416455cee088cdchttps://git.kernel.org/stable/c/894e036a24a26a6dd7b17d8d3fb5c53ab48a6074
2026-06-25
Published