CVE-2026-98419

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
14/10/2026
Last modified:
24/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> drop_monitor: fix out-of-bounds write in reset_per_cpu_data()<br /> <br /> In reset_per_cpu_data(), al is computed as:<br /> <br /> al = sizeof(struct net_dm_alert_msg);<br /> al += dm_hit_limit * sizeof(struct net_dm_drop_point);<br /> al += sizeof(struct nlattr);<br /> <br /> skb = genlmsg_new(al, GFP_KERNEL);<br /> ...<br /> nla = nla_reserve(skb, NLA_UNSPEC, sizeof(struct net_dm_alert_msg));<br /> ...<br /> msg = nla_data(nla);<br /> memset(msg, 0, al);<br /> <br /> Because al includes sizeof(struct nlattr) (the 4-byte attribute header),<br /> genlmsg_new() allocates al bytes of tailroom starting at nla.<br /> However, msg points to nla_data(nla), which is located<br /> sizeof(struct nlattr) bytes past nla. Calling memset(msg, 0, al)<br /> therefore writes al bytes starting from msg, exceeding the allocated<br /> buffer by sizeof(struct nlattr) (4 bytes) and corrupting<br /> skb_shared_info.<br /> <br /> Fix this by letting al represent only the payload length, allocating<br /> the skb with genlmsg_new(nla_total_size(al), GFP_KERNEL), and zeroing<br /> al bytes from msg.