Linux
batman-adv: fix integer overflow on buff_pos
In the Linux kernel, the following vulnerability has been resolved: batman-adv: fix integer overflow on buff_pos Fixing an integer overflow present in batadv_iv_ogm_send_to_if. The size check is done using the int type in batadv_iv_ogm_aggr_packet whereas the buff_pos variable uses the s16 type. This could lead to an out-of-bound read.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= c6c8fea29769d998d94fcec9b9f14d4b52b349d3, < 867cd090760e8f5cd206f387b47ff9c56fac04e9
- >= c6c8fea29769d998d94fcec9b9f14d4b52b349d3, < 10bb1f366d884d506c38a947b43026a75d1afe9a
- >= c6c8fea29769d998d94fcec9b9f14d4b52b349d3, < 96c9c0ed9a9579a9085765aceaa4556a6666eb82
- >= c6c8fea29769d998d94fcec9b9f14d4b52b349d3, < f61499359fa529f0d45a53bf7c573a49eb6322e6
- >= c6c8fea29769d998d94fcec9b9f14d4b52b349d3, < 974542d1efc48b7e9fe16184e647615cba39969b
- >= c6c8fea29769d998d94fcec9b9f14d4b52b349d3, < bf872db54f91ffe70104b98c20068b2d5910e018
- >= c6c8fea29769d998d94fcec9b9f14d4b52b349d3, < b252797bfced986d6d92ec2f4cfcca842ce8aa78
- >= c6c8fea29769d998d94fcec9b9f14d4b52b349d3, < 0799e5943611006b346b8813c7daf7dd5aa26bfd
Fixed in 867cd090760e8f5cd206f387b47ff9c56fac04e9, 10bb1f366d884d506c38a947b43026a75d1afe9a, 96c9c0ed9a9579a9085765aceaa4556a6666eb82, f61499359fa529f0d45a53bf7c573a49eb6322e6, 974542d1efc48b7e9fe16184e647615cba39969b, bf872db54f91ffe70104b98c20068b2d5910e018, b252797bfced986d6d92ec2f4cfcca842ce8aa78, 0799e5943611006b346b8813c7daf7dd5aa26bfd
- 2.6.38
Fixed in 0, 5.10.258, 5.15.209, 6.1.175, 6.6.140, 6.12.90, 6.18.32, 7.0.9, 7.1
Mitigation
Upgrade Linux to 867cd090760e8f5cd206f387b47ff9c56fac04e9 or 10bb1f366d884d506c38a947b43026a75d1afe9a or 96c9c0ed9a9579a9085765aceaa4556a6666eb82 or f61499359fa529f0d45a53bf7c573a49eb6322e6 or 974542d1efc48b7e9fe16184e647615cba39969b or bf872db54f91ffe70104b98c20068b2d5910e018 or b252797bfced986d6d92ec2f4cfcca842ce8aa78 or 0799e5943611006b346b8813c7daf7dd5aa26bfd or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.140 or 6.12.90 or 6.18.32 or 7.0.9 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.