CVE-2024-50191 addresses a vulnerability in the Linux kernel's ext4 filesystem handling where the SB_RDONLY flag was set after filesystem errors when mounted with errors=remount-ro. This practice bypassed proper locking and remount procedures, leading to filesystem freezing warnings. The fix stops setting SB_RDONLY and relies on EXT4_FLAGS_SHUTDOWN to prevent modifications after errors.