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.
References
Configurations
Configuration 1 (hide)
|
History
15 Oct 2026, 02:20
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
23 Jul 2026, 21:33
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-476 | |
| First Time |
Linux linux Kernel
Linux |
|
| CPE | cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
|
| References | () https://git.kernel.org/stable/c/1b7558c85493467b2ea20738866b822db6442034 - Patch | |
| References | () https://git.kernel.org/stable/c/66693957bacd1c9dae6188a7312d6be69a221f2d - Patch | |
| References | () https://git.kernel.org/stable/c/a629418d463fb50d132a1aa063b0105857311e5f - Patch | |
| References | () https://git.kernel.org/stable/c/a764b0e8317a863006e05732e1aefe821b9d8c2d - Patch | |
| References | () https://git.kernel.org/stable/c/b02b2e3e876c18733b868a29064abd11cdbf8feb - Patch | |
| References | () https://git.kernel.org/stable/c/b0878106ddc486375084145848ff255dedfff46a - Patch | |
| References | () https://git.kernel.org/stable/c/bcb8fad90f27300add583a8371db504b766d95c7 - Patch | |
| References | () https://git.kernel.org/stable/c/c2cfe290fdb1c32a4f4eb2b8ca3f363b305d21ba - Patch | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
01 Jul 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-01 14:16
Updated : 2026-11-06 17:18
NVD link : CVE-2026-53337
Mitre link : CVE-2026-53337
CVE.ORG link : CVE-2026-53337
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference
