CVE-2026-53337

Source
https://cve.org/CVERecord?id=CVE-2026-53337
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53337.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53337
Downstream
Published
2026-07-01T13:32:19.046Z
Modified
2026-07-08T08:13:46.789181163Z
Summary
net: bonding: fix NULL pointer dereference in bond_do_ioctl()
Details

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

net: bonding: fix NULL pointer dereference in bonddoioctl()

In bonddoioctl(), slave_dev is obtained via __devgetbyname() which can return NULL if the requested interface name does not exist. However, the subsequent slavedbg() 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 slavedbg() macro expands to netdevdbg(bonddev, "(slave %s): " fmt, (slavedev)->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 CAPNETADMIN capability, making it a potential local denial-of-service vector.

Fix by moving the slave_dbg() call after the NULL check.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53337.json",
    "cna_assigner": "Linux"
}
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
e2a7420df2e01370b40e4cf7b85ab9a885c6d755
Fixed
1b7558c85493467b2ea20738866b822db6442034
Fixed
b02b2e3e876c18733b868a29064abd11cdbf8feb
Fixed
66693957bacd1c9dae6188a7312d6be69a221f2d
Fixed
a629418d463fb50d132a1aa063b0105857311e5f
Fixed
c2cfe290fdb1c32a4f4eb2b8ca3f363b305d21ba
Fixed
bcb8fad90f27300add583a8371db504b766d95c7
Fixed
b0878106ddc486375084145848ff255dedfff46a
Fixed
a764b0e8317a863006e05732e1aefe821b9d8c2d

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.3.0
Fixed
5.10.259
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.210
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.176
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.143
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.94
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.36
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.13

Database specific

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