The CRA obtains information about rental income through various means, such as data matching with property records and information received from third parties, including banks and financial institutions. They also conduct audits and investigations to ensure compliance with reporting requirements.