The last syllable of lembas is clearly from (m)bas, 'bread'. The origin of the initial lem- is a little harder to pin down, but it probably derives from a root le(n)d-, 'go, travel', and so lembas is almost directly translated by the familiar 'waybread'.