Linux Kernelのbtrfsに脆弱性、サービス停止のおそれ
概要
Linux KernelのbtrfsファイルシステムにおけるCVE-2025-39738の脆弱性は、部分的に削除されたサブボリュームの再配置を許してしまう問題です。CVSSは7.3で、悪用されると、トランザクションが中断されてシステムが異常終了するおそれがあります。影響を受けるのは5.11以降の一部の版で、5.15.190、6.1.149、6.6.103、6.12.43、6.15.11、6.16.2などの修正版が公開されているため、利用中の系統に合わせて更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Kernel という製品で、CVE-2025-39738 という番号がついた弱点 (脆弱性) が見つかりました。
データの不正な改ざんを許す可能性があります。重要度は CVSS スコア 7.3/10 です。
対策: Kernel を 5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2025-39738」を検索してください。
CVE-2025-39738 (Kernel) — CVSS v3 7.3
攻撃ベクター: ローカル / 被害者操作不要
修正バージョン: 5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
Kernel に 脆弱性 (分類未定) があります。
Kernel の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 重要 (CVSS 7.3/10)。データの不正な改ざんを許す可能性があります。
5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2 に更新してください。
修正版が未提供時は、影響機能の無効化・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.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2ステージング環境で 5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxKernel |
5.11.0 以上 5.15.190 未満→ 5.15.190 5.16.0 以上 6.1.149 未満→ 6.1.149 6.2.0 以上 6.6.103 未満→ 6.6.103 6.7.0 以上 6.12.43 未満→ 6.12.43 6.13.0 以上 6.15.11 未満→ 6.15.11 6.16.0 以上 6.16.2 未満→ 6.16.2 |
5.15.190 6.1.149 6.6.103 6.12.43 6.15.11 6.16.2 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2025-39738 linux-lts 修正版あり
- Debian DEBIAN-CVE-2025-39738 linux-6.1, linux 修正版あり
- Ubuntu UBUNTU-CVE-2025-39738 linux-xilinx-zynqmp, linux-xilinx, linux-riscv-6.8 ほか 46 件 修正版あり
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
btrfs: do not allow relocation of partially dropped subvolumes
[BUG]
There is an internal report that balance triggered transaction abort,
with the following call trace:
item 85 key (594509824 169 0) itemoff 12599 itemsize 33
extent refs 1 gen 197740 flags 2
ref#0: tree block backref root 7
item 86 key (594558976 169 0) itemoff 12566 itemsize 33
extent refs 1 gen 197522 flags 2
ref#0: tree block backref root 7
...
BTRFS error (device loop0): extent item not found for insert, bytenr 594526208 num_bytes 16384 parent 449921024 root_objectid 934 owner 1 offset 0
BTRFS error (device loop0): failed to run delayed ref for logical 594526208 num_bytes 16384 type 182 action 1 ref_mod 1: -117
------------[ cut here ]------------
BTRFS: Transaction aborted (error -117)
WARNING: CPU: 1 PID: 6963 at ../fs/btrfs/extent-tree.c:2168 btrfs_run_delayed_refs+0xfa/0x110 [btrfs]
And btrfs check doesn't report anything wrong related to the extent
tree.
[CAUSE]
The cause is a little complex, firstly the extent tree indeed doesn't
have the backref for 594526208.
The extent tree only have the following two backrefs around that bytenr
on-disk:
item 65 key (594509824 METADATA_ITEM 0) itemoff 13880 itemsize 33
refs 1 gen 197740 flags TREE_BLOCK
tree block skinny level 0
(176 0x7) tree block backref root CSUM_TREE
item…
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web lists.debian.org
- web cert-portal.siemens.com
- web github.com