CVE-2026-64545

Source
https://cve.org/CVERecord?id=CVE-2026-64545
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64545.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64545
Downstream
Related
Published
2026-07-27T20:10:36.659Z
Modified
2026-08-18T03:31:23.280172188Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net, bpf: check master for NULL in xdp_master_redirect()
Details

In the Linux kernel, the following vulnerability has been resolved:

net, bpf: check master for NULL in xdpmasterredirect()

xdpmasterredirect() dereferences the result of netdevmasterupperdevget_rcu() without a NULL check, but that helper returns NULL when the receiving device has no upper-master adjacency.

The reach guard only checks netifisbondslave(). On bond slave release bondupperdevunlink() drops the upper-master adjacency before clearing IFFSLAVE, so an XDPTX reaching xdpmasterredirect() in that window still passes netifisbond_slave() while master is already NULL, and faults on master->flags at offset 0xb0:

BUG: kernel NULL pointer dereference, address: 00000000000000b0 RIP: 0010:xdpmasterredirect (net/core/filter.c:4432) Call Trace: xdpmasterredirect (net/core/filter.c:4432) bpfprogrungenericxdp (include/net/xdp.h:700) doxdpgeneric (net/core/dev.c:5608) __netifreceiveskb_onecore (net/core/dev.c:6204) processbacklog (net/core/dev.c:6319) __napipoll (net/core/dev.c:7729) netrxaction (net/core/dev.c:7792) handlesoftirqs (kernel/softirq.c:622) __devqueuexmit (include/linux/bottomhalf.h:33) packetsendmsg (net/packet/af_packet.c:3082) _syssendto (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 xdpmasterredirect() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64545.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
879af96ffd72706c6e3278ea6b45b0b0e37ec5d7
Fixed
c99ca049e910d61ddbd28cc2c47242f2bfbb4970
Fixed
e2a56441233131fe18a76001de347ecda217e40c
Fixed
3876318ea54e83eb70982b8280a3c5e4e32269bf
Fixed
4edbcacca09f92b85d3951b6add11894b20a84bc
Fixed
03b743586a2469744e96e9c1015096d07240935d
Fixed
89c103d702b25ceb2d097faf854deb47b53b17ff
Fixed
e82d8cc4321c373dc46e741cd2dfdaa7921fddb7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64545.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64545.json"