Hi and welcome

It sounds like you're uncomfortable with how your girlfriend talks about your mother. What do you think of setting a limit? If the conversation gets too uncomfortable for you, let your girlfriend know you'd like to change the topic or take a break. If she continues, simply excuse yourself from the room saying you need some alone time. It may be uncomfortable in the moment but in the long term it should be good for both you and your relationships. Whatever limits you create to protect yourself, it's important to be consistent with them or else it will send the wrong message and the pattern will continue.
My wife with BPD and I have a similar rule where we don't talk negatively about each other's family.
What do you think?