5.5medium
null_blk: fix validation of block size
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from cedcafad8277b3a07e90bf2f68fff5c6b28a183e before 9625afe1dd4a158a14bb50f81af9e2dac634c0b1, from cedcafad8277b3a07e90bf2f68fff5c6b28a183e before 9b873bdaae64bddade9d8c6df23c8a31948d47d0, from cedcafad8277b3a07e90bf2f68fff5c6b28a183e before 2772ed2fc075eef7df3789906fc9dae01e4e132e, from cedcafad8277b3a07e90bf2f68fff5c6b28a183e before 08f03186b96e25e3154916a2e70732557c770ea7, from cedcafad8277b3a07e90bf2f68fff5c6b28a183e before f92409a9da02f27d05d713bff5f865e386cef9b3, from cedcafad8277b3a07e90bf2f68fff5c6b28a183e before c462ecd659b5fce731f1d592285832fd6ad54053, 4.14 Not affected: before 4.14, from 5.10.223 up to 5.10.*, from 5.15.164 up to 5.15.*, from 6.1.101 up to 6.1.*, from 6.6.42 up to 6.6.*, from 6.9.11 up to 6.9.* | CVE List |
| linux linux_kernel | before 5.10.223, from 5.11 before 5.15.164, from 5.16 before 6.1.101, from 6.2 before 6.6.42, from 6.7 before 6.9.11, 6.10 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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]
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: null_blk: corrige la validación del tamaño del bloque. El tamaño del bloque debe estar entre 512 y PAGE_SIZE y ser una potencia de 2. La verificación actual no valida esto, así que actualice la verificación. Sin este parche, null_blk tendría un error debido a la eliminación del puntero nulo cuando se carga con bs=1536 [1]. [axboe: elimine las llaves innecesarias y la comprobación != 0]
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-41077 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-41077 changed 2026-06-17 | Public domain |