CVE-2025-37980CWE-401

CVE-2025-37980

Medium · published May 20, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
8.6
In the wild
Unconfirmed
What it is

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

block: fix resource leak in blk_register_queue() error path

When registering a queue fails after blk_mq_sysfs_register() is

successful but the function later encounters an error, we need

to clean up the blk_mq_sysfs resources.

Add the missing blk_mq_sysfs_unregister() call in the error path

to properly clean up these resources and prevent a memory leak.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00194 · 8.6th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2025-05-20T21:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 3.13, < 6.6.886.6.88
linux/linux_kernel≥ 6.7, < 6.12.256.12.25
linux/linux_kernel≥ 6.13, < 6.14.46.14.4
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 20 MAY 16:58Z
    block: fix resource leak in blk_register_queue() error path
    cvelistv5