KernelScan.io

HIGH Introduced in 2.6.31

drop_monitor AlertMsg Overflow

CVE-2026-98419

CVSS 7.0 / 10.0 NVD

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI9.8CRITICAL

01

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

02

Engine v0.9.0

Risk summary

A remote attacker can trigger a 4-byte out-of-bounds write in the kernel's drop monitor subsystem by causing sufficient packet drops to hit the configured alert threshold. This corrupts the skb_shared_info structure, potentially leading to kernel memory corruption, privilege escalation, or denial of service. The vulnerability is reachable over the network without authentication when drop monitoring is enabled.

Affectednet/core/drop_monitor.c (drop_monitor subsystem)

Vulnerability analysis

The drop monitor subsystem tracks packet drops and sends netlink alerts when a per-CPU hit limit is exceeded. In reset_per_cpu_data(), the code calculates a buffer size that incorrectly includes the netlink attribute header (4 bytes), allocates an skb with that size, then writes the full calculated length starting from the payload area — which begins after the header. This causes a 4-byte overflow past the allocated buffer into the skb_shared_info metadata. The fix adjusts the length to represent only the payload, uses nla_total_size() to account for the header during allocation, and zeroes only the payload length. An attacker on the network can trigger this by sending traffic that causes packet drops (e.g., to closed ports, malformed packets, or congestion), provided the drop monitor is configured with a hit limit — a common default in monitoring setups.

03

BranchIntroducedFixed inPatch commit
5.102.6.315.10.271caf09c09e0f3
5.152.6.315.15.22256b12f0cd476
6.12.6.316.1.18988d640efd655
6.122.6.316.12.1128a04047c6dbf
6.182.6.316.18.54530ae0a14580
6.62.6.316.6.158d54a044136b1
7.22.6.317.2.803b672eba493
mainline2.6.317.3439f392084f8
cip/4.192.6.314.19.325-cip137fd3e9c0e9a41
cip/4.19-rt2.6.314.19.325-cip137-rt51fd3e9c0e9a41
cip/4.42.6.314.4.302-cip116d6942a336177
cip/5.102.6.315.10.271-cip78caf09c09e0f3
cip/5.10-rt2.6.315.10.272-cip79-rt35caf09c09e0f3
cip/6.12.6.316.1.189-cip6188d640efd655
cip/6.1-rt2.6.316.1.189-cip61-rt3288d640efd655
cip/6.122.6.316.12.112-cip338a04047c6dbf

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.271-cip78
cip/5.10-rtFixed in 5.10.272-cip79-rt35
cip/4.19Fixed in 4.19.325-cip137
cip/4.19-rtFixed in 4.19.325-cip137-rt51
cip/4.4Fixed in 4.4.302-cip116
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)