[Bug 262471] jail utility crashes when supplied -m and vnet parameter

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 10 Mar 2022 17:20:26 UTC

            Bug ID: 262471
           Summary: jail utility crashes when supplied -m and vnet
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: jcaplan@blackberry.com


Jail utility can crash in jailparam_free(), not sure if it's an issue with jail
passing bad inputs or something in libjail and jailparam_free()

Steps to Reproduce

# jail -c name=test persist vnet
# jail -m name=jail vnet vnet.interface=vmx0

Actual Results
Segmentation fault (core dumped)

Expected Results
Doesn't core

Build Date & Hardware
FreeBSD freebsd 13.0-RELEASE FreeBSD 13.0-RELEASE #7
releng/13.0-n244733-ea31abc261f-dirty: Wed Jul 21 14:53:10 UTC 2021    
jcaplan@freebsd:/usr/obj/usr/src/amd64.amd64/sys/DEBUG  amd64

You are receiving this mail because:
You are the assignee for the bug.