Read the docs
TI-2026-38316 Aliases CVE-2026-53230GHSA-pw9r-h2m6-6vvg

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

Priority LOW 37CWE-787Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · Low · High
Fix status
Partial Red Hat: 4 fixed, 4 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00126 2nd percentileScored 2026-11-07
Fix Partial Linux (Linux): 6.1.191, 6.6.143, 6.12.94 +3Red Hat: 2 advisoriesRed Hat: 4 fixed, 4 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux4.5 and later6.1.191, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1Patch availableCNA
  • Linux VendorLinux Affected 4.5 and later Fixed in 6.1.191, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1 Patch available CNA

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*4.5 to before 6.6.143; 6.7 to before 6.12.94; 6.13 to before 6.18.36; 6.19 to before 7.0.13VulnerableLinux
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*7.1 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*7.1 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*7.1 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*7.1 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*7.1 rc5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*7.1 rc6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:*7.1 rc7VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.5 to before 6.6.143; 6.7 to before 6.12.94; 6.13 to before 6.18.36; 6.19 to before 7.0.13 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* Versions 7.1 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* Versions 7.1 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* Versions 7.1 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* Versions 7.1 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* Versions 7.1 rc5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* Versions 7.1 rc6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:* Versions 7.1 rc7 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1

Red Hat 2 advisories

  • RHSA-2026:75747 Released 2026-10-05 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.171.1.el8_10, kernel-4.18.0-553.171.1.el8_10, kernel-abi-stablelists-4.18.0-553.171.1.el8_10 +19
    • Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.171.1.el8_10
  • RHSA-2026:75746 Released 2026-10-05 · Red Hat rating Important
    kernel-rt security, bug fix, and enhancement update
    • Red Hat Enterprise Linux NFV (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-debug-4.18.0-553.171.1.rt7.512.el8_10 +9
    • 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-debug-4.18.0-553.171.1.rt7.512.el8_10 +7

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix yet
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2026:75747
Red Hat Enterprise Linux CRB (v. 8)Fixed RHSA-2026:75747
Red Hat Enterprise Linux NFV (v. 8)Fixed RHSA-2026:75746
Red Hat Enterprise Linux RT (v. 8)Fixed RHSA-2026:75746

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-53230
  2. 2026-10-03 Alias added: GHSA-pw9r-h2m6-6vvg
  3. 2026-10-05 Fix available: RHSA-2026:75746 · Red Hat
  4. 2026-10-05 Fix available: RHSA-2026:75747 · Red Hat
  5. 2026-10-05 Fix available: Red Hat Enterprise Linux BaseOS (v. 8), Red Hat Enterprise Linux CRB (v. 8), Red Hat Enterprise Linux NFV (v. 8) +1 · Red Hat
  6. 2026-10-16 CISA SSVC decision points changed
  7. 2026-10-19 Weakness changed · CISA ADP
  8. 2026-10-30 Fix available: Linux/[email protected], Linux/Linux@87149f3e53f3839454b837f87a2ec7c926775a6a · CNA
  9. 2026-10-30 1 new reference · CNA

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources