There were similar questions before, e.g. How do I install an old kernel? but this was in the pre jammy era.
Currently it seems that older packages gets removed from the package list on Canonical servers as they get superseded by newer packages. For example these are search results from jammy and lunar, they only return a couple of versions at best.
For comparison these are results from focal - many versions.
The antivirus that I'm using cannot release support for the newest kernel they day it becomes available. So as soon as I upgrade the kernel the antivirus switches off. I cannot upgrade "just a little" to the latest supported version as I used to do with focal, because they are no longer in the repository.
How do I work around this and install an older version that is supported by my antivirus?
Update 1
Answering to comments:
Please let me know what is missing from the question, and I'll add it. I'm trying to install the latest supported kernel apt install linux-image-5.15.0-67-generic
on Ubuntu jammy and getting this error:
E: Unable to locate package linux-image-5.15.0-67-generic
E: Couldn't find any package by glob 'linux-image-5.15.0-67-generic'
It's an industry standard AV solution, they just need time to get their product updated so there is always a few weeks lag. I do need it as per enterprise policy.
So the alternative to it is roll with the latest kernel and have the entire fleet unprotected for weeks each time the kernel bumps. We are on 3 years support contract anyway, so that's not something I can change and our security personnel is adamant that this is one of the best systems on the market, I have no reasons to doubt that, the fact that they do not have access to the kernel before it's released so they can run their test cycle, and the fact that their test cycle takes long seems plausible. It's also a fact, that this is what they say.