Page MenuHomeFreeBSD

netinet6: perform out-of-bounds check for lo0 multicast statitics
ClosedPublic

Authored by melifaro on Jul 4 2022, 8:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 27, 4:41 PM
Unknown Object (File)
Sun, Jan 26, 6:09 PM
Unknown Object (File)
Wed, Jan 22, 7:35 PM
Unknown Object (File)
Sat, Jan 11, 5:11 AM
Unknown Object (File)
Dec 8 2024, 8:40 AM
Unknown Object (File)
Dec 6 2024, 2:01 PM
Unknown Object (File)
Nov 25 2024, 3:46 PM
Unknown Object (File)
Nov 19 2024, 6:31 PM
Subscribers

Details

Summary

Currently, some per-mbuf multicast statistic is stored in per-interface ip6stat.ip6s_m2m[] array of size 32 (IP6S_M2MMAX).
Check that loopback ifindex falls within 0.. IP6S_M2MMAX-1 range to avoid silent data corruption.
the latter cat happen with large number of VNETs.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46263
Build 43152: arc lint + arc unit