CVE-2026-64545 (GCVE-0-2026-64545)

Vulnerability from cvelistv5 – Published: 2026-07-27 20:10 – Updated: 2026-07-27 20:10
VLAI
Title
net, bpf: check master for NULL in xdp_master_redirect()
Summary
In the Linux kernel, the following vulnerability has been resolved: net, bpf: check master for NULL in xdp_master_redirect() xdp_master_redirect() dereferences the result of netdev_master_upper_dev_get_rcu() without a NULL check, but that helper returns NULL when the receiving device has no upper-master adjacency. The reach guard only checks netif_is_bond_slave(). On bond slave release bond_upper_dev_unlink() drops the upper-master adjacency before clearing IFF_SLAVE, so an XDP_TX reaching xdp_master_redirect() in that window still passes netif_is_bond_slave() while master is already NULL, and faults on master->flags at offset 0xb0: BUG: kernel NULL pointer dereference, address: 00000000000000b0 RIP: 0010:xdp_master_redirect (net/core/filter.c:4432) Call Trace: xdp_master_redirect (net/core/filter.c:4432) bpf_prog_run_generic_xdp (include/net/xdp.h:700) do_xdp_generic (net/core/dev.c:5608) __netif_receive_skb_one_core (net/core/dev.c:6204) process_backlog (net/core/dev.c:6319) __napi_poll (net/core/dev.c:7729) net_rx_action (net/core/dev.c:7792) handle_softirqs (kernel/softirq.c:622) __dev_queue_xmit (include/linux/bottom_half.h:33) packet_sendmsg (net/packet/af_packet.c:3082) __sys_sendto (net/socket.c:2252) Kernel panic - not syncing: Fatal exception in interrupt The missing check dates back to the original code; commit 1921f91298d1 ("net, bpf: fix null-ptr-deref in xdp_master_redirect() for down master") later added the master->flags read where the fault now lands but kept the unconditional deref. Check master for NULL before use; a NULL master is treated the same as one that is not up.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7 , < c99ca049e910d61ddbd28cc2c47242f2bfbb4970 (git)
Affected: 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7 , < e2a56441233131fe18a76001de347ecda217e40c (git)
Affected: 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7 , < 3876318ea54e83eb70982b8280a3c5e4e32269bf (git)
Affected: 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7 , < 4edbcacca09f92b85d3951b6add11894b20a84bc (git)
Affected: 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7 , < 03b743586a2469744e96e9c1015096d07240935d (git)
Affected: 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7 , < 89c103d702b25ceb2d097faf854deb47b53b17ff (git)
Affected: 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7 , < e82d8cc4321c373dc46e741cd2dfdaa7921fddb7 (git)
Create a notification for this product.
Linux Linux Affected: 5.15
Unaffected: 0 , < 5.15 (semver)
Unaffected: 5.15.212 , ≤ 5.15.* (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/core/filter.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c99ca049e910d61ddbd28cc2c47242f2bfbb4970",
              "status": "affected",
              "version": "879af96ffd72706c6e3278ea6b45b0b0e37ec5d7",
              "versionType": "git"
            },
            {
              "lessThan": "e2a56441233131fe18a76001de347ecda217e40c",
              "status": "affected",
              "version": "879af96ffd72706c6e3278ea6b45b0b0e37ec5d7",
              "versionType": "git"
            },
            {
              "lessThan": "3876318ea54e83eb70982b8280a3c5e4e32269bf",
              "status": "affected",
              "version": "879af96ffd72706c6e3278ea6b45b0b0e37ec5d7",
              "versionType": "git"
            },
            {
              "lessThan": "4edbcacca09f92b85d3951b6add11894b20a84bc",
              "status": "affected",
              "version": "879af96ffd72706c6e3278ea6b45b0b0e37ec5d7",
              "versionType": "git"
            },
            {
              "lessThan": "03b743586a2469744e96e9c1015096d07240935d",
              "status": "affected",
              "version": "879af96ffd72706c6e3278ea6b45b0b0e37ec5d7",
              "versionType": "git"
            },
            {
              "lessThan": "89c103d702b25ceb2d097faf854deb47b53b17ff",
              "status": "affected",
              "version": "879af96ffd72706c6e3278ea6b45b0b0e37ec5d7",
              "versionType": "git"
            },
            {
              "lessThan": "e82d8cc4321c373dc46e741cd2dfdaa7921fddb7",
              "status": "affected",
              "version": "879af96ffd72706c6e3278ea6b45b0b0e37ec5d7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/core/filter.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.15"
            },
            {
              "lessThan": "5.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2-rc1",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet, bpf: check master for NULL in xdp_master_redirect()\n\nxdp_master_redirect() dereferences the result of\nnetdev_master_upper_dev_get_rcu() without a NULL check, but that helper\nreturns NULL when the receiving device has no upper-master adjacency.\n\nThe reach guard only checks netif_is_bond_slave(). On bond slave release\nbond_upper_dev_unlink() drops the upper-master adjacency before clearing\nIFF_SLAVE, so an XDP_TX reaching xdp_master_redirect() in that window\nstill passes netif_is_bond_slave() while master is already NULL, and\nfaults on master-\u003eflags at offset 0xb0:\n\n  BUG: kernel NULL pointer dereference, address: 00000000000000b0\n  RIP: 0010:xdp_master_redirect (net/core/filter.c:4432)\n  Call Trace:\n   xdp_master_redirect (net/core/filter.c:4432)\n   bpf_prog_run_generic_xdp (include/net/xdp.h:700)\n   do_xdp_generic (net/core/dev.c:5608)\n   __netif_receive_skb_one_core (net/core/dev.c:6204)\n   process_backlog (net/core/dev.c:6319)\n   __napi_poll (net/core/dev.c:7729)\n   net_rx_action (net/core/dev.c:7792)\n   handle_softirqs (kernel/softirq.c:622)\n   __dev_queue_xmit (include/linux/bottom_half.h:33)\n   packet_sendmsg (net/packet/af_packet.c:3082)\n   __sys_sendto (net/socket.c:2252)\n  Kernel panic - not syncing: Fatal exception in interrupt\n\nThe missing check dates back to the original code; commit 1921f91298d1\n(\"net, bpf: fix null-ptr-deref in xdp_master_redirect() for down master\")\nlater added the master-\u003eflags read where the fault now lands but kept the\nunconditional deref. Check master for NULL before use; a NULL master is\ntreated the same as one that is not up."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-27T20:10:36.659Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c99ca049e910d61ddbd28cc2c47242f2bfbb4970"
        },
        {
          "url": "https://git.kernel.org/stable/c/e2a56441233131fe18a76001de347ecda217e40c"
        },
        {
          "url": "https://git.kernel.org/stable/c/3876318ea54e83eb70982b8280a3c5e4e32269bf"
        },
        {
          "url": "https://git.kernel.org/stable/c/4edbcacca09f92b85d3951b6add11894b20a84bc"
        },
        {
          "url": "https://git.kernel.org/stable/c/03b743586a2469744e96e9c1015096d07240935d"
        },
        {
          "url": "https://git.kernel.org/stable/c/89c103d702b25ceb2d097faf854deb47b53b17ff"
        },
        {
          "url": "https://git.kernel.org/stable/c/e82d8cc4321c373dc46e741cd2dfdaa7921fddb7"
        }
      ],
      "title": "net, bpf: check master for NULL in xdp_master_redirect()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64545",
    "datePublished": "2026-07-27T20:10:36.659Z",
    "dateReserved": "2026-07-19T15:36:31.795Z",
    "dateUpdated": "2026-07-27T20:10:36.659Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64545\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-27T21:17:07.130\",\"lastModified\":\"2026-07-27T21:17:07.130\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet, bpf: check master for NULL in xdp_master_redirect()\\n\\nxdp_master_redirect() dereferences the result of\\nnetdev_master_upper_dev_get_rcu() without a NULL check, but that helper\\nreturns NULL when the receiving device has no upper-master adjacency.\\n\\nThe reach guard only checks netif_is_bond_slave(). On bond slave release\\nbond_upper_dev_unlink() drops the upper-master adjacency before clearing\\nIFF_SLAVE, so an XDP_TX reaching xdp_master_redirect() in that window\\nstill passes netif_is_bond_slave() while master is already NULL, and\\nfaults on master-\u003eflags at offset 0xb0:\\n\\n  BUG: kernel NULL pointer dereference, address: 00000000000000b0\\n  RIP: 0010:xdp_master_redirect (net/core/filter.c:4432)\\n  Call Trace:\\n   xdp_master_redirect (net/core/filter.c:4432)\\n   bpf_prog_run_generic_xdp (include/net/xdp.h:700)\\n   do_xdp_generic (net/core/dev.c:5608)\\n   __netif_receive_skb_one_core (net/core/dev.c:6204)\\n   process_backlog (net/core/dev.c:6319)\\n   __napi_poll (net/core/dev.c:7729)\\n   net_rx_action (net/core/dev.c:7792)\\n   handle_softirqs (kernel/softirq.c:622)\\n   __dev_queue_xmit (include/linux/bottom_half.h:33)\\n   packet_sendmsg (net/packet/af_packet.c:3082)\\n   __sys_sendto (net/socket.c:2252)\\n  Kernel panic - not syncing: Fatal exception in interrupt\\n\\nThe missing check dates back to the original code; commit 1921f91298d1\\n(\\\"net, bpf: fix null-ptr-deref in xdp_master_redirect() for down master\\\")\\nlater added the master-\u003eflags read where the fault now lands but kept the\\nunconditional deref. Check master for NULL before use; a NULL master is\\ntreated the same as one that is not up.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/core/filter.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"879af96ffd72706c6e3278ea6b45b0b0e37ec5d7\",\"lessThan\":\"c99ca049e910d61ddbd28cc2c47242f2bfbb4970\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"879af96ffd72706c6e3278ea6b45b0b0e37ec5d7\",\"lessThan\":\"e2a56441233131fe18a76001de347ecda217e40c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"879af96ffd72706c6e3278ea6b45b0b0e37ec5d7\",\"lessThan\":\"3876318ea54e83eb70982b8280a3c5e4e32269bf\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"879af96ffd72706c6e3278ea6b45b0b0e37ec5d7\",\"lessThan\":\"4edbcacca09f92b85d3951b6add11894b20a84bc\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"879af96ffd72706c6e3278ea6b45b0b0e37ec5d7\",\"lessThan\":\"03b743586a2469744e96e9c1015096d07240935d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"879af96ffd72706c6e3278ea6b45b0b0e37ec5d7\",\"lessThan\":\"89c103d702b25ceb2d097faf854deb47b53b17ff\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"879af96ffd72706c6e3278ea6b45b0b0e37ec5d7\",\"lessThan\":\"e82d8cc4321c373dc46e741cd2dfdaa7921fddb7\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/core/filter.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.15\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.15\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.212\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.178\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/03b743586a2469744e96e9c1015096d07240935d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3876318ea54e83eb70982b8280a3c5e4e32269bf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4edbcacca09f92b85d3951b6add11894b20a84bc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/89c103d702b25ceb2d097faf854deb47b53b17ff\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c99ca049e910d61ddbd28cc2c47242f2bfbb4970\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e2a56441233131fe18a76001de347ecda217e40c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e82d8cc4321c373dc46e741cd2dfdaa7921fddb7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…