cve-ja
← 新着
CVE

低権限のユーザーが、同じメモリを二重に解放させるおそれ。

二重解放。対象は Linux kernel(6.12.120 未満・6.18.66 未満・7.3.7 未満・7.4-rc3 未満)。

CVE-2026-143091参考情報

一言・影響を受ける人・対策は AI(sonnet)が元の説明文から作成。版の番号などは元の文と機械で照合した。対応の前に元の告知を確かめてほしい。誤りに気づいたら運営者へ。

CVSS
7.8
High
CNA
悪用
未確認
CISA の一覧には無い
PoC
見つかっていない
12/6 時点
修正
修正版あり
6.12.120・6.18.66・7.3.7・7.4-rc3 以降
国内
まだ無い
同じ CVE 番号の記事を待っている
まずやること:Linux kernel を 6.12.120・6.18.66・7.3.7 など、使う系統の修正版以降に更新する
公開
2026年12月3日
最終更新
2026年12月3日
優先度の理由
—
最終確認
2026年12月5日
EPSS
0.21%
PoC
見つかっていない
攻撃の条件
手元の操作・一般のログインが要る・相手の操作は要らない
国内
まだ無い

概要

低権限のユーザーが、同じメモリを二重に解放させるおそれ。

元の説明(英語)を読む

In the Linux kernel, the following vulnerability has been resolved: xen/privcmd: fix double free when an irqfd is shut down twice irqfd_deactivate() takes the irqfd off irqfds_list and queues irqfd_shutdown(). queue_work() is not a once-only gate: it refuses to enqueue a work item only while WORK_STRUCT_PENDING is set, and process_one_work() clears that bit before it calls the work function. So nothing records that the shutdown work has already been queued, and nothing protects the window between the start of irqfd_shutdown() and the kfree() at its end. Two paths call irqfd_deactivate() for the same irqfd: - privcmd_irqfd_deassign(), from the PRIVCMD_IRQFD_FLAG_DEASSIGN ioctl; - irqfd_wakeup(), with EPOLLHUP set, when the last reference to the eventfd file goes away, which runs wake_up_poll(&ctx->wqh, EPOLLHUP) from eventfd_release(). irqfds_lock serialises the two calls, but it does not make the second one a no-op, and eventfd_ctx_fdget() takes a reference to the eventfd_ctx, not to the struct file, so the last fd can still be closed while the ioctl is running: CPU0 CPU1 eventfd_ctx_fdget() spin_lock(irqfds_lock) list_del_init(&kirqfd->list) queue_work(&kirqfd->shutdown) close(fd) eventfd_release() wake_up_poll(EPOLLHUP) irqfd_wakeup() spin_lock(irqfds_lock) irqfd_deactivate() again If the work item has already started by then, its pending bit has been cleared and the second queue_work() succeeds. irqfd_shutdown() then runs twice, so eventfd_ctx_remove_wait_queue(), eventfd_ctx_put() and kfree() each hit the same object a second time; and when the second queue_work() lands after the irqfd has been freed, the workqueue list operations write to freed memory. virt/kvm/eventfd.c has the same two callers and has had this guard since the original irqfd support (721eecbf4fe99): irqfd_wakeup() calls irqfd_deactivate() only if irqfd_is_active(). The comment there explains why that is enough: the other side deactivates the irqfd before it takes it off the waitqueue, and irqfd_shutdown() needs the waitqueue lock, which this callback holds, so the irqfd cannot be freed under it. Do the same here. list_del_init() leaves the list head empty and the irqfd stays off the list until kfree(), so it serves as a one-way "active" flag. The test is in irqfd_deactivate() rather than in irqfd_wakeup() because privcmd_irqfd_deassign() walks irqfds_list and can therefore never reach an inactive irqfd; only the wakeup path can, and a single test covers both callers.

影響を受ける人

Xen の privcmd を使う Linux の管理者

対策

  • Linux kernel を 6.12.120・6.18.66・7.3.7 など、使う系統の修正版以降に更新する

国内の動き

本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。

海外の動き

本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。

PoC

公開されている PoC は、まだ見つかっていない。

経過

2026年12月3日・一次情報
脆弱性が公開された

影響する版

Linux Linux範囲は告知を確認
Linux Linux6.12.120 未満が対象(6.12.120 で修正)・6.18.66 未満が対象(6.18.66 で修正)・7.3.7 未満が対象(7.3.7 で修正)・7.4-rc3 未満が対象(7.4-rc3 で修正)