VDB

CVE-2026-43205

CVE-2026-43205 PUBLISHED

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

Reported by linux · Published May 6, 2026

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] |= ...

EPSS 0.14% · 3.2th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf-debuginfoerrata.rockylinux.org6.12.0-211.18.1.el10

Risk scores

EPSS Score
0.14%
3.2th percentile

Affected products

VendorProductVersions
LinuxLinux539dda3c5d190c5088b5e57944b1b482fcb464de, 539dda3c5d190c5088b5e57944b1b482fcb464de, 539dda3c5d190c5088b5e57944b1b482fcb464de
LinuxLinux5.13, 0, 5.15.202
linuxlinux_kernel5.13, 5.13, 5.13
LinuxLinux539dda3c5d190c5088b5e57944b1b482fcb464de, 539dda3c5d190c5088b5e57944b1b482fcb464de, 539dda3c5d190c5088b5e57944b1b482fcb464de

Timeline

  • May 6, 2026 CVE Published
  • May 6, 2026 Security Advisory (96 in total, the first dated here)
  • May 11, 2026 CVE Updated
  • May 18, 2026 EPSS Score (27 in total, the first dated here)
  • May 28, 2026 Distribution Patch (92 in total, the first dated here)
  • Aug 4, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-43205
vulnetix vdb fixes CVE-2026-43205

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-43205/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›