LinuxのLinux Kernelにおけるリソースのロックに関する脆弱性
タイトル LinuxのLinux Kernelにおけるリソースのロックに関する脆弱性
概要

Linuxカーネルにおいて、PCIのpci_slot_trylock()関数のエラー処理の不具合が修正されました。コミットa4e772898f8bでは、pci_slot_trylock()内のブリッジデバイスのロック処理がpci_dev_trylock()からpci_bus_trylock()に変更されました。しかし、pci_bus_trylock()が失敗した場合に、誤って対応するpci_dev_unlock()が残っていました。この誤りにより、存在しないロックの解除が行われるか、他のスレッドのロックを誤って解除する恐れがありました。本件では、失敗時に不要となったpci_dev_unlock(dev)の呼び出しを削除することで問題を解決しました。

想定される影響 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
対策

リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

公表日 2026年5月6日0:00
登録日 2026年5月13日10:22
最終更新日 2026年5月13日10:22
CVSS3.0 : 重要
スコア 7.8
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
影響を受けるシステム
Linux
Linux Kernel 4.19.322 以上 4.20 未満
Linux Kernel 5.10.226 以上 5.10.252 未満
Linux Kernel 5.15.167 以上 5.15.202 未満
Linux Kernel 5.4.284 以上 5.5 未満
Linux Kernel 6.1.110 以上 6.1.165 未満
Linux Kernel 6.10.10 以上 6.12.75 未満
Linux Kernel 6.13 以上 6.18.16 未満
Linux Kernel 6.19 以上 6.19.6 未満
Linux Kernel 6.6.51 以上 6.6.128 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2026年05月13日]
  掲載
2026年5月13日10:22

NVD脆弱性情報
CVE-2026-43211
概要

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

PCI: Fix pci_slot_trylock() error handling

Commit a4e772898f8b ("PCI: Add missing bridge lock to pci_bus_lock()")
delegates the bridge device's pci_dev_trylock() to pci_bus_trylock() in
pci_slot_trylock(), but it forgets to remove the corresponding
pci_dev_unlock() when pci_bus_trylock() fails.

Before a4e772898f8b, the code did:

if (!pci_dev_trylock(dev)) /* <- lock bridge device */
goto unlock;
if (dev->subordinate) {
if (!pci_bus_trylock(dev->subordinate)) {
pci_dev_unlock(dev); /* <- unlock bridge device */
goto unlock;
}
}

After a4e772898f8b the bridge-device lock is no longer taken, but the
pci_dev_unlock(dev) on the failure path was left in place, leading to the
bug.

This yields one of two errors:

1. A warning that the lock is being unlocked when no one holds it.
2. An incorrect unlock of a lock that belongs to another thread.

Fix it by removing the now-redundant pci_dev_unlock(dev) on the failure
path.

[Same patch later posted by Keith at
https://patch.msgid.link/20260116184150.3013258-1-kbusch@meta.com]

公表日 2026年5月6日21:16
登録日 2026年5月7日4:08
最終更新日 2026年5月12日4:58
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.19.322 4.20
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.4.284 5.5
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.10.226 5.10.252
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.15.167 5.15.202
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.110 6.1.165
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6.51 6.6.128
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.10.10 6.12.75
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 6.18.16
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 6.19.6
関連情報、対策とツール
共通脆弱性一覧