DragonFlyBSD Kernel Audit
DF-0588 / baseline_repro.log
← back to finding ↓ download raw
########## DF-0588 UNPATCHED-BASELINE (#0) RUN ##########
## kern.version:
DragonFly 6.5-DEVELOPMENT #0: Thu Jul  2 06:02:54 UTC 2026
    root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC


## baseline mbufs:
7/146632 mbufs in use (current/max):

=== RUN A: 50 writes ===
[baseline] mbufs in use: 7
[after]    mbufs in use: 13207
[delta]    leaked mbufs: 13200 over 50 writes (~264 mbufs/write)
=== full netstat -m after run ===
13207/146632 mbufs in use (current/max):
256/33296 mbuf clusters in use (current/max)
0/8260 mbuf jumbo clusters in use (current/max)
7115 Kbytes allocated to network (5% of mb_map in use)
tun_leak exit=0

=== RUN B: 100 writes (continuation, proves unreclaimed) ===
[baseline] mbufs in use: 13207
[after]    mbufs in use: 39607
[delta]    leaked mbufs: 26400 over 100 writes (~264 mbufs/write)
=== full netstat -m after run ===
39607/146632 mbufs in use (current/max):
256/33296 mbuf clusters in use (current/max)
0/8260 mbuf jumbo clusters in use (current/max)
20315 Kbytes allocated to network (14% of mb_map in use)
tun_leak exit=0