DragonFlyBSD Kernel Audit
DF-0744 / fix_run.log
← back to finding ↓ download raw
================== DF-0744 TEST 1: sticky-option corruption ==================
[baseline] sticky IPV6_PKTINFO after setsockopt:
  read-back                  ifindex=0 addr=0000:0000:0000:0000:0000:0000:0000:002a
[trigger]  sendmsg returned -1 (errno=22: Invalid argument)
[after]    sticky IPV6_PKTINFO after buggy sendmsg:
  read-back                  ifindex=0 addr=0000:0000:0000:0000:0000:0000:0000:002a

VERDICT: SAFE   - sticky IPV6_PKTINFO preserved.
corrupt exit=0

================== DF-0744 TEST 2: per-call M_IP6OPT leak ==================
--- baseline: ip6opt slab (vmstat -m) ---
before:              ip6opt       0       0       0    390M    3.91K
DF-0744 leak loop: 4000 iterations, expect ~80000 bytes of leaked M_IP6OPT (20 B/iter)
DF-0744 leak loop done: 4000 iterations complete.
leak exit=0
--- after: ip6opt slab (vmstat -m) ---
after:               ip6opt       0       0       0    390M    7.82K

(If ip6opt Count grew by ~4000 (== leaked struct in6_pkt_info per call), the leak reproduced.)