"does that mean that I should install an older cuda toolkit? "
No. Take a look at table 3: CUDA Toolkit and Corresponding Driver Versions
Install latest driver (you haven't mentioned your driver version) and latest cuda toolkit (you have done that: version 11.6.2) as mentioned by the link.
In my case (running Arch Linux):
installed driver 510.60.02 and matching cuda toolkit 11.6.1
as mentioned in table 3:
CUDA 11.6 Update 1 >=510.47.03 >=511.65
No. Take a look at table 3: CUDA Toolkit and Corresponding Driver Versions
Install latest driver (you haven't mentioned your driver version) and latest cuda toolkit (you have done that: version 11.6.2) as mentioned by the link.
In my case (running Arch Linux):
installed driver 510.60.02 and matching cuda toolkit 11.6.1
as mentioned in table 3:
CUDA 11.6 Update 1 >=510.47.03 >=511.65