CVE-2026-53337 net: bonding: fix NULL pointer dereference in bond_do_ioctl()
A local attacker with CAP_NET_ADMIN can cause a kernel crash by triggering a NULL pointer dereference in the bonding driver via ioctl calls.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-53337?
CVE-2026-53337 is a medium-severity vulnerability in Linux kernel, published on 1 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
net: bonding: fix NULL pointer dereference in bond_do_ioctl()
In bond_do_ioctl(), slave_dev is obtained via __dev_get_by_name() which can return NULL if the requested interface name does not exist. However, the subsequent slave_dbg() call is placed before the NULL check:
slave_dev = __dev_get_by_name(net, ifr->ifr_slave); slave_dbg(bond_dev, slave_dev, "slave_dev=%p:\n", slave_dev); //here if (!slave_dev) return -ENODEV;
The slave_dbg() macro expands to netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ...) which unconditionally dereferences slave_dev->name before the NULL check is performed. This results in a NULL pointer dereference kernel oops when a user calls bonding ioctl (e.g. SIOCBONDENSLAVE, SIOCBONDRELEASE, etc.) with a non-existent slave interface name.
This is reachable from userspace via the bonding ioctl interface with CAP_NET_ADMIN capability, making it a potential local denial-of-service vector.
Fix by moving the slave_dbg() call after the NULL check.
Weakness: CWE-476
Which versions are affected by CVE-2026-53337?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-53337?
Apply the vendor's patch.
Is CVE-2026-53337 being exploited?
There is no known exploitation of CVE-2026-53337 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-53337, DEBIAN-CVE-2026-53337, GHSA-73rm-r64m-jh58, ROOT-OS-UBUNTU-2204-CVE-2026-53337, ROOT-OS-UBUNTU-2404-CVE-2026-53337, UBUNTU-CVE-2026-53337.