本文へ移動
English version →
高 7.8

Linux Kernelの32ビット環境で4GiB以降のメモリ解放が誤範囲になる脆弱性

CVE-2026-99654 SecPulse初出

概要

Linux Kernelの32ビット環境では、4GiB以降の範囲を指定したときにメモリマッピングの解放先が誤って判定されます。ファイルを縮小した際に、プロセスが書き込んだ内容が失われるおそれがあります。修正版は4.20、5.5、5.11、5.16、6.2、6.7、6.12.118、6.18.64、7.3.5で、該当する系統の修正版へ更新してください。

AI要約

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

Linux Kernelの32ビット環境では、4GiB以降の範囲を指定したときにメモリマッピングの解放先が誤って判定されます。ファイルを縮小した際に、プロセスが書き込んだ内容が失われるおそれがあります。修正版は4.20、5.5、5.11、5.16、6.2、6.7、6.12.118、6.18.64、7.3.5で、該当する系統の修正版へ更新してください。

影響パッケージ

パッケージ影響を受ける版 → 修正版
LinuxLinux —
LinuxKernel
4.19.305 以上 4.20 未満→ 4.20
5.4.267 以上 5.5 未満→ 5.5
5.10.208 以上 5.10.275 未満→ 5.10.275
5.15.147 以上 5.15.226 未満→ 5.15.226
6.1.72 以上 6.1.193 未満→ 6.1.193
6.6.11 以上 6.6.163 未満→ 6.6.163
6.7.0 以上 6.12.118 未満→ 6.12.118
6.13.0 以上 6.18.64 未満→ 6.18.64
6.19.0 以上 7.3.5 未満→ 7.3.5

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

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

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

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

mm: fix unmap_mapping_range() beyond 4 GiB on 32-bit

Commit 9eab0421fa94 ("mm: fix unmap_mapping_range high bits shift bug")
made holebegin and holelen unsigned before they are shifted, by casting
them to pgoff_t. That is an unsigned long: on a 32-bit kernel the cast
cuts off the upper half of the two loff_t values, so a hole which begins
at 4 GiB or beyond is taken for one in the first 4 GiB of the file.

truncate_pagecache() passes the new size of the file and asks for private
COWed pages to be unmapped as well. If a file of 6 GiB is truncated to
5 GiB, everything from 1 GiB on is unmapped, and what a process has
written to a private mapping of the range between 1 GiB and 5 GiB is
lost: it reads the contents of the file again.

Where the range has an end, the wrong range is unmapped instead of the
right one. The page cache copes with that, as it unmaps every folio that
it removes. The callers which only have unmap_mapping_range() to get
rid of user mappings do not, for example drm_vma_node_unmap(), whose fake
offsets reach beyond 4 GiB on 32-bit, and revoke_iomem() with physical
addresses of more than 32 bits.

Cast to u64 instead. Nothing changes for 64-bit kernels.

Fix generated by an LLM and sent by Josef Bacik in private.

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

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