CVE-2022-50329
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-15

Last updated on: 2025-12-04

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq Commit 64dc8c732f5c ("block, bfq: fix possible uaf for 'bfqq->bic'") will access 'bic->bfqq' in bic_set_bfqq(), however, bfq_exit_icq_bfqq() can free bfqq first, and then call bic_set_bfqq(), which will cause uaf. Fix the problem by moving bfq_exit_bfqq() behind bic_set_bfqq().
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-15
Last Modified
2025-12-04
Generated
2026-06-16
AI Q&A
2025-09-15
EPSS Evaluated
2026-06-14
NVD
Affected Vendors & Products
Showing 4 associated CPEs
Vendor Product Version / Range
linux linux_kernel 5.15.86
linux linux_kernel 6.0.16
linux linux_kernel 6.1.2
linux linux_kernel 6.2
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a use-after-free (UAF) issue in the Linux kernel's BFQ (Budget Fair Queueing) block I/O scheduler. Specifically, the function bfq_exit_icq_bfqq() can free a bfqq object and then bic_set_bfqq() accesses this freed object, leading to a use-after-free condition. The fix involved reordering calls to ensure bfq_exit_bfqq() is called after bic_set_bfqq(), preventing access to freed memory.

Impact Analysis

The use-after-free vulnerability can lead to undefined behavior such as system crashes, data corruption, or potential escalation of privileges if exploited. This can affect system stability and security on Linux systems using the BFQ scheduler.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50329. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart