CVE-2023-52983
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a before 7f77f3dab5066a7c9da73d72d1eee895ff84a8d5, from 094f3d9314d67691cb21ba091c1b528f6e3c4893 before 511c922c5bf6c8a166bea826e702336bc2424140, from 761564d93c8265f65543acf0a576b32d66bfa26a before cb1876fc33af26d00efdd473311f1b664c77c44e, from 64dc8c732f5c2b406cc752e6aaa1bd5471159cab before b600de2d7d3a16f9007fad1bdae82a3951a26af2, b22fd72bfebda3956efc4431b60ddfc0a51e03e0, from 6.0.16 before 6.1, from 5.15.86 before 5.15.93, from 6.1.2 before 6.1.11CVE List
linux linux_kernelfrom 5.15.86 before 5.15.93, from 6.1.2 before 6.1.11, 6.0.16NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: block, bfq: corrección de uaf para bfqq en bic_set_bfqq(). Después del commit 64dc8c732f5c ("block, bfq: corrección de posible uaf para 'bfqq->bic'"), se accederá a bic->bfqq en bic_set_bfqq(). Sin embargo, en algunos contextos, se liberará bic->bfqq y se llamará a bic_set_bfqq() con el bic->bfqq liberado. Para solucionar el problema, libere siempre bfqq después de bic_set_bfqq().

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52983 changed 2026-08-05CVE Terms of Use
NVDCVE-2023-52983 changed 2026-06-17Public domain