ipmr: account multicast table and route memory
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0264b3ee09b118fec8a5471b4ca288f8ab84722f, Kernel 20424f267c9dbdfcade28b2b2306767a7dfb43d1, Kernel 21e0749e8ef272ac7e3eefe0fa488a5983f4b038 and 5 more.
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").
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.35, >=f0ad0860d01e47a3ffd220564c5c653b3afbe962 <0264b3ee09b118fec8a5471b4ca288f8ab84722f, >=f0ad0860d01e47a3ffd220564c5c653b3afbe962 <20424f267c9dbdfcade28b2b2306767a7dfb43d1, >=f0ad0860d01e47a3ffd220564c5c653b3afbe962 <21e0749e8ef272ac7e3eefe0fa488a5983f4b038, >=f0ad0860d01e47a3ffd220564c5c653b3afbe962 <3e808d8dfebd8f114a747bd90c8f7d2a6fd7474f, >=f0ad0860d01e47a3ffd220564c5c653b3afbe962 <57c523e95ea2608a19e6bfcd664d641ddf7bc4b4, >=f0ad0860d01e47a3ffd220564c5c653b3afbe962 <b7ee18725f2292ab554aa96a101ae42d45f008bd, >=f0ad0860d01e47a3ffd220564c5c653b3afbe962 <d0a2e2a4ee6bfe51e398bfb6921a7d0f4c26bc1c, >=f0ad0860d01e47a3ffd220564c5c653b3afbe962 <ec1c6140394ee87127479bc500a3158b125bf07a | 0264b3ee09b118fec8a5471b4ca288f8ab84722f, 20424f267c9dbdfcade28b2b2306767a7dfb43d1, 21e0749e8ef272ac7e3eefe0fa488a5983f4b038, 3e808d8dfebd8f114a747bd90c8f7d2a6fd7474f, 57c523e95ea2608a19e6bfcd664d641ddf7bc4b4, b7ee18725f2292ab554aa96a101ae42d45f008bd, d0a2e2a4ee6bfe51e398bfb6921a7d0f4c26bc1c, ec1c6140394ee87127479bc500a3158b125bf07a |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket