Read the docs
TI-2026-31384 Aliases CVE-2026-43205GHSA-v2hq-m36p-4jr3

dpaa2-switch: validate num_ifs to prevent out-of-bounds write

Priority LOW 33CWE-787Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.

Summary

In the Linux kernel, the following vulnerability has been resolved: dpaa2-switch: validate num_ifs to prevent out-of-bounds write The driver obtains sw_attr.num_ifs from firmware via dpsw_get_attributes() but never validates it against DPSW_MAX_IF (64). This value controls iteration in dpaa2_switch_fdb_get_flood_cfg(), which writes port indices into the fixed-size cfg->if_id[DPSW_MAX_IF] array. When firmware reports num_ifs >= 64, the loop can write past the array bounds. Add a bound check for num_ifs in dpaa2_switch_init(). dpaa2_switch_fdb_get_flood_cfg() appends the control interface (port num_ifs) after all matched ports. When num_ifs == DPSW_MAX_IF and all ports match the flood filter, the loop fills all 64 slots and the control interface write overflows by one entry. The check uses >= because num_ifs == DPSW_MAX_IF is also functionally broken. build_if_id_bitmap() silently drops any ID >= 64: if (id[i] < DPSW_MAX_IF) bmap[id[i] / 64] |= ...

Why it matters now

EPSS 0.00139 3rd percentileScored 2026-11-07
Fix Fixed Linux (Linux): 5.15.202, 6.1.165, 6.6.128 +4Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.13 and later5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.16, 6.19.6, 7.0Patch availableCNA
  • Linux VendorLinux Affected 5.13 and later Fixed in 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.16, 6.19.6, 7.0 Patch available CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*5.13 to before 5.15.202; 5.16 to before 6.1.165; 6.2 to before 6.6.128; 6.7 to before 6.12.75; 6.13 to before 6.18.16; 6.19 to before 6.19.6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*7.0 rc1VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.13 to before 5.15.202; 5.16 to before 6.1.165; 6.2 to before 6.6.128; 6.7 to before 6.12.75; 6.13 to before 6.18.16; 6.19 to before 6.19.6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* Versions 7.0 rc1 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.16, 6.19.6, 7.0

Red Hat 1 advisory

  • RHSA-2026:21557 Released 2026-05-28 · Red Hat rating Important
    kernel security update
    • Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-211.18.1.el10_2, kernel-64k-debug-devel-matched-6.12.0-211.18.1.el10_2, kernel-64k-devel-6.12.0-211.18.1.el10_2 +12
    • Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-211.18.1.el10_2, kernel-64k-6.12.0-211.18.1.el10_2, kernel-64k-core-6.12.0-211.18.1.el10_2 +29
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-211.18.1.el10_2, libperf-6.12.0-211.18.1.el10_2
    • Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-211.18.1.el10_2, kernel-rt-64k-6.12.0-211.18.1.el10_2, kernel-rt-64k-core-6.12.0-211.18.1.el10_2 +21
    • Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-211.18.1.el10_2, kernel-rt-core-6.12.0-211.18.1.el10_2, kernel-rt-debug-6.12.0-211.18.1.el10_2 +9

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2026:21557
Red Hat Enterprise Linux BaseOS (v. 10)Fixed RHSA-2026:21557
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)Fixed RHSA-2026:21557
Red Hat Enterprise Linux Real Time (v. 10)Fixed RHSA-2026:21557
Red Hat Enterprise Linux Real Time for NFV (v. 10)Fixed RHSA-2026:21557
Not affected: 4 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-43205
  2. 2026-10-03 Alias added: GHSA-v2hq-m36p-4jr3

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