{"id":"CVE-2026-53069","published":"2026-06-24T16:30:10Z","modified":"2026-10-19T19:47:14Z","title":"net, bpf: fix null-ptr-deref in xdp_master_redirect() for down master","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet, bpf: fix null-ptr-deref in xdp_master_redirect() for down master\n\nsyzkaller reported a kernel panic in bond_rr_gen_slave_id() reached via\nxdp_master_redirect(). Full decoded trace:\n\n  https://syzkaller.appspot.com/bug?extid=80e046b8da2820b6ba73\n\nbond_rr_gen_slave_id() dereferences bond->rr_tx_counter, a per-CPU\ncounter that bonding only allocates in bond_open() when the mode is\nround-robin. If the bond device was never brought up, rr_tx_counter\nstays NULL.\n\nThe XDP redirect path can still reach that code on a bond that was\nnever opened: bpf_master_redirect_enabled_key is a global static key,\nso as soon as any bond device has native XDP attached, the\nXDP_TX -> xdp_master_redirect() interception is enabled for every\nslave system-wide. The path xdp_master_redirect() ->\nbond_xdp_get_xmit_slave() -> bond_xdp_xmit_roundrobin_slave_get() ->\nbond_rr_gen_slave_id() then runs against a bond that has no\nrr_tx_counter and crashes.\n\nFix this in the generic xdp_master_redirect() by refusing to call into\nthe master's ->ndo_xdp_get_xmit_slave() when the master device is not\nup. IFF_UP is only set after ->ndo_open() has successfully returned,\nso this reliably excludes masters whose XDP state has not been fully\ninitialized. Drop the frame with XDP_ABORTED so the exception is\nvisible via trace_xdp_exception() rather than silently falling through.\nThis is not specific to bonding: any current or future master that\ndefers XDP state allocation to ->ndo_open() is protected.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.007,"percentile":0.48676,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/3128b294b426533c8d9162187446d93a8a160359","tags":[]},{"url":"https://git.kernel.org/stable/c/acbf45bd584d924b320bee2a7fe2a26f64904d95","tags":[]},{"url":"https://git.kernel.org/stable/c/866d3d9b87751b1944168fd82615505e0c0fd6cf","tags":[]},{"url":"https://git.kernel.org/stable/c/183128da0406b1c10e6f60b7b9fe70788b9c8c1d","tags":[]},{"url":"https://git.kernel.org/stable/c/7bad93e99737e4a5c0c14ac50c05152cf4e28022","tags":[]},{"url":"https://git.kernel.org/stable/c/ea690b3b6e58ae00979af8195b4cc24df466b65e","tags":[]},{"url":"https://git.kernel.org/stable/c/1921f91298d1388a0bb9db8f83800c998b649cb3","tags":[]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":9.74},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, < 3128b294b426533c8d9162187446d93a8a160359",">= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, < acbf45bd584d924b320bee2a7fe2a26f64904d95",">= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, < 866d3d9b87751b1944168fd82615505e0c0fd6cf",">= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, < 183128da0406b1c10e6f60b7b9fe70788b9c8c1d",">= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, < 7bad93e99737e4a5c0c14ac50c05152cf4e28022",">= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, < ea690b3b6e58ae00979af8195b4cc24df466b65e",">= 879af96ffd72706c6e3278ea6b45b0b0e37ec5d7, < 1921f91298d1388a0bb9db8f83800c998b649cb3"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-16T15:25:03.791901Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-38937","exploited":false,"provenance":"source"}}