Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 5d0fb9806ab6cf2c3cfba0e1b8c701da65e25af8 before 9532d0d0ad1d726c06f807e8f0f1ec93cbabb452; affected 9baf26a91565b7bb2b1d9f99aaf884a2b28c2f6d before 946bb6cacf0ccada7bc80f1cfa07c1ed79511c1c; affected 6ac890f1d60ac3707ee8dae15a67d9a833e49956 before 4172a7901cf43fe1cc63ef7a2ef33735ff7b7d13; affected 95597d11dc8bddb2b9a051c9232000bfbb5e43ba before 9b49c854f14f5e2d493e562a1e28d2e57fe37371; affected 950803f7254721c1c15858fbbfae3deaaeeecb11 before b7405dcf7385445e10821777143f18c3ce20fa04 |
| Linux / Linux | affected 6.18.19 before 6.18.20; affected 6.19.9 before 6.19.10 |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/9532d0d0ad1d726c06f807e8f0f1ec93cbabb452
- https://git.kernel.org/stable/c/946bb6cacf0ccada7bc80f1cfa07c1ed79511c1c
- https://git.kernel.org/stable/c/4172a7901cf43fe1cc63ef7a2ef33735ff7b7d13
- https://git.kernel.org/stable/c/9b49c854f14f5e2d493e562a1e28d2e57fe37371
- https://git.kernel.org/stable/c/b7405dcf7385445e10821777143f18c3ce20fa04