本文へ移動
English version →
高 7.1

Linux Kernelの32ビット環境でmremapの脆弱性、データが消失するおそれ

CVE-2024-53111 SecPulse初出

概要

Linux Kernelのmremap処理には、32ビット環境で整数のあふれ(ラップアラウンド)が起きる脆弱性があります。エラーで処理が中断され、匿名ページの内容が失われるおそれがあります。影響を受けるのは6.7.0以降6.11.10未満で、6.11.10に修正版が公開されています。

AI要約

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

Linux kernel という製品で、CVE-2024-53111 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに old_addr のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
データの不正な改ざんを許す可能性があります。重要度は CVSS スコア 7.1/10 です。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「Linux kernel CVE-2024-53111」を検索してください。

CVE-2024-53111 (Linux kernel) — CWE-190 / CVSS v3 7.1
攻撃ベクター: ローカル / 被害者操作不要
脆弱箇所: old_addr / len
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

Linux kernel に 脆弱性 (CWE-190) があります。攻撃者は old_addr を経由して脆弱な処理に到達できます。

影響範囲

Linux kernel の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: old_addr / len。

重要度

重要度: 重要 (CVSS 7.1/10)。データの不正な改ざんを許す可能性があります。

修正方法

ベンダー公式アドバイザリの修正版に更新してください。

暫定回避

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

検知方法

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

対応アクション

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

  1. 1
    影響範囲の特定identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで Linux kernel を使っているサービスとバージョンを洗い出す。

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

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

影響パッケージ

パッケージ影響を受ける版 → 修正版
LinuxKernel
6.7.0 以上 6.11.10 未満→ 6.11.10

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

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

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

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

mm/mremap: fix address wraparound in move_page_tables()

On 32-bit platforms, it is possible for the expression len + old_addr < old_end to be false-positive if len + old_addr wraps around.
old_addr is the cursor in the old range up to which page table entries
have been moved; so if the operation succeeded, old_addr is the end of
the old region, and adding len to it can wrap.

The overflow causes mremap() to mistakenly believe that PTEs have been
copied; the consequence is that mremap() bails out, but doesn't move the
PTEs back before the new VMA is unmapped, causing anonymous pages in the
region to be lost. So basically if userspace tries to mremap() a
private-anon region and hits this bug, mremap() will return an error and
the private-anon region's contents appear to have been zeroed.

The idea of this check is that old_end - len is the original start
address, and writing the check that way also makes it easier to read; so
fix the check by rearranging the comparison accordingly.

(An alternate fix would be to refactor this function by introducing an
"orig_old_start" variable or such.)

Tested in a VM with a 32-bit X86 kernel; without the patch:

user@horn:~/big_mremap$ cat test.c
#define _GNU_SOURCE
#include 
#include 
#include 
#include 

#define ADDR1 ((void*)0x60000000)
#define ADDR2 ((void*)0x10000000)
#define SIZE          0x50000000uL

int main(void) {
  unsigned char *p1 = mmap(A…

出典: NIST National Vulnerability Database NVD

参照URL

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