---
id: CVE-2026-98419
title: |-
  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_l…
summary: |-
  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_l…
severity: medium
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T14:17:53.290'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98419'
references:
  - url: 'https://git.kernel.org/stable/c/03b672eba4937ff18337049824a114012d57f202'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/439f392084f8f7f59ab9d47a9579185accefe1d8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/530ae0a1458078c7a81fbffd9ff17d42129364d9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/56b12f0cd476e4d90a0e2663a80102b388ebf78c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/88d640efd655b10f9fa4e381caf777da1f17c2a6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8a04047c6dbff2f49a561b1ff53b043f4807e855'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/caf09c09e0f323015ab6777ed1bad5aa10688631'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d54a044136b129822715e8798899af540ec7a9e9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98419.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98419'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2552188'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98419'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98419'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98419.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ingestedAt: '2026-10-14T15:36:13.988Z'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 683703a26e4677db437a1480682851e27c7a154f <
    caf09c09e0f323015ab6777ed1bad5aa10688631
  - >-
    Linux >= 683703a26e4677db437a1480682851e27c7a154f <
    56b12f0cd476e4d90a0e2663a80102b388ebf78c
  - >-
    Linux >= 683703a26e4677db437a1480682851e27c7a154f <
    88d640efd655b10f9fa4e381caf777da1f17c2a6
  - >-
    Linux >= 683703a26e4677db437a1480682851e27c7a154f <
    d54a044136b129822715e8798899af540ec7a9e9
  - >-
    Linux >= 683703a26e4677db437a1480682851e27c7a154f <
    8a04047c6dbff2f49a561b1ff53b043f4807e855
  - >-
    Linux >= 683703a26e4677db437a1480682851e27c7a154f <
    530ae0a1458078c7a81fbffd9ff17d42129364d9
  - >-
    Linux >= 683703a26e4677db437a1480682851e27c7a154f <
    03b672eba4937ff18337049824a114012d57f202
  - >-
    Linux >= 683703a26e4677db437a1480682851e27c7a154f <
    439f392084f8f7f59ab9d47a9579185accefe1d8
  - Linux 2.6.31
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-787
epss: 0.00162
epssPercentile: 0.05291
scores:
  vendor: 5.5
  cna: 7
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-10-24 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98419.json)
