CVE-2023-52983

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

State
Published
Severity
7.8 High
Published
Mar 27, 2025
Updated
Aug 5, 2026
Reserved
Mar 27, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a to before 7f77f3dab5066a7c9da73d72d1eee895ff84a8d5Affected
  • 094f3d9314d67691cb21ba091c1b528f6e3c4893 to before 511c922c5bf6c8a166bea826e702336bc2424140Affected
  • 761564d93c8265f65543acf0a576b32d66bfa26a to before cb1876fc33af26d00efdd473311f1b664c77c44eAffected
  • 64dc8c732f5c2b406cc752e6aaa1bd5471159cab to before b600de2d7d3a16f9007fad1bdae82a3951a26af2Affected
  • b22fd72bfebda3956efc4431b60ddfc0a51e03e0Affected
  • 6.0.16 to before 6.1Affected
LinuxLinux
  • 5.15.86 to before 5.15.93Affected
  • 6.1.2 to before 6.1.11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.