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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2025-03-27T16:43:21.372Z
- Modified: 2026-08-05T09:12:15.408Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 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.11
- linux linux_kernel: from 5.15.86 before 5.15.93; from 6.1.2 before 6.1.11; 6.0.16

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/7f77f3dab5066a7c9da73d72d1eee895ff84a8d5> (patch)
- <https://git.kernel.org/stable/c/511c922c5bf6c8a166bea826e702336bc2424140> (patch)
- <https://git.kernel.org/stable/c/cb1876fc33af26d00efdd473311f1b664c77c44e> (patch)
- <https://git.kernel.org/stable/c/b600de2d7d3a16f9007fad1bdae82a3951a26af2> (patch)

## Sources

- CVE List: [CVE-2023-52983](https://www.cve.org/CVERecord?id=CVE-2023-52983), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-52983](https://nvd.nist.gov/vuln/detail/CVE-2023-52983), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52983 · Whole record: https://cve.day/CVE-2023-52983.json · Rebuilt by cve.day 2026-11-25T22:58:34.585Z
