batman-adv: fix fragment reassembly length accounting
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 610bfc6bc99bc83680d190ebc69359a05fc7f605 · < 3eb8bcb823391bd58997831b3c9c152a4ba8e255| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: fix fragment reassembly length accounting
batman-adv keeps a running payload length for queued fragments and uses it to validate a fragment chain before reassembly.
That accounting currently allows the accumulated fragment length to be truncated during updates. As a result, malformed fragment chains can bypass the intended validation and drive reassembly with inconsistent length state, leading to a local denial of service.
Fix the accounting by storing the accumulated length in a length-typed field and rejecting update overflows before the existing validation logic runs.
The fix was verified against the original reproducer and against valid fragment reassembly paths.
From the CVE record · Linux
The Linux kernel’s batman-adv fragment reassembly code can truncate its accumulated fragment length, allowing malformed fragment chains to bypass validation. This can lead to a local denial of service. The input does not specify authentication or user-interaction requirements.
Engineers running Linux kernels with batman-adv should check their versions; affected versions are not specified.