Russia and North Korea have a newly signed defense pact (https://www.nytimes.com/2024/06/20/world/asia/china-russia-n...). I don't believe Russia and China do, though.
They are absolutely allies, though. Per Putin himself. https://www.reuters.com/world/putin-says-china-is-russias-al...
Russia desperately needs allies. Russia wants China to be their unconditional ally. Unfortunately for Putin, and fortunately for the rest of us, China cares primarily about China.