All reports
Medium

kernel: block, bfq: fix uaf for bfqq in bic_set_bfqq()

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-2023-52983

Probability of exploitation in the next 30 days: 0.28%

FIRST EPSS · 2026-11-19

Description

In the Linux kernel, the following vulnerability has been resolved: block, bfq: fix uaf for bfqq in bic_set_bfqq() After commit 64dc8c732f5c ("block, bfq: fix possible uaf for 'bfqq->bic'"), bic->bfqq will be accessed in bic_set_bfqq(), however, in some context bic->bfqq will be freed, and bic_set_bfqq() is called with the freed bic->bfqq. Fix the problem by always freeing bfqq after bic_set_bfqq().

A flaw was found in the Linux kernel's BFQ (Budget Fair Queueing) I/O scheduler. Under certain conditions, an internal queue data structure is freed prematurely while still being referenced, resulting in a use-after-free condition. A local attacker could exploit this flaw to cause a denial of service (DoS) by crashing the system or potentially execute arbitrary code with elevated kernel privileges.