CVE-2026-53230net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list
- 8.7HighCVSS base score
- 0.13%Exploitation in 30 daysEPSS · top 98% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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: <TASK> 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 </TASK> 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.
Timeline
ID reserved
By Linux
- 16 days later
· 16 days later
Published
- 4 months later
· 4 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High8.7 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H |
| NVDNVD · Modified | 3.1 | High8.7 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H |
- EPSS (exploitation in 30 days)
- 0.13% · top 98% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.7.
Affected products
- affected e16aea2744abea612c27ee0eef606c6a6a8204de – < 87149f3e53f3839454b837f87a2ec7c926775a6a
- affected e16aea2744abea612c27ee0eef606c6a6a8204de – < 41781f2789309462520a93822e946521ed78f97f
- affected e16aea2744abea612c27ee0eef606c6a6a8204de – < 537d87784e81c3d7037525b99416455cee088cdc
- affected e16aea2744abea612c27ee0eef606c6a6a8204de – < 0f807764bb122fd63aa45f4229cb1ef2679fbd40
- affected e16aea2744abea612c27ee0eef606c6a6a8204de – < 2398e497389ed4be43f7cfbab499b49cec7dae1a
- affected e16aea2744abea612c27ee0eef606c6a6a8204de – < 894e036a24a26a6dd7b17d8d3fb5c53ab48a6074
- affected 4.5
- unaffected < 4.5
- unaffected 6.1.191 – ≤ 6.1.*
- unaffected 6.6.143 – ≤ 6.6.*
- unaffected 6.12.94 – ≤ 6.12.*
- unaffected 6.18.36 – ≤ 6.18.*
- unaffected 7.0.13 – ≤ 7.0.*
- unaffected 7.1 – ≤ *
References
References6
- https://git.kernel.org/stable/c/87149f3e53f3839454b837f87a2ec7c926775a6a (opens in a new tab)
- https://git.kernel.org/stable/c/41781f2789309462520a93822e946521ed78f97f (opens in a new tab)
- https://git.kernel.org/stable/c/537d87784e81c3d7037525b99416455cee088cdc (opens in a new tab)
- https://git.kernel.org/stable/c/0f807764bb122fd63aa45f4229cb1ef2679fbd40 (opens in a new tab)
- https://git.kernel.org/stable/c/2398e497389ed4be43f7cfbab499b49cec7dae1a (opens in a new tab)
- https://git.kernel.org/stable/c/894e036a24a26a6dd7b17d8d3fb5c53ab48a6074 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-39321 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-53230)Record last updated .