blk-mq: make sure active queue usage is held for bio_integrity_prep() (Linux Linux)

CVE-2023-52787
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: blk-mq: make sure active queue usage is held for bio_integrity_prep() blk_integrity_unregister() can come if queue usage counter isn't held for one bio with integrity prepared, so this request may be completed with calling profile->complete_fn, then kernel panic. Another constraint is that bio_integrity_prep() needs to be called before bio merge. Fix the issue by: - call bio_integrity_prep() with one queue usage counter grabbed reliably - call bio_integrity_prep() before bio merge

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 900e080752025f0016128f07c9ed4c50eba3654b < b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9 ; affected 900e080752025f0016128f07c9ed4c50eba3654b < e9c309ded295b7f8849097d71ae231456ca79f78 ; affected 900e080752025f0016128f07c9ed4c50eba3654b < b80056bd75a16e4550873ecefe12bc8fd190b1cf ; affected 900e080752025f0016128f07c9ed4c50eba3654b < b0077e269f6c152e807fdac90b58caf012cdbaab
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.72 ≤ 6.1.* ; unaffected 6.5.13 ≤ 6.5.* ; unaffected 6.6.3 ≤ 6.6.* ; unaffected 6.7 ≤ *

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