CVE-2026-98419 in Linux情報

要約

〜によって VulDB • 2026年10月14日

Linuxカーネルにおいて、以下の脆弱性が修正されました。

drop_monitor: reset_per_cpu_data() における配列外書き込みの修正

reset_per_cpu_data() では、`al` が以下のように計算されます:

al = sizeof(struct net_dm_alert_msg); al += dm_hit_limit * sizeof(struct net_dm_drop_point); al += sizeof(struct nlattr);

skb = genlmsg_new(al, GFP_KERNEL); ... nla = nla_reserve(skb, NLA_UNSPEC, sizeof(struct net_dm_alert_msg)); ... msg = nla_data(nla); memset(msg, 0, al);

`al` は `sizeof(struct nlattr)`(4バイトの属性ヘッダ)を含んでいるため、`genlmsg_new()` は `nla` から始まる tailroom に `al` バイトを割り当てます。しかし、`msg` は `nla_data(nla)` を指しており、これは `nla` の先頭から `sizeof(struct nlattr)` バイト分だけ離れた位置にあります。したがって、`memset(msg, 0, al)` を呼び出すと、`msg` から始まる `al` バイトが書き込まれ、割り当てられたバッファを `sizeof(struct nlattr)`(4バイト)分超えてしまい、`skb_shared_info` が破損します。

この問題を修正するため、`al` はペイロードの長さのみを表すようにし、`genlmsg_new(nla_total_size(al), GFP_KERNEL)` で skb を割り当て、`msg` から `al` バイトをゼロクリアするようにしました。

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

責任者

Linux

予約する

2026年09月25日

モデレーション

承諾済み

エントリ

VDB-419867

EPSS

0.00000

アクティビティ

非常低い

ソース

Do you want to use VulDB in your project?

Use the official API to access entries easily!