CVE-2023-52983

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0.16:*:*:*:*:*:*:*

History

01 Apr 2025, 15:39

Type Values Removed Values Added
First Time Linux
Linux linux Kernel
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0.16:*:*:*:*:*:*:*
Summary
  • (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 () https://git.kernel.org/stable/c/511c922c5bf6c8a166bea826e702336bc2424140 - () https://git.kernel.org/stable/c/511c922c5bf6c8a166bea826e702336bc2424140 - Patch
References () https://git.kernel.org/stable/c/7f77f3dab5066a7c9da73d72d1eee895ff84a8d5 - () https://git.kernel.org/stable/c/7f77f3dab5066a7c9da73d72d1eee895ff84a8d5 - Patch
References () https://git.kernel.org/stable/c/b600de2d7d3a16f9007fad1bdae82a3951a26af2 - () https://git.kernel.org/stable/c/b600de2d7d3a16f9007fad1bdae82a3951a26af2 - Patch
References () https://git.kernel.org/stable/c/cb1876fc33af26d00efdd473311f1b664c77c44e - () https://git.kernel.org/stable/c/cb1876fc33af26d00efdd473311f1b664c77c44e - Patch

27 Mar 2025, 18:17

Type Values Removed Values Added
CWE CWE-416
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

27 Mar 2025, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-27 17:15

Updated : 2025-04-01 15:39


NVD link : CVE-2023-52983

Mitre link : CVE-2023-52983

CVE.ORG link : CVE-2023-52983


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free