The tragedy of the commons is somewhat distinct to regulation of things which directly cause harm (in the extreme example, murder) which we generally don't consider to be part of the 'free market'.
There are many shared resources that are easily exploitable by the free market. A central authority can create artificial markets on that resource to combat the exploitation by the free market, but it's still being heavily regulated which is not a free market characteristic.
One example of this is carbon credits with global warming, another is the Alaskan tradeable fishing quotas. Even following the common example of the Pilgrims, it was the enforcement of property regulations that solved the free-market exploitation of the land.
SOX and NOX markets as well. Carbon markets (as they exist), not so much, but mostly because of completely insane equivalencies baked in, and weird credit schemes.
In fact, free market socialists see property rights on any productive property as skewing markets to favor the owners, which leads to wealth disparity and disproportionate ownership, making it not a free market. We see that today with free-market capitalism and the top 1%, which is why we have social welfare programs in place to redistribute wealth.