All reports
Medium

kernel: Linux kernel: Denial of Service due to use-after-free in BFQ scheduler

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50329

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-21

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().

A flaw was found in the Linux kernel. A use-after-free (UAF) vulnerability exists in the block I/O (input/output) queueing layer, specifically within the Budget Fair Queueing (BFQ) scheduler. This occurs because the bfq_exit_icq_bfqq() function can free a bfqq object before bic_set_bfqq() accesses it, leading to memory corruption. A local attacker could exploit this flaw to cause a denial of service.