Kernel の脆弱性 (CVE-2025-39879)
概要
Kernel に 脆弱性 (CVE-2025-39879) が存在。不正な操作・情報露出のリスクがあります。processed_in_fbatch 経由で攻撃可能。対策: 6.16.8 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
ceph: always call ceph_shift_unused_folios_left()
The function ceph_process_folio_batch() sets folio_batch entries to
NULL, which is an illegal state. Before folio_batch_release() crashes
due to this API violation, the function ceph_shift_unused_folios_left()
is supposed to remove those NULLs from the array.
However, since commit ce80b76dd327 ("ceph: introduce
ceph_process_folio_batch() method"), this shifting doesn't happen
anymore because the "for" loop got moved to ceph_process_folio_batch(),
and now the i variable that remains in ceph_writepages_start()
doesn't get incremented anymore, making the shifting effectively
unreachable much of the time.
Later, commit 1551ec61dc55 ("ceph: introduce ceph_submit_write()
method") added more preconditions for doing the shift, replacing the
i check (with something that is still just as broken):
-
if ceph_process_folio_batch() fails, shifting never happens
-
if ceph_move_dirty_page_in_page_array() was never called (because
ceph_process_folio_batch() has returned early for some of various
reasons), shifting never happens -
if
processed_in_fbatchis zero (because ceph_process_folio_batch()
has returned early for some of the reasons mentioned above or
because ceph_move_dirty_page_in_page_array() has failed), shifting
never happens
Since those two commits, any problem in ceph_process_folio_batch()
could crash the kernel, e.g. this way:
BUG: kerne…
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
Kernel という製品で、CVE-2025-39879 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに processed_in_fbatch のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: Kernel を 6.16.8 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2025-39879」を検索してください。
CVE-2025-39879 (Kernel)
攻撃ベクター: ローカル / 被害者操作不要
脆弱箇所: processed_in_fbatch / huge_zero_folio
修正バージョン: 6.16.8 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
Kernel に 脆弱性 (分類未定) があります。攻撃者は processed_in_fbatch を経由して脆弱な処理に到達できます。
Kernel の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: processed_in_fbatch / huge_zero_folio。
重要度: ?。不正な操作・情報露出のリスクがあります。
6.16.8 に更新してください。
修正版が未提供時は、影響機能の無効化・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 6.16.8ステージング環境で 6.16.8 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の修正パッケージ
- BellSoft Alpaquita BELL-CVE-2025-39879 linux-lts 修正版: 6.18.35-r1
- Debian DEBIAN-CVE-2025-39879 linux 修正版: 6.16.8-1
- Ubuntu UBUNTU-CVE-2025-39879 linux-hwe-edge
参照URL
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org