Linux Kernelのqcom cpufreqドライバーに脆弱性、読み取り専用領域への書き込みでシステムが異常終了するおそれ
概要
2025年9月にこの脆弱性が公表されました。Linux Kernelのqcom cpufreqドライバーで、読み取り専用のメモリ領域に書き込みが行われ、カーネルがOopsを起こして異常終了するおそれがあります。影響を受けるのは5.7.0から5.10.152未満、5.11.0から5.15.76未満、5.16.0から6.0.6未満のバージョンで、修正版は5.10.152、5.15.76、6.0.6です。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Kernel という製品で、CVE-2022-50239 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに pvs_name のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: Kernel を 5.10.152, 5.15.76, 6.0.6 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2022-50239」を検索してください。
CVE-2022-50239 (Kernel)
脆弱箇所: pvs_name
修正バージョン: 5.10.152, 5.15.76, 6.0.6 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
Kernel に 脆弱性 (分類未定) があります。攻撃者は pvs_name を経由して脆弱な処理に到達できます。
Kernel の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: pvs_name。
重要度: ?。不正な操作・情報露出のリスクがあります。
5.10.152, 5.15.76, 6.0.6 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'Kernel' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Kernelを grep し、稼働しているサービス・バージョンを把握する。 -
2
パッチ適用patch
Upgrade Kernel to 5.10.152, 5.15.76, 6.0.6ステージング環境で 5.10.152, 5.15.76, 6.0.6 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxKernel |
5.7.0 以上 5.10.152 未満→ 5.10.152 5.11.0 以上 5.15.76 未満→ 5.15.76 5.16.0 以上 6.0.6 未満→ 6.0.6 |
5.10.152 5.15.76 6.0.6 |
| LinuxLinux | — | 記載なし |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2022-50239 linux 修正版あり
- Ubuntu UBUNTU-CVE-2022-50239 linux-riscv-5.15, linux-raspi, linux-oracle-5.15 ほか 20 件 修正版あり
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
cpufreq: qcom: fix writes in read-only memory region
This commit fixes a kernel oops because of a write in some read-only memory:
[ 9.068287] Unable to handle kernel write to read-only memory at virtual address ffff800009240ad8
..snip..
[ 9.138790] Internal error: Oops: 9600004f [#1] PREEMPT SMP
..snip..
[ 9.269161] Call trace:
[ 9.276271] __memcpy+0x5c/0x230
[ 9.278531] snprintf+0x58/0x80
[ 9.282002] qcom_cpufreq_msm8939_name_version+0xb4/0x190
[ 9.284869] qcom_cpufreq_probe+0xc8/0x39c
..snip..
The following line defines a pointer that point to a char buffer stored
in read-only memory:
char *pvs_name = "speedXX-pvsXX-vXX";
This pointer is meant to hold a template "speedXX-pvsXX-vXX" where the
XX values get overridden by the qcom_cpufreq_krait_name_version function. Since
the template is actually stored in read-only memory, when the function
executes the following call we get an oops:
snprintf(*pvs_name, sizeof("speedXX-pvsXX-vXX"), "speed%d-pvs%d-v%d",
speed, pvs, pvs_ver);
To fix this issue, we instead store the template name onto the stack by
using the following syntax:
char pvs_name_buffer[] = "speedXX-pvsXX-vXX";
Because the pvs_name needs to be able to be assigned to NULL, the
template buffer is stored in the pvs_name_buffer and not under the
pvs_name variable.
参照URL
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org