I put together this giant list of free Linux games a while back, which also catalogs if they are open-source and what license they are released under. From the Racing section, I would second @ryven@lemmy.dbzer0.com's suggestion for Sonic Robo Blast 2 Kart :)
Free and Open Source Software
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
The major ones are already listed, so I mention only a few lesser known ones:
There's a few, mostly closer to simulation than tux kart tho. A few that I'm fairly sure are under active development:
Speed Dreams. Can't easily find the github for this one.
Regarding speed dreams, there is an announcement from a month ago: current status
TL;DR So they are currently switching from SVN to GIT and maybe use forgejo to host the project
Sonic Roboblast 2 Kart and its successor Dr. Robotnik's Ring Racers are open source, and pretty fun! The exact degree to which they're free-as-in-libre depends somewhat on Sega's policy of turning a blind eye to fan games, so although GPL-2.0 permits commercial use I wouldn't recommend testing it.
There is a lively modding scene (or there was for SRB2K last time I was playing it; I haven't played RR yet). Ring Racers has single-player content if that's what you're looking for, I hear it's quite challenging.
Media files are proprietary and it's under the zlib license if that disqualifies anything, but for a somewhat decent experience, there is H-Craft Championship. Not the greatest of games considering it's a game that originally released in 2007 as a commercial game available for Linux (don't know about other platforms outside of the 2015 open source(?) release) by some seemingly random independent studio (Irrgheist), but fun enough I guess.