What’s Vulnerable › Vulnerabilities

CVE-2024-41077: null_blk: fix validation of block size

Description

In the Linux kernel, the following vulnerability has been resolved: null_blk: fix validation of block size Block size should be between 512 and PAGE_SIZE and be a power of 2. The current check does not validate this, so update the check. Without this patch, null_blk would Oops due to a null pointer deref when loaded with bs=1536 [1]. [axboe: remove unnecessary braces and != 0 check]

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.223, 5.15.164, 6.1.101, 6.6.42. Check the vendor advisory for mitigations.

References

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