All MX master keys are recognized on Linux, but there aren't many extra keys, I don't think the official software lets you create macros either.
In any case, you usually don't need hardware-specific software to create macros on Linux because there are ways to remap keys and actions that are independent to the hardware used.