Even when a hardware is too out of date for latest iOS, Apple still goes to support them, e.g. this iOS 15 security fix from May of this year supporting the _iPhone 6S_ [0].
I hope Google's Project Mainline helps somewhat in this regard, but it's hard to find any specific references to fixes. There was the 2020 Pixel 4a bootloop fix[1], but this was a fix for PR's sake, not to support security fixes.
0: https://support.apple.com/en-us/127114
1: https://www.androidauthority.com/pixel-4a-boot-loop-fix-3683...