Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2022 16:36:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262671] Kernel panics after a invalid SNDCTL_MIXERINFO ioctl
Message-ID:  <bug-262671-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262671

            Bug ID: 262671
           Summary: Kernel panics after a invalid SNDCTL_MIXERINFO ioctl
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: alex@alexslomka.xyz

Created attachment 232581
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232581&action=
=3Dedit
A patch that should fix brought up issue.

If you call the `SNDCTL_MIXERINFO` ioctl with a `oss_mixerinfo` structure w=
hich
has a uninitialized `dev` field, a kernel panic is triggered.

I know that in this case the `dev` field is expected to be set, but I still
think that the kernel should not panic if a malicious/bad program forgets to
set it.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262671-227>