5.5
MEDIUM CVSS 3.1
CVE-2026-53337
net: bonding: fix NULL pointer dereference in bond_do_ioctl()
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.

INFO

Published Date :

July 1, 2026, 2:16 p.m.

Last Modified :

July 23, 2026, 9:33 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-53337 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Fix a NULL pointer dereference by moving a debug print call after a NULL check.
  • Move the debug print call after the NULL check.
  • Apply the patch to resolve the NULL pointer dereference.
  • Ensure interfaces exist before calling bonding ioctls.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-53337 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-53337 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-53337 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-53337 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 23, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.176 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.143 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.210 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.36 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.94 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.13 *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:*:*:*:*:*:*:*:* versions from (including) 5.3 up to (excluding) 5.10.259
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/1b7558c85493467b2ea20738866b822db6442034 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/66693957bacd1c9dae6188a7312d6be69a221f2d Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a629418d463fb50d132a1aa063b0105857311e5f Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a764b0e8317a863006e05732e1aefe821b9d8c2d Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/b02b2e3e876c18733b868a29064abd11cdbf8feb Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/b0878106ddc486375084145848ff255dedfff46a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/bcb8fad90f27300add583a8371db504b766d95c7 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c2cfe290fdb1c32a4f4eb2b8ca3f363b305d21ba Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 01, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e2a7420df2e01370b40e4cf7b85ab9a885c6d755', 'lessThan': '1b7558c85493467b2ea20738866b822db6442034', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2a7420df2e01370b40e4cf7b85ab9a885c6d755', 'lessThan': 'b02b2e3e876c18733b868a29064abd11cdbf8feb', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2a7420df2e01370b40e4cf7b85ab9a885c6d755', 'lessThan': '66693957bacd1c9dae6188a7312d6be69a221f2d', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2a7420df2e01370b40e4cf7b85ab9a885c6d755', 'lessThan': 'a629418d463fb50d132a1aa063b0105857311e5f', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2a7420df2e01370b40e4cf7b85ab9a885c6d755', 'lessThan': 'c2cfe290fdb1c32a4f4eb2b8ca3f363b305d21ba', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2a7420df2e01370b40e4cf7b85ab9a885c6d755', 'lessThan': 'bcb8fad90f27300add583a8371db504b766d95c7', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2a7420df2e01370b40e4cf7b85ab9a885c6d755', 'lessThan': 'b0878106ddc486375084145848ff255dedfff46a', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2a7420df2e01370b40e4cf7b85ab9a885c6d755', 'lessThan': 'a764b0e8317a863006e05732e1aefe821b9d8c2d', 'versionType': 'git'}], 'programFiles': ['drivers/net/bonding/bond_main.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.259', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.210', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.94', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.36', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.13', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/bonding/bond_main.c'], 'defaultStatus': 'affected'}]
    Added 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.
    Added Reference https://git.kernel.org/stable/c/1b7558c85493467b2ea20738866b822db6442034
    Added Reference https://git.kernel.org/stable/c/66693957bacd1c9dae6188a7312d6be69a221f2d
    Added Reference https://git.kernel.org/stable/c/a629418d463fb50d132a1aa063b0105857311e5f
    Added Reference https://git.kernel.org/stable/c/a764b0e8317a863006e05732e1aefe821b9d8c2d
    Added Reference https://git.kernel.org/stable/c/b02b2e3e876c18733b868a29064abd11cdbf8feb
    Added Reference https://git.kernel.org/stable/c/b0878106ddc486375084145848ff255dedfff46a
    Added Reference https://git.kernel.org/stable/c/bcb8fad90f27300add583a8371db504b766d95c7
    Added Reference https://git.kernel.org/stable/c/c2cfe290fdb1c32a4f4eb2b8ca3f363b305d21ba
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.