/[base]
ViewVC logotype

Revision 344857


Jump to revision: Previous Next
Author: cem
Date: Wed Mar 6 22:56:49 2019 UTC (5 years, 3 months ago)
Changed paths: 1
Log Message:
FUSE: Prevent trivial panic

When open(2) was invoked against a FUSE filesystem with an unexpected flags
value (no O_RDONLY / O_RDWR / O_WRONLY), an assertion fired, causing panic.

For now, prevent the panic by rejecting such VOP_OPENs with EINVAL.

This is not considered the correct long term fix, but does prevent an
unprivileged denial-of-service.

PR:		236329
Reported by:	asomers
Reviewed by:	asomers
Sponsored by:	Dell EMC Isilon


Changed paths

Path Details
Directoryhead/sys/fs/fuse/fuse_vnops.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27