{"id":"CVE-2026-98419","aliases":["CVE-2026-98419"],"related":[],"kind":"vulnerability","state":"published","title":"drop_monitor: fix out-of-bounds write in reset_per_cpu_data()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrop_monitor: fix out-of-bounds write in reset_per_cpu_data()\n\nIn reset_per_cpu_data(), al is computed as:\n\n    al = sizeof(struct net_dm_alert_msg);\n    al += dm_hit_limit * sizeof(struct net_dm_drop_point);\n    al += sizeof(struct nlattr);\n\n    skb = genlmsg_new(al, GFP_KERNEL);\n    ...\n    nla = nla_reserve(skb, NLA_UNSPEC, sizeof(struct net_dm_alert_msg));\n    ...\n    msg = nla_data(nla);\n    memset(msg, 0, al);\n\nBecause al includes sizeof(struct nlattr) (the 4-byte attribute header),\ngenlmsg_new() allocates al bytes of tailroom starting at nla.\nHowever, msg points to nla_data(nla), which is located\nsizeof(struct nlattr) bytes past nla. Calling memset(msg, 0, al)\ntherefore writes al bytes starting from msg, exceeding the allocated\nbuffer by sizeof(struct nlattr) (4 bytes) and corrupting\nskb_shared_info.\n\nFix this by letting al represent only the payload length, allocating\nthe skb with genlmsg_new(nla_total_size(al), GFP_KERNEL), and zeroing\nal bytes from msg.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrop_monitor: fix out-of-bounds write in reset_per_cpu_data()\n\nIn reset_per_cpu_data(), al is computed as:\n\n    al = sizeof(struct net_dm_alert_msg);\n    al += dm_hit_limit * sizeof(struct net_dm_drop_point);\n    al += sizeof(struct nlattr);\n\n    skb = genlmsg_new(al, GFP_KERNEL);\n    ...\n    nla = nla_reserve(skb, NLA_UNSPEC, sizeof(struct net_dm_alert_msg));\n    ...\n    msg = nla_data(nla);\n    memset(msg, 0, al);\n\nBecause al includes sizeof(struct nlattr) (the 4-byte attribute header),\ngenlmsg_new() allocates al bytes of tailroom starting at nla.\nHowever, msg points to nla_data(nla), which is located\nsizeof(struct nlattr) bytes past nla. Calling memset(msg, 0, al)\ntherefore writes al bytes starting from msg, exceeding the allocated\nbuffer by sizeof(struct nlattr) (4 bytes) and corrupting\nskb_shared_info.\n\nFix this by letting al represent only the payload length, allocating\nthe skb with genlmsg_new(nla_total_size(al), GFP_KERNEL), and zeroing\nal bytes from msg.","source":"cvelist"}],"published":"2026-10-14T13:27:49.005Z","modified":"2026-10-24T14:16:41.123Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"683703a26e4677db437a1480682851e27c7a154f","fixed":"caf09c09e0f323015ab6777ed1bad5aa10688631","status":"affected"},{"type":"git","introduced":"683703a26e4677db437a1480682851e27c7a154f","fixed":"56b12f0cd476e4d90a0e2663a80102b388ebf78c","status":"affected"},{"type":"git","introduced":"683703a26e4677db437a1480682851e27c7a154f","fixed":"88d640efd655b10f9fa4e381caf777da1f17c2a6","status":"affected"},{"type":"git","introduced":"683703a26e4677db437a1480682851e27c7a154f","fixed":"d54a044136b129822715e8798899af540ec7a9e9","status":"affected"},{"type":"git","introduced":"683703a26e4677db437a1480682851e27c7a154f","fixed":"8a04047c6dbff2f49a561b1ff53b043f4807e855","status":"affected"},{"type":"git","introduced":"683703a26e4677db437a1480682851e27c7a154f","fixed":"530ae0a1458078c7a81fbffd9ff17d42129364d9","status":"affected"},{"type":"git","introduced":"683703a26e4677db437a1480682851e27c7a154f","fixed":"03b672eba4937ff18337049824a114012d57f202","status":"affected"},{"type":"git","introduced":"683703a26e4677db437a1480682851e27c7a154f","fixed":"439f392084f8f7f59ab9d47a9579185accefe1d8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.31","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.31","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/caf09c09e0f323015ab6777ed1bad5aa10688631","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/56b12f0cd476e4d90a0e2663a80102b388ebf78c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/88d640efd655b10f9fa4e381caf777da1f17c2a6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d54a044136b129822715e8798899af540ec7a9e9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a04047c6dbff2f49a561b1ff53b043f4807e855","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/530ae0a1458078c7a81fbffd9ff17d42129364d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03b672eba4937ff18337049824a114012d57f202","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/439f392084f8f7f59ab9d47a9579185accefe1d8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98419","url":"https://www.cve.org/CVERecord?id=CVE-2026-98419","licence":"CVE Terms of Use","modified":"2026-10-24T14:08:45.212Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98419","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98419","licence":"Public domain","modified":"2026-10-24T14:16:41.123Z"}],"updatedAt":"2026-11-25T22:59:44.643Z","epss":{"score":0.00156,"percentile":0.0246,"date":"2026-11-30T12:00:22.000Z"}}