cheek up to

Fortgeschritten (C1) informal

To be rude and overly confident directly to someone — usually someone older or more important than you.

"The boy was sent out of class for cheeking up to his history teacher."