{
  "id": "CVE-2025-39911",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39911",
  "published_at": "2025-10-01T07:44:34.561Z",
  "title": "i40e: fix IRQ freeing in i40e_vsi_request_irq_msix error path",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ni40e: fix IRQ freeing in i40e_vsi_request_irq_msix error path\n\nIf request_irq() in i40e_vsi_request_irq_msix() fails in an iteration\nlater than the first, the error path wants to free the IRQs requested\nso far. However, it uses the wrong dev_id argument for free_irq(), so\nit does not free the IRQs correctly and instead triggers the warning:\n\n Trying to free already-free IRQ 173\n WARNING: CPU: 25 PID: 1091 at kernel/irq/manage.c:1829 __free_irq+0x192/0x2c0\n Modules linked in: i40e(+) [...]\n CPU: 25 UID: 0 PID: 1091 Comm: NetworkManager Not tainted 6.17.0-rc1+ #1 PREEMPT(lazy)\n Hardware name: [...]\n RIP: 0010:__free_irq+0x192/0x2c0\n [...]\n Call Trace:\n  \u003cTASK\u003e\n  free_irq+0x32/0x70\n  i40e_vsi_request_irq_msix.cold+0x63/0x8b [i40e]\n  i40e_vsi_request_irq+0x79/0x80 [i40e]\n  i40e_vsi_open+0x21f/0x2f0 [i40e]\n  i40e_open+0x63/0x130 [i40e]\n  __dev_open+0xfc/0x210\n  __dev_change_flags+0x1fc/0x240\n  netif_change_flags+0x27/0x70\n  do_setlink.isra.0+0x341/0xc70\n  rtnl_newlink+0x468/0x860\n  rtnetlink_rcv_msg+0x375/0x450\n  netlink_rcv_skb+0x5c/0x110\n  netlink_unicast+0x288/0x3c0\n  netlink_sendmsg+0x20d/0x430\n  ____sys_sendmsg+0x3a2/0x3d0\n  ___sys_sendmsg+0x99/0xe0\n  __sys_sendmsg+0x8a/0xf0\n  do_syscall_64+0x82/0x2c0\n  entry_SYSCALL_64_after_hwframe+0x76/0x7e\n  [...]\n  \u003c/TASK\u003e\n ---[ end trace 0000000000000000 ]---\n\nUse the same dev_id for free_irq() as for request_irq().\n\nI tested this with inserting code to fail intentionally.",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 493fb30011b3ab5173cef96f1d1ce126da051792, \u003c 13ab9adef3cd386511c930a9660ae06595007f89",
          "\u003e= 493fb30011b3ab5173cef96f1d1ce126da051792, \u003c 6e4016c0dca53afc71e3b99e24252b63417395df",
          "\u003e= 493fb30011b3ab5173cef96f1d1ce126da051792, \u003c b9721a023df38cf44a88f2739b4cf51efd051f85",
          "\u003e= 493fb30011b3ab5173cef96f1d1ce126da051792, \u003c b905b2acb3a0bbb08ad9be9984d8cdabdf827315",
          "\u003e= 493fb30011b3ab5173cef96f1d1ce126da051792, \u003c 23431998a37764c464737b855c71a81d50992e98",
          "\u003e= 493fb30011b3ab5173cef96f1d1ce126da051792, \u003c a30afd6617c30aaa338d1dbcb1e34e7a1890085c",
          "\u003e= 493fb30011b3ab5173cef96f1d1ce126da051792, \u003c c62580674ce5feb1be4f90b5873ff3ce50e0a1db",
          "\u003e= 493fb30011b3ab5173cef96f1d1ce126da051792, \u003c 915470e1b44e71d1dd07ee067276f003c3521ee3"
        ],
        "fixed_in": [
          "13ab9adef3cd386511c930a9660ae06595007f89",
          "6e4016c0dca53afc71e3b99e24252b63417395df",
          "b9721a023df38cf44a88f2739b4cf51efd051f85",
          "b905b2acb3a0bbb08ad9be9984d8cdabdf827315",
          "23431998a37764c464737b855c71a81d50992e98",
          "a30afd6617c30aaa338d1dbcb1e34e7a1890085c",
          "c62580674ce5feb1be4f90b5873ff3ce50e0a1db",
          "915470e1b44e71d1dd07ee067276f003c3521ee3"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.13"
        ],
        "fixed_in": [
          "0",
          "5.4.300",
          "5.10.245",
          "5.15.194",
          "6.1.153",
          "6.6.107",
          "6.12.48",
          "6.16.8",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 13ab9adef3cd386511c930a9660ae06595007f89 or 6e4016c0dca53afc71e3b99e24252b63417395df or b9721a023df38cf44a88f2739b4cf51efd051f85 or b905b2acb3a0bbb08ad9be9984d8cdabdf827315 or 23431998a37764c464737b855c71a81d50992e98 or a30afd6617c30aaa338d1dbcb1e34e7a1890085c or c62580674ce5feb1be4f90b5873ff3ce50e0a1db or 915470e1b44e71d1dd07ee067276f003c3521ee3 or later.",
      "Upgrade Linux to 0 or 5.4.300 or 5.10.245 or 5.15.194 or 6.1.153 or 6.6.107 or 6.12.48 or 6.16.8 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
