PS

*paˁm- - leg (SED I No. 207)

“The semantic agreement between continental MSA and Ugaritic-Phoenician (...) might suggest that *paˁm- was the main designation of “foot” already in PS. If this assumption is correct, the meaning “hip”, normal for Akk. pēmu, must be innovative. On the other hand, the meaning of Soq. faˁm (’upper part of the back leg of goats and sheep’) comes notoriously close to that of the Akkadian lexeme. The same is true of the verbal root fˁm in Arabic (’to be thick in one’s shanks’). In such conditions, one cannot exclude that the meanings “upper leg”, “hip”, “thigh” reflect the most primitive situation, whereas generalization to “foot” took place independently in continental MSA and Canaanite.” (Kogan 2015:586-587)

phonetic split into pˁn ‘foot’ and pˀamt ‘times’ in Ugaritic

PC
*paˁm- (pl. *paˁam-āt-) - time (Kogan 2015: 301)

Akkadian
pēmu - thigh (CAD P 231, AHw. 854)
Ugaritic
pˁn - foot (DUL 660)
Phoenician
pˁm - foot (DNWS I928)
Hebrew
paˁam - foot (HALOT 952)
This meaning is only marginally attested for the word (Kogan 2015: 270)
Arabic
fˁm - to be full (of forearm, vessel); to be full-formed, thick (of woman) (BK 2 615, Lane 2421)

probably related

Mehri
fɛ̄m/fawm - foot; leg (ML 87)
The basic term for “foot” in MTO, MTjŠ, SAE III and IV (Kogan 2015: 501-502).
Jibbali
faˁm - foot (JL 51)
Harsusi
fām - foot, leg (HL 31)
Soqotri
fáˁam - upper part of the hind leg of an animal (CSOL I 532; Naumkin et al. 2013a:70; Bulakh 2022:210)