本文へ移動
English version →
高 7.1

Linux Kernelのrtlwifiドライバーに範囲外読み取りの脆弱性

CVE-2022-50279 SecPulse初出

概要

2022年に公表された脆弱性で、Linux Kernelのrtlwifiドライバー(rtl8812ae系の電波送信出力制限処理)で範囲外の領域を読み取る問題です。影響は、4.19.276、5.4.235、5.10.173、5.15.99、6.1.16より前の版に及びます。修正版は4.19.276、5.4.235、5.10.173、5.15.99、6.1.16、6.2.3で、利用中の版に合わせて更新してください。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Kernel という製品で、CVE-2022-50279 という番号がついた弱点 (脆弱性) が見つかりました。
不正な操作・情報露出のリスクがあります。
対策: Kernel を 4.19.276, 5.4.235, 5.10.173, 5.15.99, 6.1.16, 6.2.3 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2022-50279」を検索してください。

CVE-2022-50279 (Kernel)
修正バージョン: 4.19.276, 5.4.235, 5.10.173, 5.15.99, 6.1.16, 6.2.3 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

Kernel に 脆弱性 (分類未定) があります。

影響範囲

Kernel の影響バージョンはベンダーのアドバイザリで確認してください。

重要度

重要度: ?。不正な操作・情報露出のリスクがあります。

修正方法

4.19.276, 5.4.235, 5.10.173, 5.15.99, 6.1.16, 6.2.3 に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    grep -r 'Kernel' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Kernel を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    パッチ適用patch
    Upgrade Kernel to 4.19.276, 5.4.235, 5.10.173, 5.15.99, 6.1.16, 6.2.3

    ステージング環境で 4.19.276, 5.4.235, 5.10.173, 5.15.99, 6.1.16, 6.2.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

パッケージ影響を受ける版 → 修正版
LinuxKernel
3.18.0 以上 4.19.276 未満→ 4.19.276
4.20.0 以上 5.4.235 未満→ 5.4.235
5.5.0 以上 5.10.173 未満→ 5.10.173
5.11.0 以上 5.15.99 未満→ 5.15.99
5.16.0 以上 6.1.16 未満→ 6.1.16
6.2.0 以上 6.2.3 未満→ 6.2.3
LinuxLinux —

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

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

wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()

There is a global-out-of-bounds reported by KASAN:

BUG: KASAN: global-out-of-bounds in
_rtl8812ae_eq_n_byte.part.0+0x3d/0x84 [rtl8821ae]
Read of size 1 at addr ffffffffa0773c43 by task NetworkManager/411

CPU: 6 PID: 411 Comm: NetworkManager Tainted: G D
6.1.0-rc8+ #144 e15588508517267d37
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009),
Call Trace:

...
kasan_report+0xbb/0x1c0
_rtl8812ae_eq_n_byte.part.0+0x3d/0x84 [rtl8821ae]
rtl8821ae_phy_bb_config.cold+0x346/0x641 [rtl8821ae]
rtl8821ae_hw_init+0x1f5e/0x79b0 [rtl8821ae]
...

The root cause of the problem is that the comparison order of
"prate_section" in _rtl8812ae_phy_set_txpower_limit() is wrong. The
_rtl8812ae_eq_n_byte() is used to compare the first n bytes of the two
strings from tail to head, which causes the problem. In the
_rtl8812ae_phy_set_txpower_limit(), it was originally intended to meet
this requirement by carefully designing the comparison order.
For example, "pregulation" and "pbandwidth" are compared in order of
length from small to large, first is 3 and last is 4. However, the
comparison order of "prate_section" dose not obey such order requirement,
therefore when "prate_section" is "HT", when comparing from tail to head,
it will lead to access out of bounds in _rtl8812ae_eq_n_byte(). As
mentioned above, the _r…

出典: OSV.dev (Open Source Vulnerabilities) NVD OSV

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく