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

CVE-2023-52983
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.28 % · centile 21 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a < 7f77f3dab5066a7c9da73d72d1eee895ff84a8d5 ; affected 094f3d9314d67691cb21ba091c1b528f6e3c4893 < 511c922c5bf6c8a166bea826e702336bc2424140 ; affected 761564d93c8265f65543acf0a576b32d66bfa26a < cb1876fc33af26d00efdd473311f1b664c77c44e ; affected 64dc8c732f5c2b406cc752e6aaa1bd5471159cab < b600de2d7d3a16f9007fad1bdae82a3951a26af2 ; affected b22fd72bfebda3956efc4431b60ddfc0a51e03e0 ; affected 6.0.16 < 6.1
Linux · Linuxaffected 5.15.86 < 5.15.93 ; affected 6.1.2 < 6.1.11

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD