CVE-2026-53337 Details
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.
A NULL pointer dereference vulnerability has been identified in the Linux kernel bonding driver. The issue arises in the 'bond_do_ioctl' function, where the 'slave_dev' variable is assigned using '__dev_get_by_name()'. This function can return NULL if the specified interface name does not exist. The vulnerability occurs because the 'slave_dbg()' call, which logs the 'slave_dev' pointer, is made before checking if 'slave_dev' is NULL. This oversight leads to a kernel oops, a type of error caused by dereferencing a NULL pointer, when a user invokes bonding ioctls (such as SIOCBONDENSLAVE or SIOCBONDRELEASE) with a non-existent slave interface name. This vulnerability can be exploited from userspace by using the bonding ioctl interface, provided the CAP_NET_ADMIN capability is available, creating a potential local denial-of-service scenario.
The vulnerability has been fixed by adjusting the order of operations in the 'bond_do_ioctl' function. The 'slave_dbg()' call has been moved to occur after the NULL check for 'slave_dev', preventing the dereference of a NULL pointer. Users should apply the latest patches available in the Linux kernel stable tree to address this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1b7558c85493467b2ea20738866b822db6442034 | kernel.org | Patch |
| https://git.kernel.org/stable/c/66693957bacd1c9dae6188a7312d6be69a221f2d | kernel.org | Patch |
| https://git.kernel.org/stable/c/a629418d463fb50d132a1aa063b0105857311e5f | kernel.org | Patch |
| https://git.kernel.org/stable/c/a764b0e8317a863006e05732e1aefe821b9d8c2d | kernel.org | Patch |
| https://git.kernel.org/stable/c/b02b2e3e876c18733b868a29064abd11cdbf8feb | kernel.org | Patch |
| https://git.kernel.org/stable/c/b0878106ddc486375084145848ff255dedfff46a | kernel.org | Patch |
| https://git.kernel.org/stable/c/bcb8fad90f27300add583a8371db504b766d95c7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c2cfe290fdb1c32a4f4eb2b8ca3f363b305d21ba | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.3, < 5.10.259 >= 5.11, < 5.15.210 >= 5.16, < 6.1.176 >= 6.2, < 6.6.143 >= 6.7, < 6.12.94 >= 6.13, < 6.18.36 >= 6.19, < 7.0.13 7.1 rc1 7.1 rc2 7.1 rc3 7.1 rc4 7.1 rc5 7.1 rc6 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | Initial Analysis | [email protected] |
| Jul 1, 2026 | New CVE Received | kernel.org |