CVE-2026-53230·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.13
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-53230 scores 8.7 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.13
Fixed in: 7.0.13
How to fix this CVE
Update your Linux kernel to version 7.0.13 or later to resolve a slab-out-of-bounds memory access vulnerability in the mlx5 network driver. This vulnerability affects systems using MLX5-compatible network hardware and can be triggered by local users with non-root privileges. Apply the kernel update and reboot your system to ensure the fix takes effect.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (should be 7.0.13 or later, or earlier versions in 6.x stable branches with backports)
- Verify mlx5_core driver is loaded: lsmod | grep mlx5_core (if output exists, the vulnerable component is present)
- Search kernel logs for KASAN errors: sudo dmesg | grep -i 'slab-out-of-bounds\|mlx5_query_nic_vport_mac_list' (exploitation would trigger memory access violations)
- Confirm the fix by checking kernel source: grep -r 'mlx5_query_nic_vport_mac_list' /lib/modules/$(uname -r)/kernel/drivers/net/ethernet/mellanox/ (patched versions will show refactored buffer allocation logic)
FAQ
What is CVE-2026-53230?
This vulnerability is a slab-out-of-bounds memory read in the Linux kernel's MLX5 network driver that occurs when querying MAC address lists on virtual functions with larger configured maximums than the physical function expects. A local attacker with limited privileges can trigger this flaw through the Ethernet switch vport handler, causing kernel memory corruption.
Is CVE-2026-53230 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, the memory corruption aspect makes it a high-priority patch.
What versions of Kernel are affected by CVE-2026-53230?
Linux kernel versions 6.19 through 7.0.12 are affected. The fix is available in kernel 7.0.13 and later, as well as in applicable stable branch backports.
How do I check if my server is vulnerable to CVE-2026-53230?
Run 'uname -r' to check your kernel version. If it shows a version between 6.19 and 7.0.12 and your system has MLX5 hardware (check with 'lsmod | grep mlx5_core'), your system is vulnerable.
Does Defensia detect CVE-2026-53230?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-53230 will appear in your dashboard with remediation steps tailored to your distribution.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0f807764bb122fd63aa45f4229cb1ef2679fbd40
- https://git.kernel.org/stable/c/2398e497389ed4be43f7cfbab499b49cec7dae1a
- https://git.kernel.org/stable/c/41781f2789309462520a93822e946521ed78f97f
- https://git.kernel.org/stable/c/537d87784e81c3d7037525b99416455cee088cdc
- https://git.kernel.org/stable/c/87149f3e53f3839454b837f87a2ec7c926775a6a
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-53230. Free for 1 server.
Get started free