Skip to content
High 7.8

Linux Kernelのublkに脆弱性、解放済みメモリを参照されるおそれ

CVE-2026-100054 First seen on SecPulse

Summary

Linux Kernelのublkドライバーに、バッチ処理のfetchコマンドを扱う際の順序の問題による脆弱性が見つかりました。7.0.0以降7.3.4未満が影響を受け、修正版は7.3.4です。深刻度はCVSS 7.8の高い水準ですが、悪用は公表されていないため、7.3.4以降へ更新することを検討してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux Kernelのublkドライバーに、バッチ処理のfetchコマンドを扱う際の順序の問題による脆弱性が見つかりました。7.0.0以降7.3.4未満が影響を受け、修正版は7.3.4です。深刻度はCVSS 7.8の高い水準ですが、悪用は公表されていないため、7.3.4以降へ更新することを検討してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 7.0.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

ublk: mark the batch fetch command cancelable before linking it

UBLK_U_IO_FETCH_IO_CMDS has the same order problem as the per-io
commands: ublk_batch_attach() links the fetch command into fcmd_head
and marks it cancelable only after dropping evts_lock. A cancel from
the control path (ublk_batch_cancel_queue()) can take it in between and
complete it, and the later mark puts a completed request on io_uring's
cancelable list.

Mark it before linking it. evts_lock orders the mark before the link,
which is where the cancel finds it.

Batch commands are not bounced to task work, so they can run from io-wq
without uring_lock, and io_uring's cancel walk can now find a fetch
command before it is linked. Two things make that safe:

  • initialize fcmd->node: it came from kzalloc(), so list_empty() saw a
    linked node and ublk_batch_cancel_cmd() would list_del_init() NULL
    pointers
  • on the -ENODEV path, complete the command with io_uring_cmd_done()
    before freeing fcmd: that removes it from the cancelable list under
    uring_lock, after which nothing can see fcmd

Also use data->cmd instead of fcmd->cmd after dropping evts_lock: once
fcmd is linked and not the active one, a control-path cancel may
complete and free it.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details