
A quick way to settle this is to recall that R, L, and C are always grouped together as the three canonical passive linear elements taught at the start of any circuits course, and to treat every semiconductor device as suspect until checked.
The defining equations of the resistor, inductor, and capacitor,
\[ v=iR,\qquad v=L\frac{di}{dt},\qquad i=C\frac{dv}{dt} \]are each a constant multiplied by a variable or its derivative, the signature of linearity: doubling the current doubles the voltage (or vice versa) in every case, with no thresholds and no piecewise breaks.
The diode, on the other hand, conducts current in only one direction and blocks it in the other, an inherently switching, non-proportional behavior. Even the ideal (zero forward-drop) diode model used here is nonlinear, since it still has two completely different regimes (short circuit versus open circuit) depending on the sign of the current or voltage, which no single linear equation can capture.
So among the four elements shown, only R, L, and C are linear.
\[ \boxed{\text{R, L, and C only}} \]