OpenWRT kmod for zabbly kernels

I’m running OpenWRT 25.12 in IncusOS (using the linuxcontainers image), and nearly everything is working great except when I try to install any kmod packages (I’m specifically trying to get kmod-jool-netfilter, but the connection tracking on the Realtime Graphs page doesn’t work and I now suspect kmod-nf-conntrack might be the culprit) they don’t seem to work. I strongly suspect this is because the packages have been compiled against the Linux 6.12 kernel, but my IncusOS is running 6.17.10-zabbly+

I’ve tried a few different methods of compiling the kmod-jool-netfilter package against a 6.17 kernel without success (mostly because kernel / kmod compiling is out of my wheelhouse).

I’m hoping someone here with more knowledge about how these sorts of things interact can point me down the right path. I have a lot of questions, but don’t really know which ones I should be asking.

Like: OpenWRT is obviously mostly working even though the kernel doesn’t match. Are we just incredibly lucky that most of those kmod packages from 6.12 somehow work? Or is there some magic in the distrobuilder config that’s making that all come together?

If there is some sort of distrobuilder magic happening so that the OpenWRT source targeting 6.12 can still run on 6.17, can that somehow be applied to the kmod-jool-netfilter package? Like can I change some distrobuilder config to add specific packages like the OpenWRT Firmware Selector into my resulting OpenWRT image?

Sorry again that is a bit of an edge case, but I’m also just genuinely curious how the OpenWRT image from linuxcontainers seems to be working fine on a newer kernel if the kmod packages don’t.