What’s Vulnerable › Vulnerabilities

CVE-2023-52983: block, bfq: fix uaf for bfqq in bic_set_bfqq()

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.93, 6.1.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52983 or the next vulnerability affects your stack