What’s Vulnerable › Vulnerabilities

CVE-2024-26955: nilfs2: prevent kernel bug at submit_bh_wbc()

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: prevent kernel bug at submit_bh_wbc() Fix a bug where nilfs_get_block() returns a successful status when searching and inserting the specified block both fail inconsistently. If this inconsistent behavior is not due to a previously fixed bug, then an unexpected race is occurring, so return a temporary error -EAGAIN instead. This prevents callers such as __block_write_begin_int() from requesting a read into a buffer that is not mapped, which would cause the BUG_ON check for the BH_Mapped flag in submit_bh_wbc() to fail.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.312, 5.10.215, 5.15.154, 5.4.274. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26955 or the next vulnerability affects your stack