HomeFreeBSD

MFC r317806:

Description

MFC r317806:

The nandsim(4) simulator driver doesn't have any protection against
races at least in its ioctl handler, and at the same time it creates
device entry with 0666 permissions.

To plug possible issues in it:
- Mark it as needing Giant.
- Switch device mode to 0600.

Submitted by: C Turt
Reviewed by: imp
Security: Possible double free in ioctl handler
Approved by: re (marius)

Details

Provenance
glebiusAuthored on
Reviewer
imp
Parents
rS319726: MFC r318677:
Branches
Unknown
Tags
Unknown