When copying a brush from a linked library to the current main, the fake user flag is set, but the user count is set to 0. This later means that saving such a file does not persist the brush datablock, and the associated invariants are violated. Related to / Found in #138105 Pull Request: https://projects.blender.org/blender/blender/pulls/138243