In this article
Separate new device admission from the fate of resources acquired before a policy change.
The operational scenario
An operator removes device access from an inference worker and verifies that a new device open fails. The incident record then declares the running worker disconnected from the accelerator. That observation establishes a new-open boundary, but does not by itself establish what happened to a previously opened descriptor, an existing driver context or work already submitted through that context.
The trust-boundary mechanism
The documented cgroup v1 device controller enforces open and mknod restrictions using device type, major and minor identifiers and access modes. Those documented operations are narrower than every possible driver resource lifecycle. Linux file descriptors represent already opened resources. A test of acquiring a new descriptor therefore cannot substitute for observation of a resource that was acquired before the policy transition.
Define the control contract
Define the revocation objective explicitly: denying future acquisition, terminating the owning process, closing existing handles or establishing device-specific context teardown are different requirements. Record the actual cgroup generation and runtime mechanism; do not apply the cgroup v1 file interface blindly to a different implementation. The expected behavior of already established accelerator contexts needs vendor and runtime evidence rather than a generic access-denied message.
A step-by-step verification
First design a harmless fixture using an approved nonaccelerator test device where appropriate. Retain a handle before the policy transition and separately attempt a fresh open afterward. Observe the existing handle independently and close it through its owner. For accelerator-specific conclusions, use an authorized bounded driver fixture and explicitly inspect process and context teardown. Avoid changing production device policy merely to discover how a live job behaves.
Evidence required for acceptance
Acceptance requires the old handle identity, new-open result, owner lifecycle and the specific resource state the claim concerns. A denied fresh open supports only that acquisition observation until further evidence exists. Preserve whether cleanup completed, remained pending or could not be inspected. If termination is the chosen boundary, verify the actual owner and descendants rather than assuming a routing change or container label closed their resources.
Failure cases and limits
Existing-handle behavior depends on the device, driver and other enforcement layers; this review does not promise that every handle remains usable or that every driver ignores later checks. It rejects the stronger inference from a narrower test. A complete revocation statement must identify its resource and transition, while operational work submitted earlier may need a separately defined completion or abort policy.
Primary references and related reading
Separate new device admission from the fate of resources acquired before a policy change. Linux device controller operation scope; Linux open file creation and descriptor semantics.
The proposed investigation of device open denial existing handle revocation is a proposed control review; no live security test was executed. Related reading: Kubernetes device plugins: an allocated accelerator is an access contract, not a complete sandbox; Equipment security when joining a GPU pool.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.