CVE-2026-98585

eth: fbnic: Avoid rounding zero ring sizes

Published Oct 18, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

eth: fbnic: Avoid rounding zero ring sizes

roundup_pow_of_two() is undefined for zero. ethtool permits a zero ring
size to reach the driver, where the minimum-size check should reject it.

Leave zero unchanged while rounding nonzero ring sizes. The minimum-size
check then rejects zero deterministically without changing the established
behavior for other values.

Analysis

AI-generated

Technical impact

The fbnic Ethernet driver in the Linux kernel processes ring size values received through ethtool. The driver uses the rounding function roundup_pow_of_two, which is undefined for a zero input. The original implementation did not enforce the minimum‑size check when the value was zero, allowing the driver to receive an invalid size. The patch ensures that zero is left unchanged during rounding and that the subsequent minimum‑size check rejects the value deterministically, preventing malformed data from propagating into the driver’s internal state. Because the undefined behavior could cause the driver to store or use an incorrect ring size, the impact might be a disruption of network driver operation or, in the worst case, a kernel crash, representing a classic input‑validation flaw (CWE-1284).

Affected Systems

Any Linux system that runs a kernel containing the fbnic driver and exposes ethtool ring‑size configuration can be affected. The specific kernel versions are not listed, so the flaw may exist in any release before the patch that maintains zero values during rounding. Systems that rely on the fbnic driver for network interfaces are therefore potentially vulnerable.

Risk and Exploitability

The CVSS score of 4.4 places the vulnerability in the moderate range. An EPSS score of less than 1% indicates that exploitation is unlikely. The vulnerability is not listed in the CISA KEV catalog. Exploitation would require using ethtool or a similar tool to set a ring size, so local or privileged access is necessary. The impact is limited to the behavior of the affected network interface and does not directly expose user data or other system services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel release that contains the fbnic ring‑size validation fix.
  • Restrict use of ethtool to privileged users and avoid setting ring sizes to zero or other invalid values.
  • If the fbnic driver is not required, disable or remove its module from the system.

Generated by OpenCVE AI on October 22, 2026 at 21:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Weaknesses CWE-1284
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: eth: fbnic: Avoid rounding zero ring sizes roundup_pow_of_two() is undefined for zero. ethtool permits a zero ring size to reach the driver, where the minimum-size check should reject it. Leave zero unchanged while rounding nonzero ring sizes. The minimum-size check then rejects zero deterministically without changing the established behavior for other values.
Title eth: fbnic: Avoid rounding zero ring sizes
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:22 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM