LinuxのLinux Kernelにおける解放済みメモリの使用に関する脆弱性
タイトル LinuxのLinux Kernelにおける解放済みメモリの使用に関する脆弱性
概要

Linuxカーネルにおいて、以下の脆弱性が修正されました。ALSAのaloopにおいて、フォーマット変更による停止時のピアランタイムUAFの問題を修正しました。loopback_check_format()は、再生がキャプチャストリームと一致しないパラメータで開始された場合にキャプチャ側を停止する可能性があります。コミット826af7fa62e3("ALSA: aloop: PCMトリガー時の競合アクセスを修正")はピアの検索をcable-lockの下に移動しましたが、実際のsnd_pcm_stop()はそのロック解除後に実行されます。同時にクローズが発生すると、cable-streams[]からキャプチャエントリがクリアされ、そのランタイムがデタッチまたは解放されることがありますが、再生トリガーパスは未使用のピアサブストリームポインタを保持し続けます。そこで、cable-lockを解除する前に処理中のピア停止のケーブルごとのカウントを保持し、free_cable()がその停止を待ってからランタイムをデタッチするようにしました。これにより既存の動作を維持しつつ、ピアランタイムのライフタイムが明示的になります。

想定される影響 ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 
対策

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

公表日 2026年5月27日0:00
登録日 2026年6月26日11:59
最終更新日 2026年6月26日11:59
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 2.6.37 以上 5.10.259 未満
Linux Kernel 5.11 以上 5.15.210 未満
Linux Kernel 5.16 以上 6.12.88 未満
Linux Kernel 6.13 以上 6.18.27 未満
Linux Kernel 6.19 以上 7.0.4 未満
Linux Kernel 7.1
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2026年06月26日]
  掲載
2026年6月26日11:59

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

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

ALSA: aloop: Fix peer runtime UAF during format-change stop

loopback_check_format() may stop the capture side when playback starts
with parameters that no longer match a running capture stream. Commit
826af7fa62e3 ("ALSA: aloop: Fix racy access at PCM trigger") moved
the peer lookup under cable->lock, but the actual snd_pcm_stop() still
runs after dropping that lock.

A concurrent close can clear the capture entry from cable->streams[] and
detach or free its runtime while the playback trigger path still holds a
stale peer substream pointer.

Keep a per-cable count of in-flight peer stops before dropping
cable->lock, and make free_cable() wait for those stops before
detaching the runtime. This preserves the existing behavior while
making the peer runtime lifetime explicit.

公表日 2026年5月27日23:17
登録日 2026年5月28日4:13
最終更新日 2026年5月30日20:17
関連情報、対策とツール
共通脆弱性一覧