Let $K\subset \mathbb{R}^n$ be a closed convex cone with a nonempty interior. Let $f:K\to \mathbb{R}$ be a continuously differentiable function satisfying $\|\nabla f\|_\infty<\infty$ (if needed, you can further assume $\|\nabla f\|_{\text{Lip}}<\infty$).
Note that the interior of $K$ being nonempty implies that the linear span of all vectors in $K$ is $\mathbb{R}^n$. In this sense, we say that $K$ spans $\mathbb{R}^n$.
We also assume that $\nabla f$ exists on $ K$ including the boundary in the following sense: for any fixed $x \in K$, $f(y)-f(x) = (y-x)\cdot \nabla f(x) + o(|y-x|)$ for all $y\in K$ as $y\to x$. (Since $K$ spans $\mathbb{R}^n$, $\nabla f(x)$ is unqiue.)
But, we do not assume $f$ is bounded and $f$ is allowed to grow linearly.
Question: Is there a continuously differentiable function $F:\mathbb{R}^n\to\mathbb{R}$ such that $F|_K =f$ and $\|\nabla F\|_\infty<\infty$?
I looked at a few versions of Whitney's theorem, but either there is no control on $\nabla F$ or $\|f\|_\infty<\infty$ is required.
It would be great if there were published results to cite directly. If not, my naive attempt to prove this is to make those covering cubes in the proof of Whitney's theorems to scale along the cone.