Skip to content
Fencer Vulns
high 8.7

CVE-2026-53230 json

net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list

published 2026-06-25 4 mo ago modified 2026-10-30 10 d ago also EUVD-2026-39321

cvss
8.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 2%
public exploits
0
none known

Summary

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.

Patch / fix

  • Linux Linux 6.1.191, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1
  • linux Debian 13 6.12.94-1
  • linux Debian 14 7.0.13-1

debian advisories DEBIAN-CVE-2026-53230

  • linux Ubuntu 24.04 LTS 6.8.0-146.146
  • linux Ubuntu 26.04 LTS 7.0.0-31.31
  • linux-aws Ubuntu 24.04 LTS 6.8.0-1066.69
  • linux-aws Ubuntu 26.04 LTS 7.0.0-1012.12
  • linux-gcp Ubuntu 24.04 LTS 6.8.0-1070.78
  • linux-gcp Ubuntu 26.04 LTS 7.0.0-1011.11
  • linux-gke Ubuntu 24.04 LTS 6.8.0-1065.73
  • linux-gke Ubuntu 26.04 LTS 7.0.0-1006.7

ubuntu advisories UBUNTU-CVE-2026-53230

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 8 4.18.0-553.171.1.el8_10
  • perf RHEL 8 4.18.0-553.171.1.el8_10
  • bpftool RHEL 8 4.18.0-553.171.1.el8_10
  • kernel-core RHEL 8 4.18.0-553.171.1.el8_10
  • kernel-tools RHEL 8 4.18.0-553.171.1.el8_10
  • python3-perf RHEL 8 4.18.0-553.171.1.el8_10
  • kernel-modules RHEL 8 4.18.0-553.171.1.el8_10
  • kernel-zfcpdump RHEL 8 4.18.0-553.171.1.el8_10

red hat advisories RHSA-2026:75747RHSA-2026:75746

  • kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.72.1
  • kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.72.1
  • kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.72.1
  • kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.78.1
  • kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.78.1
  • kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.53.78.1
  • kernel-source SLE Module for Development Tools 15 SP7, SLE Module for Basesystem 15 SP7 6.4.0-150700.53.78.1
  • kernel-default SLE Workstation Extension 15 SP7, SLE Module for Legacy 15 SP7, SLE Module for Basesystem 15 SP7 +2 more 6.4.0-150700.53.78.1

suse advisories SUSE-SU-2026:3810-1SUSE-SU-2026:3790-1SUSE-SU-2026:23244-1SUSE-SU-2026:23241-1SUSE-SU-2026:23194-1SUSE-SU-2026:23193-1

  • kernel-rt openSUSE Leap 16.0 6.12.0-160000.37.1
  • dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.37.1
  • kernel-64kb openSUSE Leap 16.0 6.12.0-160000.37.1
  • kernel-syms openSUSE Leap 16.0 6.12.0-160000.37.1
  • kernel-azure openSUSE Leap 16.0 6.12.0-160000.37.1
  • kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.37.1
  • kernel-source openSUSE Leap 16.0 6.12.0-160000.37.1
  • kernel-default openSUSE Leap 16.0 6.12.0-160000.37.1

opensuse advisories openSUSE-SU-2026:21555-1

  • kernel-rt AlmaLinux 8 4.18.0-553.171.1.rt7.512.el8_10
  • kernel-rt-core AlmaLinux 8 4.18.0-553.171.1.rt7.512.el8_10
  • kernel-rt-modules AlmaLinux 8 4.18.0-553.171.1.rt7.512.el8_10
  • kernel-rt-debug-core AlmaLinux 8 4.18.0-553.171.1.rt7.512.el8_10
  • kernel-rt-debug-modules AlmaLinux 8 4.18.0-553.171.1.rt7.512.el8_10
  • kernel-rt-modules-extra AlmaLinux 8 4.18.0-553.171.1.rt7.512.el8_10
  • kernel-rt-debug-modules-extra AlmaLinux 8 4.18.0-553.171.1.rt7.512.el8_10
  • kernel AlmaLinux 8 4.18.0-553.171.1.el8_10

almalinux advisories ALSA-2026:75746ALSA-2026:75747

  • kernel-rt Rocky Linux 8 4.18.0-553.171.1.rt7.512.el8_10
  • kernel Rocky Linux 8 4.18.0-553.171.1.el8_10

rocky linux advisories RLSA-2026:75746RLSA-2026:75747

  • kernel Azure Linux 3.0 6.6.143.1-1

azure linux advisories AZL-90882

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-53230 updated cvss 7.0

kernel: net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list

  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel
    affected: no fix available
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.171.1.el8_10, kernel 4.18.0-553.171.1.el8_10, bpftool 4.18.0-553.171.1.el8_10, kernel-core 4.18.0-553.171.1.el8_10, kernel-tools 4.18.0-553.171.1.el8_10, python3-perf 4.18.0-553.171.1.el8_10, +15 more Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.171.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.171.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.171.1.el8_10
    fixed: vendor fix RHSA-2026:75747
  • Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.171.1.rt7.512.el8_10, kernel-rt-kvm 4.18.0-553.171.1.rt7.512.el8_10, kernel-rt-core 4.18.0-553.171.1.rt7.512.el8_10, kernel-rt-modules 4.18.0-553.171.1.rt7.512.el8_10, kernel-rt-debug-kvm 4.18.0-553.171.1.rt7.512.el8_10, kernel-rt-debug-core 4.18.0-553.171.1.rt7.512.el8_10, +4 more Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.171.1.rt7.512.el8_10, kernel-rt-core 4.18.0-553.171.1.rt7.512.el8_10, kernel-rt-modules 4.18.0-553.171.1.rt7.512.el8_10, kernel-rt-debug-core 4.18.0-553.171.1.rt7.512.el8_10, kernel-rt-debug-modules 4.18.0-553.171.1.rt7.512.el8_10, kernel-rt-modules-extra 4.18.0-553.171.1.rt7.512.el8_10, +2 more
    fixed: vendor fix RHSA-2026:75746

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
24 d ago

Exploit prediction

0.13% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 8.7 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H

Affected products

  • Linux Linux

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.