CVE-2026-53337

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

MEDIUM
5.5
CVSS Score
Published: July 1, 2026 at 01:32 PM UTC
Updated: October 15, 2026 at 02:20 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.2105.16 ≤ v < 6.1.1765.3 ≤ v < 5.10.2596.13 ≤ v < 6.18.366.19 ≤ v < 7.0.136.2 ≤ v < 6.6.1436.7 ≤ v < 6.12.947.17.1 rc17.1 rc27.1 rc37.1 rc47.1 rc57.1 rc6e2a7420df2e01370b40e4cf7b85ab9a885c6d755
Vendor states this is fixed in 1b7558c85493467b2ea20738866b822db6442034 (fixed)
Vendor states this is fixed in 66693957bacd1c9dae6188a7312d6be69a221f2d (fixed)
Vendor states this is fixed in a629418d463fb50d132a1aa063b0105857311e5f (fixed)
Vendor states this is fixed in a764b0e8317a863006e05732e1aefe821b9d8c2d (fixed)
Vendor states this is fixed in b02b2e3e876c18733b868a29064abd11cdbf8feb (fixed)
Vendor states this is fixed in b0878106ddc486375084145848ff255dedfff46a (fixed)
Vendor states this is fixed in bcb8fad90f27300add583a8371db504b766d95c7 (fixed)
Vendor states this is fixed in c2cfe290fdb1c32a4f4eb2b8ca3f363b305d21ba (fixed)
Vendor states this is fixed in 5.10.259 (unaffected)
Vendor states this is fixed in 5.15.210 (unaffected)
Vendor states this is fixed in 5.3 (unaffected)
Vendor states this is fixed in 6.1.176 (unaffected)
Vendor states this is fixed in 6.12.94 (unaffected)
Vendor states this is fixed in 6.18.36 (unaffected)
Vendor states this is fixed in 6.6.143 (unaffected)
Vendor states this is fixed in 7.0.13 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card