Apply Smart Filters in Photoshop - Adobe Inc.
To add an empty mask, select the Smart Object layer, and then click the Filter Mask button in the Masks panel. To add a mask based on a selection, make a selection, and then right-click (Windows) or Control-click (Mac OS) the Smart Filters line in the Layers panel, and choose Add Filter Mask.