{
  "threat_severity" : "Moderate",
  "public_date" : "2026-05-06T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: Linux kernel dpaa2-switch: Kernel memory corruption via out-of-bounds write",
    "id" : "2467090",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2467090"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.7",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-787",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\ndpaa2-switch: validate num_ifs to prevent out-of-bounds write\nThe driver obtains sw_attr.num_ifs from firmware via dpsw_get_attributes()\nbut never validates it against DPSW_MAX_IF (64). This value controls\niteration in dpaa2_switch_fdb_get_flood_cfg(), which writes port indices\ninto the fixed-size cfg->if_id[DPSW_MAX_IF] array. When firmware reports\nnum_ifs >= 64, the loop can write past the array bounds.\nAdd a bound check for num_ifs in dpaa2_switch_init().\ndpaa2_switch_fdb_get_flood_cfg() appends the control interface (port\nnum_ifs) after all matched ports. When num_ifs == DPSW_MAX_IF and all\nports match the flood filter, the loop fills all 64 slots and the control\ninterface write overflows by one entry.\nThe check uses >= because num_ifs == DPSW_MAX_IF is also functionally\nbroken.\nbuild_if_id_bitmap() silently drops any ID >= 64:\nif (id[i] < DPSW_MAX_IF)\nbmap[id[i] / 64] |= ...", "A flaw was found in the Linux kernel dpaa2-switch driver. This out-of-bounds write vulnerability occurs because the driver does not validate the num_ifs value reported by the firmware against the DPSW_MAX_IF limit. A highly privileged attacker, capable of influencing the DPAA2 firmware or management complex attributes, could exploit this to trigger kernel memory corruption through flood configuration handling." ],
  "statement" : "A flaw in the Linux kernel dpaa2-switch driver allows an out-of-bounds write when a firmware-reported num_ifs value is not validated against DPSW_MAX_IF. A highly privileged attacker able to influence the DPAA2 firmware or management complex attributes could trigger kernel memory corruption through flood configuration handling. For the CVSS the PR:H is used because the vulnerable value originates from firmware/device attributes rather than from an unprivileged local or remote user-controlled input.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "release_date" : "2026-05-28T00:00:00Z",
    "advisory" : "RHSA-2026:21557",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10.2",
    "package" : "kernel-0:6.12.0-211.18.1.el10_2"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-43205\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-43205\nhttps://lore.kernel.org/linux-cve-announce/2026050647-CVE-2026-43205-3180@gregkh/T" ],
  "name" : "CVE-2026-43205",
  "mitigation" : {
    "value" : "To mitigate this issue, prevent module fsl-dpaa2-eth from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.",
    "lang" : "en:us"
  },
  "csaw" : false
}