[Bug 256815] panic in pfi_kkif_update() when setting interface name same as group

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Jun 2021 17:50:41 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256815

            Bug ID: 256815
           Summary: panic in pfi_kkif_update() when setting interface name
                    same as group
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs_at_FreeBSD.org
          Reporter: jcaplan_at_blackberry.com

Overview
--------

pfi_kkif_update() is recursive. It can be made to get stuck in a loop.

Steps to reproduce
------------------

ifconfig vmx1 name testing group testing


Actual Results
--------------

panic

Expected Results
----------------

Don't allow the name and group to be the same and return error


Build Date & Hardware
---------------------

FreeBSD freebsd 13.0-RELEASE FreeBSD 13.0-RELEASE #6
releng/13.0-n244733-ea31abc261f: Sat Jun 19 06:23:53 UTC 2021

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Thu Jun 24 2021 - 17:50:41 UTC

Original text of this message