5.5medium
blk-mq: make sure active queue usage is held for bio_integrity_prep()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 900e080752025f0016128f07c9ed4c50eba3654b before b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9, from 900e080752025f0016128f07c9ed4c50eba3654b before e9c309ded295b7f8849097d71ae231456ca79f78, from 900e080752025f0016128f07c9ed4c50eba3654b before b80056bd75a16e4550873ecefe12bc8fd190b1cf, from 900e080752025f0016128f07c9ed4c50eba3654b before b0077e269f6c152e807fdac90b58caf012cdbaab, 5.16 Not affected: before 5.16, from 6.1.72 up to 6.1.*, from 6.5.13 up to 6.5.*, from 6.6.3 up to 6.6.*, from 6.7 up to * | CVE List |
| linux linux_kernel | from 5.16 before 6.1.72, from 6.2 before 6.5.13, from 6.6 before 6.6.3, 6.7 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: blk-mq: asegúrese de que el uso de la cola activa se mantenga para bio_integrity_prep() blk_integrity_unregister() puede aparecer si el contador de uso de la cola no se mantiene para una biografía con integridad preparada, por lo que esta solicitud se puede completar llamando al perfil->complete_fn, luego kernel panic. Otra restricción es que es necesario llamar a bio_integrity_prep() antes de la fusión biológica. Solucione el problema de la siguiente manera: - llame a bio_integrity_prep() con un contador de uso de cola capturado de manera confiable - llame a bio_integrity_prep() antes de fusionar la biografía
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52787 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-52787 changed 2026-06-17 | Public domain |