KiCad DRC Error: Assertion failure (rule 'Disallow solder mask origin overrides')

I have a problem where the DRC in KiCad shows me the message above (199+ cases) but I can’t find the problem.

I had a few pads that actually had a solder_mask_margin override, and I replaced them and the error was gone. On other pads it didn’t show me an override in the program, but clearly showed me one in the .kicad_pcb file which I replaced with VSCode. This also helped in some cases but others were still left with errors.

I have a local library, that also had margins defined which I replaced as well. But after updating a footprint from the library it still had the same issues, no change at all.
Some of the errors are even on regular resistor pads. But not all resistors have the problem.

I really don’t know what to do.

I am using the AISLER design rules wich specify that no sold mask margin override is allowed.

Thanks in advance.

Here is my Version Information:

KiCad PCB Editor x86_64 on x86_64

Version: 9.0.2, release build

Libraries:
wxWidgets 3.2.6
FreeType 2.13.3
HarfBuzz 10.2.0
FontConfig 2.15.0
libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.64.0

Platform: macOS Sequoia Version 15.5 (Build 24F74), 64 bit, Little endian, wxMac
OpenGL: Intel Inc., Intel(R) Iris™ Plus Graphics OpenGL Engine, 2.1 INTEL-23.0.26

Build Info:
Date: May 7 2025 18:51:46
wxWidgets: 3.2.6 (wchar_t,wx containers)
Boost: 1.87.0
OCC: 7.8.1
Curl: 8.7.1
ngspice: 44.2
Compiler: Clang 16.0.0 with C++ ABI 1002
KICAD_IPC_API=ON