CVE-2023-52787

published 21 May 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b0077e269f6c152e807fdac90b58caf012cdbaab, Kernel b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9, Kernel b80056bd75a16e4550873ecefe12bc8fd190b1cf and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.16, >=900e080752025f0016128f07c9ed4c50eba3654b <b0077e269f6c152e807fdac90b58caf012cdbaab, >=900e080752025f0016128f07c9ed4c50eba3654b <b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9, >=900e080752025f0016128f07c9ed4c50eba3654b <b80056bd75a16e4550873ecefe12bc8fd190b1cf, >=900e080752025f0016128f07c9ed4c50eba3654b <e9c309ded295b7f8849097d71ae231456ca79f78b0077e269f6c152e807fdac90b58caf012cdbaab, b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9, b80056bd75a16e4550873ecefe12bc8fd190b1cf, e9c309ded295b7f8849097d71ae231456ca79f78

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52787 severity on Zeptric[![CVE-2023-52787](https://zeptric.io/badge/cve/CVE-2023-52787.svg)](https://zeptric.io/cve/CVE-2023-52787)