nday
CVE-2025-40091

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

Linux / Linux

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

tags productLinux kernel product typeoperating system
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

Linux kernel
affected products in the CVE record: Linux · Linux
operating system
affected products in the CVE record: Linux · Linuxthe product type of Linux kernel in nday's product registry
stage
DIS
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-10-30T09:47Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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
 device_driver_detach+0x40/0x68
 unbind_store+0xec/0x118
 drv_attr_store+0x64/0xb8
 sysfs_kf_write+0xcc/0x138
 kernfs_fop_write_iter+0x294/0x440
 new_sync_write+0x1fc/0x588
 vfs_write+0x480/0x6a0
 ksys_write+0xf0/0x1e0
 __arm64_sys_write+0x70/0xc0
 invoke_syscall.constprop.0+0xcc/0x280
 el0_svc_common.constprop.0+0xa8/0x248
 do_el0_svc+0x44/0x68
 el0_svc+0x54/0x160
 el0t_64_sync_handler+0xa0/0xe8
 el0t_64_sync+0x1b0/0x1b8

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by Linux.

src cvelist · nday , bulk import · raw
{
  "id": 375559,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-40091",
  "occurred_at": "2025-10-30T09:47:59.253Z",
  "observed_at": "2026-11-13T05:39:08.090137Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2025-10-30T09:47:59.253Z",
    "assigner_short_name": "Linux"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.