drop_monitor: fix out-of-bounds write in reset_per_cpu_data()
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.
CVE-2026-98419
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98419
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "683703a26e4677db437a1480682851e27c7a154f",
"lessThan": "caf09c09e0f323015ab6777ed1bad5aa10688631",
"versionType": "git"
},
{
"status": "affected",
"version": "683703a26e4677db437a1480682851e27c7a154f",
"lessThan": "56b12f0cd476e4d90a0e2663a80102b388ebf78c",
"versionType": "git"
},
{
"status": "affected",
"version": "683703a26e4677db437a1480682851e27c7a154f",
"lessThan": "88d640efd655b10f9fa4e381caf777da1f17c2a6",
"versionType": "git"
},
{
"status": "affected",
"version": "683703a26e4677db437a1480682851e27c7a154f",
"lessThan": "d54a044136b129822715e8798899af540ec7a9e9",
"versionType": "git"
},
{
"status": "affected",
"version": "683703a26e4677db437a1480682851e27c7a154f",
"lessThan": "8a04047c6dbff2f49a561b1ff53b043f4807e855",
"versionType": "git"
},
{
"status": "affected",
"version": "683703a26e4677db437a1480682851e27c7a154f",
"lessThan": "530ae0a1458078c7a81fbffd9ff17d42129364d9",
"versionType": "git"
},
{
"status": "affected",
"version": "683703a26e4677db437a1480682851e27c7a154f",
"lessThan": "03b672eba4937ff18337049824a114012d57f202",
"versionType": "git"
},
{
"status": "affected",
"version": "683703a26e4677db437a1480682851e27c7a154f",
"lessThan": "439f392084f8f7f59ab9d47a9579185accefe1d8",
"versionType": "git"
}
],
"programFiles": [
"net/core/drop_monitor.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.31"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.31",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.271",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.222",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.189",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.54",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.8",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/core/drop_monitor.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98419
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #55591 · Revision 1
- Added to Heist Feed
- Publisher date