Skip to content
StratQuad

Threats

Linux kernel nbd use-after-free via reconnect after disconnect

CVE-2025-21731High

The Linux kernel nbd (network block device) subsystem allows a use-after-free vulnerability when a disconnect operation is followed by a reconfigure operation. An attacker with the ability to issue nbd netlink commands can trigger this by disconnecting an nbd device and then immediately attempting to reconfigure it, causing the kernel to queue work on a freed configuration object. This results in a use-after-free when the queued work eventually executes and attempts to access the freed nbd_config structure.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
7.8
HIGH
EPSS score
0.00
Probability of exploitation in 30 days
EPSS percentile
15th
Share of scored CVEs at or below this one

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

Affected versions

  • linux linux kernel: from 4.12, before 5.4.291
  • linux linux kernel: from 5.5, before 5.10.235
  • linux linux kernel: from 5.11, before 5.15.179
  • linux linux kernel: from 5.16, before 6.1.129
  • linux linux kernel: from 6.2, before 6.6.76
  • linux linux kernel: from 6.7, before 6.12.13
  • linux linux kernel: from 6.13, before 6.13.2

Reports naming this CVE2 in total