CVE-2023-52787
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 900e080752025f0016128f07c9ed4c50eba3654b < b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9 | affected |
| Linux | Linux | 900e080752025f0016128f07c9ed4c50eba3654b < e9c309ded295b7f8849097d71ae231456ca79f78 | affected |
| Linux | Linux | 900e080752025f0016128f07c9ed4c50eba3654b < b80056bd75a16e4550873ecefe12bc8fd190b1cf | affected |
| Linux | Linux | 900e080752025f0016128f07c9ed4c50eba3654b < b0077e269f6c152e807fdac90b58caf012cdbaab | affected |
| Linux | Linux | 5.16 | affected |
| Linux | Linux | 0 < 5.16 | unaffected |
| Linux | Linux | 6.1.72 <= 6.1.* | unaffected |
| Linux | Linux | 6.5.13 <= 6.5.* | unaffected |
| Linux | Linux | 6.6.3 <= 6.6.* | unaffected |
| Linux | Linux | 6.7 <= * | unaffected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
- https://git.kernel.org/stable/c/b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9
- https://git.kernel.org/stable/c/e9c309ded295b7f8849097d71ae231456ca79f78
- https://git.kernel.org/stable/c/b80056bd75a16e4550873ecefe12bc8fd190b1cf
- https://git.kernel.org/stable/c/b0077e269f6c152e807fdac90b58caf012cdbaab
References
- https://git.kernel.org/stable/c/b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9
- https://git.kernel.org/stable/c/e9c309ded295b7f8849097d71ae231456ca79f78
- https://git.kernel.org/stable/c/b80056bd75a16e4550873ecefe12bc8fd190b1cf
- https://git.kernel.org/stable/c/b0077e269f6c152e807fdac90b58caf012cdbaab
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.