Skip to content
High 7.8

Linux Kernelのublkに脆弱性、競合状態で権限昇格のおそれ

CVE-2026-100053 First seen on SecPulse

Summary

Linux Kernelのublkドライバーで、デバイス停止処理と開始・コマンド投入処理が競合し、未解放のコマンドが不正に扱われる脆弱性です。影響は6.1.70以降6.2未満、6.6.21以降6.7未満、6.7以降6.18.66未満、6.19以降7.3.4未満の各版です。修正版は6.2、6.7、6.18.66、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ドライバーで、デバイス停止処理と開始・コマンド投入処理が競合し、未解放のコマンドが不正に扱われる脆弱性です。影響は6.1.70以降6.2未満、6.6.21以降6.7未満、6.7以降6.18.66未満、6.19以降7.3.4未満の各版です。修正版は6.2、6.7、6.18.66、7.3.4で、利用中のカーネルの版を確認し、修正版への更新を検討してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.1.70, < 6.2→ 6.2
≥ 6.6.21, < 6.7→ 6.7
≥ 6.7.0, < 6.18.66→ 6.18.66
≥ 6.19.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: let STOP_DEV cancel the server's commands before its release

STOP_DEV cancels the fetched commands after dropping ub->mutex, so
START_DEV and FETCH can run in between:

STOP_DEV START_DEV / FETCH
lock ub->mutex
ublk_stop_dev_unlocked() (not started: does nothing)
unlock ub->mutex
START_DEV goes live, schedules scan
FETCH publishes a new command
cancel_work_sync(scan) cancels the new disk's scan
ublk_cancel_dev() takes the new command: NULL io->cmd
on a queue which isn't canceling

A START_DEV after STOP_DEV also goes live over the canceled commands.

Hold a reference on the server's /dev/ublkcN while canceling:

STOP_DEV
lock ub->mutex
ublk_stop_dev_unlocked()
cancel_work_sync(scan)
server attached: take a reference on its file, set STOPPING
unlock ub->mutex
ublk_cancel_dev()
drop the reference

  • STOPPING makes FETCH and PREP get UBLK_IO_RES_ABORT and START_DEV
    -EBUSY; a START_DEV or END_USER_RECOVERY waiting for the device
    to get ready wakes up too; the reset in the server's release
    clears it
  • the release can't run before the reference is dropped, so no new
    server can attach, and the cancel only meets this server's commands
  • the cancel still runs after the unlock: io_uring_cmd_done()…

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