{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52787","id":"CVE-2023-52787","title":"blk-mq: make sure active queue usage is held for bio_integrity_prep()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: make sure active queue usage is held for bio_integrity_prep()\n\nblk_integrity_unregister() can come if queue usage counter isn't held\nfor one bio with integrity prepared, so this request may be completed with\ncalling profile->complete_fn, then kernel panic.\n\nAnother constraint is that bio_integrity_prep() needs to be calle","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: make sure active queue usage is held for bio_integrity_prep()\n\nblk_integrity_unregister() can come if queue usage counter isn't held\nfor one bio with integrity prepared, so this request may be completed with\ncalling profile->complete_fn, then kernel panic.\n\nAnother constraint is that bio_integrity_prep() needs to be called\nbefore bio merge.\n\nFix the issue by:\n\n- call bio_integrity_prep() with one queue usage counter grabbed reliably\n\n- call bio_integrity_prep() before bio merge","published":"2024-05-21T15:31:04.343Z","updated":"2026-10-28T02:30:37.002403958Z","reserved":"2024-05-21T15:19:24.241Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"900e080752025f0016128f07c9ed4c50eba3654b","lessThan":"b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9","status":"affected","versionType":"git"},{"version":"900e080752025f0016128f07c9ed4c50eba3654b","lessThan":"e9c309ded295b7f8849097d71ae231456ca79f78","status":"affected","versionType":"git"},{"version":"900e080752025f0016128f07c9ed4c50eba3654b","lessThan":"b80056bd75a16e4550873ecefe12bc8fd190b1cf","status":"affected","versionType":"git"},{"version":"900e080752025f0016128f07c9ed4c50eba3654b","lessThan":"b0077e269f6c152e807fdac90b58caf012cdbaab","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","lessThan":"5.16","status":"unaffected","versionType":"semver"},{"version":"6.1.72","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.5.13","lessThanOrEqual":"6.5.*","status":"unaffected","versionType":"semver"},{"version":"6.6.3","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e9c309ded295b7f8849097d71ae231456ca79f78","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b80056bd75a16e4550873ecefe12bc8fd190b1cf","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b0077e269f6c152e807fdac90b58caf012cdbaab","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52787.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52787","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00236,"epssPercentile":0.14823,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52787","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52787","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52787","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52787","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}