Description
In the Linux kernel, the following vulnerability has been resolved:
inet: frags: limit the truesize of a reassembly queue
The truesize of fragments in a reassembly queue is only bounded by the per netns ipfrag_high_thresh sysctl, which has no upper limit.
inet_frag_reasm_finish() sums the truesize of all fragments in an int. If this sum reaches 2^32, it wraps, and the final sk_wmem_alloc adjustment of the socket owning the reassembled skb can cancel its own reference, leading to a use-after-free of this socket.
This can be triggered from an unprivileged user/network namespace, raising ipfrag_high_thresh and using padded TUN packets, which keep a large truesize after being trimmed by ip_rcv_core().
Track the sum of the truesize of fragments in each queue, and refuse a fragment that would make it bigger than INT_MAX / 2. Callers kill the queue on this error. This bound is far above the needs of legitimate traffic.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 18685451fc4e546fc0e718580d32df3c0e5c8272, < b7f84486c44c2ce03dffe5f09a42a38acbaa1551; >= 18685451fc4e546fc0e718580d32df3c0e5c8272, < 3ae20e4697eb969104fe4b1e98a675f0100382b6; 1b6de5e6575b56502665c65cf93b0ae6aa0f51ab; 9705f447bf9a6cd088300ad2c407b5e1c6591091; 4318608dc28ef184158b4045896740716bea23f0; 7d0567842b78390dd9b60f00f1d8f838d540e325; f4877225313d474659ee53150ccc3d553a978727; e09cbe017311508c21e0739e97198a8388b98981; >= 5.4.285, < 5.5; >= 5.10.227, < 5.11; >= 5.15.168, < 5.16; >= 6.1.85, < 6.2; >= 6.6.26, < 6.7; >= 6.8.5, < 6.9 |
| Linux | Linux | 6.9 |
References
Timeline
- Published
- Nov 20, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Received