Menu

Star on GitHub · 3.2k

CVE-2025-40091

In the Linux kernel, the following vulnerability has been resolved: ixgbe: fix too early devlink_free() in ixgbe_remove() Since ixgbe_adapter is embedded in devlink, calling devlink_free() premat…

Published Oct 30, 2025EPSS 0.18%

Overview

CVE-2025-40091 is a known-severity vulnerability. It was published on October 30, 2025.

Technical description

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

ixgbe: fix too early devlink_free() in ixgbe_remove()

Since ixgbe_adapter is embedded in devlink, calling devlink_free()

prematurely in the ixgbe_remove() path can lead to UAF. Move devlink_free()

to the end.

KASAN report:

BUG: KASAN: use-after-free in ixgbe_reset_interrupt_capability+0x140/0x180 [ixgbe]

Read of size 8 at addr ffff0000adf813e0 by task bash/2095

CPU: 1 UID: 0 PID: 2095 Comm: bash Tainted: G S 6.17.0-rc2-tnguy.net-queue+ #1 PREEMPT(full)

[...]

Call trace:

show_stack+0x30/0x90 (C)

dump_stack_lvl+0x9c/0xd0

print_address_description.constprop.0+0x90/0x310

print_report+0x104/0x1f0

kasan_report+0x88/0x180

__asan_report_load8_noabort+0x20/0x30

ixgbe_reset_interrupt_capability+0x140/0x180 [ixgbe]

ixgbe_clear_interrupt_scheme+0xf8/0x130 [ixgbe]

ixgbe_remove+0x2d0/0x8c0 [ixgbe]

pci_device_remove+0xa0/0x220

device_remove+0xb8/0x170

device_release_driver_internal+0x318/0x490

devi

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-40091?

CVE-2025-40091 is a known-severity vulnerability. It was published on October 30, 2025.

How severe is CVE-2025-40091?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2025-40091?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40091?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-40091 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.