{"api_version":"1","generated_at":"2026-05-06T18:22:29+00:00","cve":"CVE-2026-43205","urls":{"html":"https://cve.report/CVE-2026-43205","api":"https://cve.report/api/cve/CVE-2026-43205.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-43205","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-43205"},"summary":{"title":"dpaa2-switch: validate num_ifs to prevent out-of-bounds write","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndpaa2-switch: validate num_ifs to prevent out-of-bounds write\n\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.\n\nAdd a bound check for num_ifs in dpaa2_switch_init().\n\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.\n\nThe check uses >= because num_ifs == DPSW_MAX_IF is also functionally\nbroken.\n\nbuild_if_id_bitmap() silently drops any ID >= 64:\n      if (id[i] < DPSW_MAX_IF)\n          bmap[id[i] / 64] |= ...","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-06 12:16:39","updated_at":"2026-05-06 13:07:51"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/8b841fd529db9faf8bc678d429d4bf4e98b10900","name":"https://git.kernel.org/stable/c/8b841fd529db9faf8bc678d429d4bf4e98b10900","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b690635d4719214892855b79ce018d4b1672ac96","name":"https://git.kernel.org/stable/c/b690635d4719214892855b79ce018d4b1672ac96","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/89764cf44544e943230f5e03b8c40a90da26537c","name":"https://git.kernel.org/stable/c/89764cf44544e943230f5e03b8c40a90da26537c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a3034a8d56174dd6464c46823438f25797910a8d","name":"https://git.kernel.org/stable/c/a3034a8d56174dd6464c46823438f25797910a8d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8a5752c6dcc085a3bfc78589925182e4e98468c5","name":"https://git.kernel.org/stable/c/8a5752c6dcc085a3bfc78589925182e4e98468c5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c18493f750208eb4ff1198fc5a02786b8b2d70a6","name":"https://git.kernel.org/stable/c/c18493f750208eb4ff1198fc5a02786b8b2d70a6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a26dda3bae469c8e4e1b1993ad33dafa32d0fc28","name":"https://git.kernel.org/stable/c/a26dda3bae469c8e4e1b1993ad33dafa32d0fc28","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-43205","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43205","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 539dda3c5d190c5088b5e57944b1b482fcb464de a26dda3bae469c8e4e1b1993ad33dafa32d0fc28 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 539dda3c5d190c5088b5e57944b1b482fcb464de a3034a8d56174dd6464c46823438f25797910a8d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 539dda3c5d190c5088b5e57944b1b482fcb464de b690635d4719214892855b79ce018d4b1672ac96 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 539dda3c5d190c5088b5e57944b1b482fcb464de 8b841fd529db9faf8bc678d429d4bf4e98b10900 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 539dda3c5d190c5088b5e57944b1b482fcb464de 89764cf44544e943230f5e03b8c40a90da26537c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 539dda3c5d190c5088b5e57944b1b482fcb464de c18493f750208eb4ff1198fc5a02786b8b2d70a6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 539dda3c5d190c5088b5e57944b1b482fcb464de 8a5752c6dcc085a3bfc78589925182e4e98468c5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.202 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.165 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.128 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.75 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.16 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.6 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a26dda3bae469c8e4e1b1993ad33dafa32d0fc28","status":"affected","version":"539dda3c5d190c5088b5e57944b1b482fcb464de","versionType":"git"},{"lessThan":"a3034a8d56174dd6464c46823438f25797910a8d","status":"affected","version":"539dda3c5d190c5088b5e57944b1b482fcb464de","versionType":"git"},{"lessThan":"b690635d4719214892855b79ce018d4b1672ac96","status":"affected","version":"539dda3c5d190c5088b5e57944b1b482fcb464de","versionType":"git"},{"lessThan":"8b841fd529db9faf8bc678d429d4bf4e98b10900","status":"affected","version":"539dda3c5d190c5088b5e57944b1b482fcb464de","versionType":"git"},{"lessThan":"89764cf44544e943230f5e03b8c40a90da26537c","status":"affected","version":"539dda3c5d190c5088b5e57944b1b482fcb464de","versionType":"git"},{"lessThan":"c18493f750208eb4ff1198fc5a02786b8b2d70a6","status":"affected","version":"539dda3c5d190c5088b5e57944b1b482fcb464de","versionType":"git"},{"lessThan":"8a5752c6dcc085a3bfc78589925182e4e98468c5","status":"affected","version":"539dda3c5d190c5088b5e57944b1b482fcb464de","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.13"},{"lessThan":"5.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.202","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.165","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.128","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.75","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.16","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.202","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.165","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.128","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.75","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.16","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.6","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"5.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndpaa2-switch: validate num_ifs to prevent out-of-bounds write\n\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.\n\nAdd a bound check for num_ifs in dpaa2_switch_init().\n\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.\n\nThe check uses >= because num_ifs == DPSW_MAX_IF is also functionally\nbroken.\n\nbuild_if_id_bitmap() silently drops any ID >= 64:\n      if (id[i] < DPSW_MAX_IF)\n          bmap[id[i] / 64] |= ..."}],"providerMetadata":{"dateUpdated":"2026-05-06T11:28:10.270Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a26dda3bae469c8e4e1b1993ad33dafa32d0fc28"},{"url":"https://git.kernel.org/stable/c/a3034a8d56174dd6464c46823438f25797910a8d"},{"url":"https://git.kernel.org/stable/c/b690635d4719214892855b79ce018d4b1672ac96"},{"url":"https://git.kernel.org/stable/c/8b841fd529db9faf8bc678d429d4bf4e98b10900"},{"url":"https://git.kernel.org/stable/c/89764cf44544e943230f5e03b8c40a90da26537c"},{"url":"https://git.kernel.org/stable/c/c18493f750208eb4ff1198fc5a02786b8b2d70a6"},{"url":"https://git.kernel.org/stable/c/8a5752c6dcc085a3bfc78589925182e4e98468c5"}],"title":"dpaa2-switch: validate num_ifs to prevent out-of-bounds write","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-43205","datePublished":"2026-05-06T11:28:10.270Z","dateReserved":"2026-05-01T14:12:55.992Z","dateUpdated":"2026-05-06T11:28:10.270Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-06 12:16:39","lastModifiedDate":"2026-05-06 13:07:51","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"43205","Ordinal":"1","Title":"dpaa2-switch: validate num_ifs to prevent out-of-bounds write","CVE":"CVE-2026-43205","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"43205","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndpaa2-switch: validate num_ifs to prevent out-of-bounds write\n\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.\n\nAdd a bound check for num_ifs in dpaa2_switch_init().\n\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.\n\nThe check uses >= because num_ifs == DPSW_MAX_IF is also functionally\nbroken.\n\nbuild_if_id_bitmap() silently drops any ID >= 64:\n      if (id[i] < DPSW_MAX_IF)\n          bmap[id[i] / 64] |= ...","Type":"Description","Title":"dpaa2-switch: validate num_ifs to prevent out-of-bounds write"}]}}}