Thanks to the mainline
utility you can install the very latest mainline Linux kernel on Ubuntu 22.04 and 22.10.
sudo su
add-apt-repository ppa:cappelikan/ppa -y
apt update
apt install mainline -y
mainline --check
mainline --install-latest
You will now see the mainline installer:
root@k:/home/k# mainline --install-latest
mainline 1.1.7
Distribution: Ubuntu 22.10
Architecture: amd64
Running kernel: 6.2.2-060202-generic
Updating from: 'https://kernel.ubuntu.com/~kernel-ppa/mainline/'
OK
Found installed : 5.19.0.35.32
Latest point update: 6.2.6
Install Kernel Version 6.2.6 ? (y/n):
Just press “y” then “enter”, reboot and enjoy your new kernel!