In Genesis's account of Noah's Ark, Ham was the son identified as the father of Canaan. Genesis 9:18 names Ham as one of Noah's sons and specifically adds that he was the father of Canaan.
The statement occurs after the Flood, when Noah's sons are listed as Shem, Ham, and Japheth. Genesis 10 then presents a table of nations descended from the three brothers, including Canaanite groups associated with Ham's line.
This genealogy is not the same as saying that Canaan was one of Noah's sons. Canaan is presented as Ham's son and Noah's grandson. That family relationship is a common source of confusion when readers move between Genesis chapters 9 and 10.
The passage later became the subject of harmful interpretations used to justify slavery and racism. Those interpretations are not a neutral summary of the genealogy and are widely recognized as a misuse of the biblical text. The direct genealogical answer in Genesis is Ham.