{"id":"CVE-2023-54089","aliases":["CVE-2023-54089"],"related":[],"kind":"vulnerability","state":"published","title":"virtio_pmem: add the missing REQ_OP_WRITE for flush bio","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_pmem: add the missing REQ_OP_WRITE for flush bio\n\nWhen doing mkfs.xfs on a pmem device, the following warning was\n\n ------------[ cut here ]------------\n WARNING: CPU: 2 PID: 384 at block/blk-core.c:751 submit_bio_noacct\n Modules linked in:\n CPU: 2 PID: 384 Comm: mkfs.xfs Not tainted 6.4.0-rc7+ #154\n Hardware name: QEMU Standard PC (i440FX + PIIX, 1996)\n RIP: 0010:submit_bio_noacct+0x340/0x520\n ......\n Call Trace:\n  <TASK>\n  ? submit_bio_noacct+0xd5/0x520\n  submit_bio+0x37/0x60\n  async_pmem_flush+0x79/0xa0\n  nvdimm_flush+0x17/0x40\n  pmem_submit_bio+0x370/0x390\n  __submit_bio+0xbc/0x190\n  submit_bio_noacct_nocheck+0x14d/0x370\n  submit_bio_noacct+0x1ef/0x520\n  submit_bio+0x55/0x60\n  submit_bio_wait+0x5a/0xc0\n  blkdev_issue_flush+0x44/0x60\n\nThe root cause is that submit_bio_noacct() needs bio_op() is either\nWRITE or ZONE_APPEND for flush bio and async_pmem_flush() doesn't assign\nREQ_OP_WRITE when allocating flush bio, so submit_bio_noacct just fail\nthe flush bio.\n\nSimply fix it by adding the missing REQ_OP_WRITE for flush bio. And we\ncould fix the flush order issue and do flush optimization later.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_pmem: add the missing REQ_OP_WRITE for flush bio\n\nWhen doing mkfs.xfs on a pmem device, the following warning was\n\n ------------[ cut here ]------------\n WARNING: CPU: 2 PID: 384 at block/blk-core.c:751 submit_bio_noacct\n Modules linked in:\n CPU: 2 PID: 384 Comm: mkfs.xfs Not tainted 6.4.0-rc7+ #154\n Hardware name: QEMU Standard PC (i440FX + PIIX, 1996)\n RIP: 0010:submit_bio_noacct+0x340/0x520\n ......\n Call Trace:\n  <TASK>\n  ? submit_bio_noacct+0xd5/0x520\n  submit_bio+0x37/0x60\n  async_pmem_flush+0x79/0xa0\n  nvdimm_flush+0x17/0x40\n  pmem_submit_bio+0x370/0x390\n  __submit_bio+0xbc/0x190\n  submit_bio_noacct_nocheck+0x14d/0x370\n  submit_bio_noacct+0x1ef/0x520\n  submit_bio+0x55/0x60\n  submit_bio_wait+0x5a/0xc0\n  blkdev_issue_flush+0x44/0x60\n\nThe root cause is that submit_bio_noacct() needs bio_op() is either\nWRITE or ZONE_APPEND for flush bio and async_pmem_flush() doesn't assign\nREQ_OP_WRITE when allocating flush bio, so submit_bio_noacct just fail\nthe flush bio.\n\nSimply fix it by adding the missing REQ_OP_WRITE for flush bio. And we\ncould fix the flush order issue and do flush optimization later.","source":"cvelist"}],"published":"2025-12-24T13:06:18.904Z","modified":"2026-06-17T06:46:46.940Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b4a6bb3a67aa0c37b2b6cd47efc326eb455de674","fixed":"e39e870e1e683a71d3d2e63e661a5695f60931a7","status":"affected"},{"type":"git","introduced":"b4a6bb3a67aa0c37b2b6cd47efc326eb455de674","fixed":"c7ab7e45ccef209809f8c2b00f497deec06b29c0","status":"affected"},{"type":"git","introduced":"b4a6bb3a67aa0c37b2b6cd47efc326eb455de674","fixed":"c1dbd8a849183b9c12d257ad3043ecec50db50b3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.4.16","lastAffected":"6.4.*","status":"unaffected"},{"type":"semver","introduced":"6.5.3","lastAffected":"6.5.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.6","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e39e870e1e683a71d3d2e63e661a5695f60931a7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c7ab7e45ccef209809f8c2b00f497deec06b29c0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c1dbd8a849183b9c12d257ad3043ecec50db50b3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54089","url":"https://www.cve.org/CVERecord?id=CVE-2023-54089","licence":"CVE Terms of Use","modified":"2026-05-11T19:55:16.792Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54089","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54089","licence":"Public domain","modified":"2026-06-17T06:46:46.940Z"}],"updatedAt":"2026-11-25T22:58:35.170Z","epss":{"score":0.00221,"percentile":0.13488,"date":"2026-12-01T12:00:22.000Z"}}