CVE-2026-89582 bnx2x: fix double free in bnx2x_init_firmware() error path

Not scored Published Updated

A double free vulnerability in the bnx2x network driver allows local attackers to cause a denial of service or potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-89582?

CVE-2026-89582 is an use after free vulnerability in Linux, published on 11 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

bnx2x: fix double free in bnx2x_init_firmware() error path

bnx2x_init_firmware() frees bp->init_ops, bp->init_data and bp->init_ops_offsets in its error path without setting them to NULL. The cleanup function bnx2x_release_firmware() frees the same three pointers unconditionally, so if init_firmware fails and release_firmware is later called (e.g. from __bnx2x_remove or through the function state machine), all three are freed a second time.

Set each pointer to NULL after kfree() in the error path so that the subsequent kfree(NULL) in bnx2x_release_firmware() is a safe no-op.

Which versions are affected by CVE-2026-89582?

How do I fix CVE-2026-89582?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-89582 being exploited?

There is no known exploitation of CVE-2026-89582 in the wild and no public exploit code.

Sources

Also known as AZL-100712, BELL-CVE-2026-89582, DEBIAN-CVE-2026-89582, GHSA-gw39-5689-xrvh, UBUNTU-CVE-2026-89582.

Is CVE-2026-89582 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free