CVE-2023-52983

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

High · published March 27, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
19.7
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00283 · 19.7th percentile
Published
2025-03-27T16:43Z
EPSS history
Timeline
  • 27 MAR 16:43Z
    block, bfq: fix uaf for bfqq in bic_set_bfqq()
    cvelistv5