Gen. 36:14 says that Aholibamah, Esau's third wife, had a son named Korah:
And these were the sons of Aholibamah, the daughter of Anah the daughter of Zibeon, Esau's wife: and she bare to Esau Jeush, and Jaalam, and Korah. (KJV)
Then in verses 15 and 16 a "duke Korah" is listed as a "son of Adah", Esau's first wife:
These were dukes of the sons of Esau: the sons of Eliphaz the firstborn son of Esau; duke Teman, duke Omar, duke Zepho, duke Kenaz, duke Korah, duke Gatam, and duke Amalek: these are the dukes that came of Eliphaz in the land of Edom; these were the sons of Adah.
Then again in verse 18, Korah is mentioned as the son of Aholibamah:
And these are the sons of Aholibamah Esau's wife; duke Jeush, duke Jaalam, duke Korah: these were the dukes that came of Aholibamah the daughter of Anah, Esau's wife.
Is Korah the son of Adah or Aholibamah?