{"id":"CVE-2026-98806","state":"PUBLISHED","title":"octeontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled\n\nPreviously, BPID assignment under CONFIG_DCB assumed\n`queue_to_pfc_map` was always initialized. For SDP VFs this leads to\ninvalid memory access as it was not initialized.\n\nThis patch adds a NULL check for `queue_to_pfc_map` before\ndereferencing it. Also, simplifies the logic by always assigning a\ndefault BPID first, then conditionally overriding it if CONFIG_DCB is\nenabled and the map exists.","publishedAt":"2026-10-18T15:48:52.707Z","updatedAt":"2026-10-19T09:25:59.674Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"184fb40f731bd3353b0887731f7caba66609e9cd","status":"affected","lessThan":"59fbbded05e559675930fd521b8d62b72828b52d","versionType":"git"},{"version":"184fb40f731bd3353b0887731f7caba66609e9cd","status":"affected","lessThan":"056994563935e049093f100efaad7e63ad113814","versionType":"git"},{"version":"22079d5ae4a33679150f7de89f4107f4e0446886","status":"affected","versionType":"git"},{"version":"6.14.9","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c","drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c","drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c","drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c","drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h"]}],"references":["https://git.kernel.org/stable/c/59fbbded05e559675930fd521b8d62b72828b52d","https://git.kernel.org/stable/c/056994563935e049093f100efaad7e63ad113814"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98806.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98806","state":"PUBLISHED","datePublished":"2026-10-18T15:48:52.707Z","dateUpdated":"2026-10-19T09:25:59.674Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.371Z"},"containers":{"cna":{"title":"octeontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled\n\nPreviously, BPID assignment under CONFIG_DCB assumed\n`queue_to_pfc_map` was always initialized. For SDP VFs this leads to\ninvalid memory access as it was not initialized.\n\nThis patch adds a NULL check for `queue_to_pfc_map` before\ndereferencing it. Also, simplifies the logic by always assigning a\ndefault BPID first, then conditionally overriding it if CONFIG_DCB is\nenabled and the map exists."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"184fb40f731bd3353b0887731f7caba66609e9cd","status":"affected","lessThan":"59fbbded05e559675930fd521b8d62b72828b52d","versionType":"git"},{"version":"184fb40f731bd3353b0887731f7caba66609e9cd","status":"affected","lessThan":"056994563935e049093f100efaad7e63ad113814","versionType":"git"},{"version":"22079d5ae4a33679150f7de89f4107f4e0446886","status":"affected","versionType":"git"},{"version":"6.14.9","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c","drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c","drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c","drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c","drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/59fbbded05e559675930fd521b8d62b72828b52d"},{"url":"https://git.kernel.org/stable/c/056994563935e049093f100efaad7e63ad113814"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:25:59.674Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}