Jiang Xu was from Tianshui Commandery, which is around present-day Tianshui, Gansu. He was very close to his relative, Yang Fu, whom he grew up with. Yang Fu served as a subordinate of Wei Kang, the Inspector of Liang Province. In 211, a coalition of warlords from northwestern China, under the leadership of Ma Chao and Han Sui, started a rebellion in Liang Province against the Han central government, which was headed by Cao Cao. Cao Cao's forces defeated Ma Chao and the coalition at the Battle of Tong Pass. In the subsequent years, Ma Chao, with support from the Qiang tribes and the warlord Zhang Lu, constantly raided and attacked the lands in Liang Province. At the time, Wei Kang was stationed in Liang Province's capital, Ji, which came under siege by Ma Chao. As the siege dragged on, Wei Kang took pity on the plight of the defenders and civilian population, so in 213 he surrendered to Ma Chao – against the advice of Zhao Ang, Yang Fu and his other subordinates. After taking over the city, Ma Chao killed Wei Kang, seized control of Liang Province, and forced Wei Kang's subordinates to submit to him. At the time, Jiang Xu held the appointment General Who Pacifies the Barbarians and was stationed in the county of Li. Yang Fu secretly harboured the intention of avenging Wei Kang, so when his wife died, he used her death as an excuse to take leave from work. He then visited Jiang Xu and his mother in Li county. During the visit, Yang Fu lamented about how Ma Chao had committed atrocities and occupied Liang Province illegitimately, and expressed his desire to get rid of Ma Chao. Jiang Xu's mother agreed with what Yang Fu said, and urged her son to support Yang Fu in the name of righteousness. Yang Fu and Jiang Xu secretly contacted several others, including Wei Kang's former subordinates, and made plans to force Ma Chao out of Liang Province. The others involved in the plot included: Jiang Yin, Zhao Ang, Yin Feng, Yao Qiong, Kong Xin, Li Jun, Wang Ling, Liang Kuan, Zhao Qu, Pang Gong, and Yang Fu's relatives Yang Yue and Yang Mo. In late 213, Jiang Xu and Yang Fu started a rebellion against Ma Chao in another county, Lu. At the same time, Zhao Qu and the others who were with Ma Chao in Ji City pretended to urge Ma Chao to suppress the rebellion. Ma Chao then led troops from Ji City to attack Lu County in an attempt to suppress the revolt. After failing to retake Lu County, Ma Chao decided to return to Ji City. However, while he was away, Zhao Qu, Liang Kuan and the others had seized control of Ji City and killed his wife and child. In anger, Ma Chao led his forces to attack Li County, where Jiang Xu's family members were. The defenders at Li County heard that Ma Chao had fled to Hanzhong Commandery after his defeat so they lowered their guard. They mistook Ma Chao for Jiang Xu, and unsuspectingly allowed him to enter. Ma Chao occupied Li County by force and captured Jiang Xu's mother and son. Jiang Xu's mother scolded Ma Chao, "You're an unfilial son who betrays his own father and a treacherous villain who murders his superior. Heaven and Earth will not forgive you. You should die immediately. How dare you look at me straight in the eye!" The enraged Ma Chao killed her and Jiang Xu's son and then burnt down Li County. Jiang Xu's subsequent fate was not recorded in history.