bonding: prevent potential infinite loop in bond_header_parse()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
b1f22a658a7b20bcb7d34d40cb2ef3e52847e2fb| No fix yet |
| Linux Linux |
| No fix yet |
In the Linux kernel, the following vulnerability has been resolved:
bonding: prevent potential infinite loop in bond_header_parse()
bond_header_parse() can loop if a stack of two bonding devices is setup, because skb->dev always points to the hierarchy top.
Add new "const struct net_device *dev" parameter to (struct header_ops)->parse() method to make sure the recursion is bounded, and that the final leaf parse method is called.
From the CVE record · Linux
The Linux kernel's bond_header_parse() can loop indefinitely when two bonding devices are stacked, because skb->dev continues to point to the top of the hierarchy. The input does not establish how an attacker could trigger the loop or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with stacked bonding devices should check their systems; affected versions are not specified.