static inline unsigned long size_inside_page(unsigned long start,
					     unsigned long size)
{
	unsigned long sz;

	sz = PAGE_SIZE - (start & (PAGE_SIZE - 1));

	return min(sz, size);
}

The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.