Kernel Update Procedure - pop-os/linux Wiki

In this case, 5.18.6 is used as the newest mainline. Replace with your desired kernel version.