ipmr: account multicast table and route memory
In the Linux kernel, the following vulnerability has been resolved: ipmr: account multicast table and route memory A netadmin in a user+net namespace can create many IPv4 and IPv6 multicast routing tables with MRT_TABLE and MRT6_TABLE. Each unseen id allocates an mr_table via the shared mr_table_alloc(), links it into the per-net list, and leaves it until netns teardown. Those objects were not charged to memcg, so the host unreclaimable slab grows with the table count. Account mr_table allocations with GFP_KERNEL_ACCOUNT and mark the IPv4/IPv6 MFC caches SLAB_ACCOUNT. This matches the established handling of IP addresses, routes and alternate interface names. Unresolved MFC entries are still allocated from softIRQ with GFP_ATOMIC and are not charged. They expire after 10 seconds and are bounded by the socket receive queue; see commit 0079ad8e8dc3 ("ipmr: remove hard code cache_resolve_queue_len limit").
CVE-2026-97939
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-97939
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": "f0ad0860d01e47a3ffd220564c5c653b3afbe962",
"lessThan": "21e0749e8ef272ac7e3eefe0fa488a5983f4b038",
"versionType": "git"
},
{
"status": "affected",
"version": "f0ad0860d01e47a3ffd220564c5c653b3afbe962",
"lessThan": "ec1c6140394ee87127479bc500a3158b125bf07a",
"versionType": "git"
},
{
"status": "affected",
"version": "f0ad0860d01e47a3ffd220564c5c653b3afbe962",
"lessThan": "0264b3ee09b118fec8a5471b4ca288f8ab84722f",
"versionType": "git"
},
{
"status": "affected",
"version": "f0ad0860d01e47a3ffd220564c5c653b3afbe962",
"lessThan": "d0a2e2a4ee6bfe51e398bfb6921a7d0f4c26bc1c",
"versionType": "git"
},
{
"status": "affected",
"version": "f0ad0860d01e47a3ffd220564c5c653b3afbe962",
"lessThan": "b7ee18725f2292ab554aa96a101ae42d45f008bd",
"versionType": "git"
}
],
"programFiles": [
"net/ipv4/ipmr.c",
"net/ipv4/ipmr_base.c",
"net/ipv6/ip6mr.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.35"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.35",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/ipv4/ipmr.c",
"net/ipv4/ipmr_base.c",
"net/ipv6/ip6mr.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-97939
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48812 · Revision 1
- Added to Heist Feed
- Publisher date