CVE-2023-54089 in Linux信息

摘要

由 VulDB • 2026-06-27

在 Linux 内核中,已修复以下漏洞:

virtio_pmem: 为刷新 bio(flush bio)添加缺失的 REQ_OP_WRITE

在对 pmem 设备执行 mkfs.xfs 时,出现以下警告信息:

------------[ cut here ]------------
WARNING: CPU: 2 PID: 384 at block/blk-core.c:751 submit_bio_noacct Modules linked in: CPU: 2 PID: 384 Comm: mkfs.xfs Not tainted 6.4.0-rc7+ #154 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) RIP: 0010:submit_bio_noacct+0x340/0x520 ...... Call Trace: <TASK> ? submit_bio_noacct+0xd5/0x520 submit_bio+0x37/0x60 async_pmem_flush+0x79/0xa0 nvdimm_flush+0x17/0x40 pmem_submit_bio+0x370/0x390 __submit_bio+0xbc/0x190 submit_bio_noacct_nocheck+0x14d/0x370 submit_bio_noacct+0x1ef/0x520 submit_bio+0x55/0x60 submit_bio_wait+0x5a/0xc0 blkdev_issue_flush+0x44/0x60

根本原因是,submit_bio_noacct() 要求 bio_op() 对于刷新 bio(flush bio)必须是 WRITE 或 ZONE_APPEND,而 async_pmem_flush() 在分配刷新 bio 时未赋值 REQ_OP_WRITE,导致 submit_bio_noacct 直接拒绝处理该刷新 bio。

通过为刷新 bio 添加缺失的 REQ_OP_WRITE 即可简单修复此问题。此外,我们可以在稍后解决刷新顺序问题并实施刷新优化。

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

来源

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!