Ok, you are combining 'stuck' with 'up', which isn't correct here. The truck is stuck (up to its axle) in mud. 'Up to' - used to indicate a level of something.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.