I've successfully installed Parallels Tools doing the following:
1. Copy the Parallels Tools from the mounted cd image to a local directory, e.g. ~/Parallels Tools
2. Extract ~/Parallels Tools/kmods/prl_mod.tar.gz to some other folder and apply the following diff:
--- prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h.base 2024-11-21 12:17:24.000000000 +0000
+++ prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h 2024-11-21 12:17:58.000000000 +0000
@@ -58,7 +58,7 @@
#define OPENSUSE_4_4_76
#endif
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0)
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)
#define prl_get_user_pages(_1, _2, _3, _4) \
get_user_pages(_1, _2, (_3) ? FOLL_WRITE : 0, _4)
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) || defined(OPENSUSE_4_4_76)
3. After that re-create ~/Parallels Tools/kmods/prl_mod.tar.gz with the patched prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h file.
4. Now Parallel Tools will be able to build the kernel module successfully and install successfully.