On the wikipedia page for Kruskal-Szekeres coordinates, it states:
[Kruskal-Szekeres] coordinates have the advantage that they cover the entire spacetime manifold of the maximally extended Schwarzschild solution and are well-behaved everywhere outside the physical singularity.
In addition, when learning about singularities, it is often said that singularities are not part of the manifold - leading to incomplete geodesics (see e.g. Wald Chapter 9).
These two statements taken together seem to imply to me that KS coordinates cover the entire manifold in question and is well behaved everywhere on the manifold. The manifold in question though is (intrinsically) curved - the Schwarzschild solution has non-zero Riemann curvature. If KS coordinates cover the entirety of the manifold though, and is "well behaved" (which I assume here to mean it remains a 1-1 smooth mapping with inverse) everywhere over the manifold, then how can the manifold be curved? A 1-1 smooth mapping with inverse of the manifold onto $\mathbb{R}^4$ would imply that the manifold is diffeomorphic to $\mathbb{R}^4$ and therefore flat wouldn't it?
A lay out of the argument would be thus:
$\mathcal{M}$ is the manifold corresponding to the Schwarzschild solution.
The physical singularity does not exist on $\mathcal{M}$
The Kruskal-Szekeres chart $\psi:\mathcal{M}\rightarrow\mathbb{R}^4$ covers all of $\mathcal{M}$ and is well behaved everywhere except at the physical singularity.
From 2+3: the chart $\psi$ covers all of $\mathcal{M}$ and gives a 1-1, smooth, mapping of $\mathcal{M}$ onto $\mathbb{R}^4$
Therefore $\mathcal{M}$ is diffeomorphic to $\mathbb{R}^4$ and is flat.
The claim is obviously false, so what's the error in the logic? Does "well behaved" not mean what I think it means? Does the fact that a physical singularity "exists" albeit not on the manifold break the argument? I'm not really sure what other possibilities there are.