PT-2025-18618

CVE-2022-49901

·

Published

2022-10-31

·

Updated

2026-11-20

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A memory leak issue has been identified in the Linux kernel, specifically in the blk-mq module. The leak occurs when the blk mq init allocated queue function is called, and the q->ma ops is set to NULL before blk release queue is called. This results in a kmemleak, causing unreferenced objects to remain in memory. The issue is caused by the failure of blk mq alloc and init hctx when i is not equal to 0, leading to the allocation of hctxs that are not properly cleaned up. The estimated number of potentially affected devices worldwide is not available.
Technical details about exploitation include:
  • The blk mq init allocated queue function is vulnerable.
  • The q->ma ops variable is set to NULL before blk release queue is called.
  • The blk mq alloc and init hctx function fails when i is not equal to 0.
  • The hctxs allocated by blk mq alloc and init hctx are moved to q->unused hctx list and are not properly cleaned up.
Recommendations To resolve the issue, call blk release queue in the exception path. This will ensure that the hctxs in q->unused hctx list are properly cleaned up, preventing the memory leak. As a temporary workaround, consider disabling the blk mq init allocated queue function until a patch is available. Restrict access to the vulnerable blk-mq module to minimize the risk of exploitation. Avoid using the q->ma ops variable in the affected code path until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
AZL-61715
OESA-2025-1514
OESA-2025-1515
SUSE-SU-2025:01966-1
SUSE-SU-2025:02173-1
SUSE-SU-2025_02173-1
SUSE-SU-2025:2173-1
Found an issue in the description? Have something to add? Feel free to write us 👾