With what I have seen in recently, Barcelona and Real Madrid are doing well but Madrid are likely to fall off in this race. I don't know why the team is not moving, it's like having a V16 engine on a Toyota car that is condemned, that guy contribution for the team need to be rewarded with good defenders. I hope they do that now that we are getting into the January transfer, anything that stop them from doing the right thing means they are not ready to win the League.
Regarding January transfers, both clubs haven't yet decided on who they will seriously sign. There are only a few rumors.
Real Madrid has no financial issues, so it really depends on their needs and the suitability of the desired player. However, Barcelona is different; they may face even more financial constraints. However, if we look at it, since Hansi Flick arrived at Barcelona, he has only spent around €88 million, and they are currently top of La Liga, compared to other clubs with higher signing fees.
Source: Hansi Flick - Barcelona transfer