CVE-2026-53337
net: bonding: fix NULL pointer dereference in bond_do_ioctl()
Reported by linux · Published July 1, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.94-123.174.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel | Amazon Linux | 1:6.1.176-220.358.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel-livepatch-6.12.94-123.174 | Amazon Linux | 1:1.0-0.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e2a7420df2e01370b40e4cf7b85ab9a885c6d755, e2a7420df2e01370b40e4cf7b85ab9a885c6d755, e2a7420df2e01370b40e4cf7b85ab9a885c6d755 |
| Linux | Linux | 5.3, 0, 5.10.259 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.12.94-123.174 | 0 |
| linux | linux_kernel | 5.3, 5.3, 5.3 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Linux | Linux | 0, 5.3, * |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
…and 19 more
Timeline
- Jul 1, 2026 CVE Published
- Jul 2, 2026 EPSS Score (10 in total, the first dated here)
- Jul 2, 2026 Coalition ESS Score
- Jul 5, 2026 Security Advisory (17 in total, the first dated here)
- Aug 10, 2026 CVE Updated
- Aug 12, 2026 Distribution Patch (14 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53337
vulnetix vdb fixes CVE-2026-53337
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53337/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart