HomeFreeBSD

MFC r340771: proto: change device permissions to 0600

Description

MFC r340771: proto: change device permissions to 0600

C Turt reports that the driver is not thread safe and may have
exploitable races.

Note that the proto device is intended for prototyping and development,
and is not for use on production systems. From the man page:

SECURITY CONSIDERATIONS

Because programs have direct access to the hardware, the proto
driver is inherently insecure.  It is not advisable to use this
driver on a production machine.

The proto device is not included in any of FreeBSD's kernel config files
(although the module is built).

The issues in the proto device still need to be fixed, and the device is
inherently (and intentionally) insecure, but it might as well be limited
to root only.

admbugs: 782
Reported by: C Turt <ecturt@gmail.com>
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS340914: blist_meta_alloc assumes that mask=scan->bm_bitmap is nonzero. But if the
Branches
Unknown
Tags
Unknown