{
  "id": "CVE-2026-64545",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64545",
  "published_at": "2026-07-27T20:10:36.659Z",
  "title": "net, bpf: check master for NULL in xdp_master_redirect()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, \u003c c99ca049e910d61ddbd28cc2c47242f2bfbb4970",
          "\u003e= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, \u003c e2a56441233131fe18a76001de347ecda217e40c",
          "\u003e= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, \u003c 3876318ea54e83eb70982b8280a3c5e4e32269bf",
          "\u003e= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, \u003c 4edbcacca09f92b85d3951b6add11894b20a84bc",
          "\u003e= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, \u003c 03b743586a2469744e96e9c1015096d07240935d",
          "\u003e= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, \u003c 89c103d702b25ceb2d097faf854deb47b53b17ff",
          "\u003e= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, \u003c e82d8cc4321c373dc46e741cd2dfdaa7921fddb7"
        ],
        "fixed_in": [
          "c99ca049e910d61ddbd28cc2c47242f2bfbb4970",
          "e2a56441233131fe18a76001de347ecda217e40c",
          "3876318ea54e83eb70982b8280a3c5e4e32269bf",
          "4edbcacca09f92b85d3951b6add11894b20a84bc",
          "03b743586a2469744e96e9c1015096d07240935d",
          "89c103d702b25ceb2d097faf854deb47b53b17ff",
          "e82d8cc4321c373dc46e741cd2dfdaa7921fddb7"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.15"
        ],
        "fixed_in": [
          "0",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.97",
          "6.18.40",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to c99ca049e910d61ddbd28cc2c47242f2bfbb4970 or e2a56441233131fe18a76001de347ecda217e40c or 3876318ea54e83eb70982b8280a3c5e4e32269bf or 4edbcacca09f92b85d3951b6add11894b20a84bc or 03b743586a2469744e96e9c1015096d07240935d or 89c103d702b25ceb2d097faf854deb47b53b17ff or e82d8cc4321c373dc46e741cd2dfdaa7921fddb7 or later.",
      "Upgrade Linux to 0 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
