Skip to content

Optimize mount access control primitives #5

Closed
@Danny-Wei

Description

@Danny-Wei

Problem

Attackers may call mount() with a fake fstype to bypass checks for bind mount, remount, and move mount.

Related issues: MountRule fstype misconfiguration #12

Solution

Adjust the logic of mount access control, checking fstype only when mounting new devices or forcing the fstype to 'none' for remount, bind, move etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions