As nouns the difference between malfunction and dysfunction is that malfunction is faulty functioning while dysfunction is a failure to function in an expected or complete manner usually refers to a disorder in a bodily organ (eg erectile dysfunction), a mental disorder, or the improper behavior of a social group.
As a verb malfunction is to function improperly.