{"api_version":"1","generated_at":"2026-12-04T03:37:01+00:00","cve":"CVE-2026-100024","urls":{"html":"https://cve.report/CVE-2026-100024","api":"https://cve.report/api/cve/CVE-2026-100024.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-100024","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-100024"},"summary":{"title":"bnxt_en: don't leave an XDP program installed when the open fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbnxt_en: don't leave an XDP program installed when the open fails\n\nbnxt_xdp_set() stores the new program and drops the reference on the old\none before reopening the NIC.  If bnxt_open_nic() then fails, ndo_bpf()\nreturns an error with the new program still in bp->xdp_prog.  The caller\ntreats the error as \"nothing was installed\" and drops its own reference,\nso bp->xdp_prog is left pointing at a freed program and the next XDP\nupdate dereferences it:\n\n  BUG: unable to handle page fault for address: ff78ecc80ddd1038\n  RIP: 0010:__bpf_prog_put+0x5/0x80\n  Call Trace:\n   bnxt_xdp_set+0xad/0x1b0 [bnxt_en]\n   dev_xdp_propagate+0x36/0xa0\n   bond_xdp_set+0xeb/0x2d0 [bonding]\n   dev_xdp_install+0x1b1/0x350\n   bpf_xdp_link_update+0xc5/0x1b0\n   link_update+0x104/0x1e0\n   __sys_bpf+0x662/0xcf0\n\nSeen on a 6.12 based kernel after bnxt_alloc_mem() failed an order-4\nallocation on a fragmented host:\n\n  bnxt_en 0000:a0:00.1 ens4f1np1: nic open fail (rc: fffffff4)\n  bond1: (slave ens4f1np1): Error -12 calling ndo_bpf\n\nBonding is not required to hit this; a plain XDP attach on a bnxt\ninterface takes the same path.\n\nRestore the previous program when an attach or a replace fails, and\nrecompute the page-mode and XDP TX ring configuration from it.  The\nconfiguration matters because bnxt_init_one_rx_ring() only assigns\nrxr->xdp_prog in page mode, and __bnxt_set_rx_skb_mode() derives\ndev->max_mtu from the installed program.  Release the old program only\nonce the change has been committed.\n\nA detach is not undone.  dev_xdp_detach_link() clears the core's record\nof the program even when the driver returns an error, so putting the\nprogram back would leave the driver running a program the core has\nalready dropped.  If the reopen fails during a detach, bnxt_xdp_set()\ntherefore returns 0 with the device closed; bnxt_open_nic() has already\nlogged the failure.\n\nFound in a crash dump; the change was not tested on hardware.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:17","updated_at":"2026-11-30 14:17:17"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/c6669e9d4d2eb4540d0749db4707c06d4b770237","name":"https://git.kernel.org/stable/c/c6669e9d4d2eb4540d0749db4707c06d4b770237","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cefdb9e57ac0067918c8c9f8424f495304766a82","name":"https://git.kernel.org/stable/c/cefdb9e57ac0067918c8c9f8424f495304766a82","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/78731b46967e3e7102b5cd5062bef185f3404b5c","name":"https://git.kernel.org/stable/c/78731b46967e3e7102b5cd5062bef185f3404b5c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7aef64156a6b78cdf6a1dc2b73a709f173c0cc1c","name":"https://git.kernel.org/stable/c/7aef64156a6b78cdf6a1dc2b73a709f173c0cc1c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/90d4cad8854fb79d6a5e1860f75f8dfab032fc9b","name":"https://git.kernel.org/stable/c/90d4cad8854fb79d6a5e1860f75f8dfab032fc9b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1cf920ef0ba00bf754cd7aca4d67965a344300fd","name":"https://git.kernel.org/stable/c/1cf920ef0ba00bf754cd7aca4d67965a344300fd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/04ffad0d08eb55c6b2d458c861d9f912444ebbfd","name":"https://git.kernel.org/stable/c/04ffad0d08eb55c6b2d458c861d9f912444ebbfd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4d3b1a25c3d075a844c3f62171ca4e6d839bf0b0","name":"https://git.kernel.org/stable/c/4d3b1a25c3d075a844c3f62171ca4e6d839bf0b0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-100024","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100024","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6d30e8391b85e00eb544e6cf047ee0160ee9938 4d3b1a25c3d075a844c3f62171ca4e6d839bf0b0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6d30e8391b85e00eb544e6cf047ee0160ee9938 7aef64156a6b78cdf6a1dc2b73a709f173c0cc1c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6d30e8391b85e00eb544e6cf047ee0160ee9938 c6669e9d4d2eb4540d0749db4707c06d4b770237 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6d30e8391b85e00eb544e6cf047ee0160ee9938 1cf920ef0ba00bf754cd7aca4d67965a344300fd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6d30e8391b85e00eb544e6cf047ee0160ee9938 cefdb9e57ac0067918c8c9f8424f495304766a82 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6d30e8391b85e00eb544e6cf047ee0160ee9938 90d4cad8854fb79d6a5e1860f75f8dfab032fc9b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6d30e8391b85e00eb544e6cf047ee0160ee9938 04ffad0d08eb55c6b2d458c861d9f912444ebbfd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6d30e8391b85e00eb544e6cf047ee0160ee9938 78731b46967e3e7102b5cd5062bef185f3404b5c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.11","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * 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/broadcom/bnxt/bnxt_xdp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"4d3b1a25c3d075a844c3f62171ca4e6d839bf0b0","status":"affected","version":"c6d30e8391b85e00eb544e6cf047ee0160ee9938","versionType":"git"},{"lessThan":"7aef64156a6b78cdf6a1dc2b73a709f173c0cc1c","status":"affected","version":"c6d30e8391b85e00eb544e6cf047ee0160ee9938","versionType":"git"},{"lessThan":"c6669e9d4d2eb4540d0749db4707c06d4b770237","status":"affected","version":"c6d30e8391b85e00eb544e6cf047ee0160ee9938","versionType":"git"},{"lessThan":"1cf920ef0ba00bf754cd7aca4d67965a344300fd","status":"affected","version":"c6d30e8391b85e00eb544e6cf047ee0160ee9938","versionType":"git"},{"lessThan":"cefdb9e57ac0067918c8c9f8424f495304766a82","status":"affected","version":"c6d30e8391b85e00eb544e6cf047ee0160ee9938","versionType":"git"},{"lessThan":"90d4cad8854fb79d6a5e1860f75f8dfab032fc9b","status":"affected","version":"c6d30e8391b85e00eb544e6cf047ee0160ee9938","versionType":"git"},{"lessThan":"04ffad0d08eb55c6b2d458c861d9f912444ebbfd","status":"affected","version":"c6d30e8391b85e00eb544e6cf047ee0160ee9938","versionType":"git"},{"lessThan":"78731b46967e3e7102b5cd5062bef185f3404b5c","status":"affected","version":"c6d30e8391b85e00eb544e6cf047ee0160ee9938","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.11"},{"lessThan":"4.11","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"4.11","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbnxt_en: don't leave an XDP program installed when the open fails\n\nbnxt_xdp_set() stores the new program and drops the reference on the old\none before reopening the NIC.  If bnxt_open_nic() then fails, ndo_bpf()\nreturns an error with the new program still in bp->xdp_prog.  The caller\ntreats the error as \"nothing was installed\" and drops its own reference,\nso bp->xdp_prog is left pointing at a freed program and the next XDP\nupdate dereferences it:\n\n  BUG: unable to handle page fault for address: ff78ecc80ddd1038\n  RIP: 0010:__bpf_prog_put+0x5/0x80\n  Call Trace:\n   bnxt_xdp_set+0xad/0x1b0 [bnxt_en]\n   dev_xdp_propagate+0x36/0xa0\n   bond_xdp_set+0xeb/0x2d0 [bonding]\n   dev_xdp_install+0x1b1/0x350\n   bpf_xdp_link_update+0xc5/0x1b0\n   link_update+0x104/0x1e0\n   __sys_bpf+0x662/0xcf0\n\nSeen on a 6.12 based kernel after bnxt_alloc_mem() failed an order-4\nallocation on a fragmented host:\n\n  bnxt_en 0000:a0:00.1 ens4f1np1: nic open fail (rc: fffffff4)\n  bond1: (slave ens4f1np1): Error -12 calling ndo_bpf\n\nBonding is not required to hit this; a plain XDP attach on a bnxt\ninterface takes the same path.\n\nRestore the previous program when an attach or a replace fails, and\nrecompute the page-mode and XDP TX ring configuration from it.  The\nconfiguration matters because bnxt_init_one_rx_ring() only assigns\nrxr->xdp_prog in page mode, and __bnxt_set_rx_skb_mode() derives\ndev->max_mtu from the installed program.  Release the old program only\nonce the change has been committed.\n\nA detach is not undone.  dev_xdp_detach_link() clears the core's record\nof the program even when the driver returns an error, so putting the\nprogram back would leave the driver running a program the core has\nalready dropped.  If the reopen fails during a detach, bnxt_xdp_set()\ntherefore returns 0 with the device closed; bnxt_open_nic() has already\nlogged the failure.\n\nFound in a crash dump; the change was not tested on hardware."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:23:10.787Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/4d3b1a25c3d075a844c3f62171ca4e6d839bf0b0"},{"url":"https://git.kernel.org/stable/c/7aef64156a6b78cdf6a1dc2b73a709f173c0cc1c"},{"url":"https://git.kernel.org/stable/c/c6669e9d4d2eb4540d0749db4707c06d4b770237"},{"url":"https://git.kernel.org/stable/c/1cf920ef0ba00bf754cd7aca4d67965a344300fd"},{"url":"https://git.kernel.org/stable/c/cefdb9e57ac0067918c8c9f8424f495304766a82"},{"url":"https://git.kernel.org/stable/c/90d4cad8854fb79d6a5e1860f75f8dfab032fc9b"},{"url":"https://git.kernel.org/stable/c/04ffad0d08eb55c6b2d458c861d9f912444ebbfd"},{"url":"https://git.kernel.org/stable/c/78731b46967e3e7102b5cd5062bef185f3404b5c"}],"title":"bnxt_en: don't leave an XDP program installed when the open fails","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-100024","datePublished":"2026-11-30T13:23:10.787Z","dateReserved":"2026-09-25T10:25:14.453Z","dateUpdated":"2026-11-30T13:23:10.787Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:17","lastModifiedDate":"2026-11-30 14:17:17","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"100024","Ordinal":"1","Title":"bnxt_en: don't leave an XDP program installed when the open fail","CVE":"CVE-2026-100024","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"100024","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbnxt_en: don't leave an XDP program installed when the open fails\n\nbnxt_xdp_set() stores the new program and drops the reference on the old\none before reopening the NIC.  If bnxt_open_nic() then fails, ndo_bpf()\nreturns an error with the new program still in bp->xdp_prog.  The caller\ntreats the error as \"nothing was installed\" and drops its own reference,\nso bp->xdp_prog is left pointing at a freed program and the next XDP\nupdate dereferences it:\n\n  BUG: unable to handle page fault for address: ff78ecc80ddd1038\n  RIP: 0010:__bpf_prog_put+0x5/0x80\n  Call Trace:\n   bnxt_xdp_set+0xad/0x1b0 [bnxt_en]\n   dev_xdp_propagate+0x36/0xa0\n   bond_xdp_set+0xeb/0x2d0 [bonding]\n   dev_xdp_install+0x1b1/0x350\n   bpf_xdp_link_update+0xc5/0x1b0\n   link_update+0x104/0x1e0\n   __sys_bpf+0x662/0xcf0\n\nSeen on a 6.12 based kernel after bnxt_alloc_mem() failed an order-4\nallocation on a fragmented host:\n\n  bnxt_en 0000:a0:00.1 ens4f1np1: nic open fail (rc: fffffff4)\n  bond1: (slave ens4f1np1): Error -12 calling ndo_bpf\n\nBonding is not required to hit this; a plain XDP attach on a bnxt\ninterface takes the same path.\n\nRestore the previous program when an attach or a replace fails, and\nrecompute the page-mode and XDP TX ring configuration from it.  The\nconfiguration matters because bnxt_init_one_rx_ring() only assigns\nrxr->xdp_prog in page mode, and __bnxt_set_rx_skb_mode() derives\ndev->max_mtu from the installed program.  Release the old program only\nonce the change has been committed.\n\nA detach is not undone.  dev_xdp_detach_link() clears the core's record\nof the program even when the driver returns an error, so putting the\nprogram back would leave the driver running a program the core has\nalready dropped.  If the reopen fails during a detach, bnxt_xdp_set()\ntherefore returns 0 with the device closed; bnxt_open_nic() has already\nlogged the failure.\n\nFound in a crash dump; the change was not tested on hardware.","Type":"Description","Title":"bnxt_en: don't leave an XDP program installed when the open fail"}]}}}