CVE-2026-53337CWE-476

CVE-2026-53337

Medium · published July 1, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
1.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00123 · 1.9th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2026-07-01T18:16Z
Affected products (13)
ProductVersionsFixed in
linux/linux_kernel≥ 5.3, < 5.10.2595.10.259
linux/linux_kernel≥ 5.11, < 5.15.2105.15.210
linux/linux_kernel≥ 5.16, < 6.1.1766.1.176
linux/linux_kernel≥ 6.2, < 6.6.1436.6.143
linux/linux_kernel≥ 6.7, < 6.12.946.12.94
linux/linux_kernel≥ 6.13, < 6.18.366.18.36
linux/linux_kernel≥ 6.19, < 7.0.137.0.13
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (9)
EPSS history
Timeline
  • 01 JUL 13:32Z
    net: bonding: fix NULL pointer dereference in bond_do_ioctl()
    cvelistv5