bridge_ioctl() obtains ifp->if_softc without holding a lifetime reference. An ioctl racing bridge_clone_destroy() can resume after bridge_rtable_fini() frees sc_rthash and access the stale forwarding table. The confirmed BRDGDADDR path can turn this use-after-free into kernel memory corruption. The demonstrated security boundary is root in a VNET jail to the host kernel.
Add a short global admission lock and a per-bridge lifetime lock. Destruction first closes admission and drains active ioctls, and late ioctls fail with ENXIO. Keep sc_rthash alive until the same epoch callback that frees the softc. No ioctl command, user-visible structure, or ABI is changed.
Initial privileges and configuration: root inside a VNET jail, with if_bridge.ko loaded on the host. No user interaction is required.
Provisional CVSS v3.1: 7.5 High (CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H).
Automated-tool disclosure: OpenAI Codex (Daybreak Blue) assisted with patch review, porting, test orchestration, and preparation of this review. Existing research materials originally prepared with Claude were consulted; their exact model/version was not recorded in the supplied materials.
The lifetime invariant covers every command dispatched by bridge_ioctl(), including branches that temporarily release BRIDGE_LOCK. Destruction cannot free the hash or softc until admitted ioctls have drained, and no later ioctl can acquire a reference after sc_ioctl_dying is published.
This review establishes closure of the confirmed bridge_ioctl()/bridge_clone_destroy() lifetime race. It does not claim that unrelated parsing, STP, pfil, member-driver, or generic if_vmove() code in if_bridge is vulnerability-free.