CVE-2024-50116 is a Linux kernel vulnerability affecting the nilfs2 file system. It involves a kernel bug triggered by a missing clearing of the buffer delay flag when nilfs2 reads a corrupted file system image and degrades to read-only mode. This flaw can cause a kernel BUG_ON failure in the submit_bh_wbc() function due to state inconsistency in buffer flags. The issue arises because the buffer delay flag is not cleared properly when discarding pages or buffer heads. This bug does not occur during normal log writing operations. The vulnerability has a medium severity with a CVSS score of 5.5 and impacts system availability.