{"id":"CVE-2024-41077","aliases":["CVE-2024-41077"],"related":[],"kind":"vulnerability","state":"published","title":"null_blk: fix validation of block size","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnull_blk: fix validation of block size\n\nBlock size should be between 512 and PAGE_SIZE and be a power of 2. The current\ncheck does not validate this, so update the check.\n\nWithout this patch, null_blk would Oops due to a null pointer deref when\nloaded with bs=1536 [1].\n\n\n[axboe: remove unnecessary braces and != 0 check]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnull_blk: fix validation of block size\n\nBlock size should be between 512 and PAGE_SIZE and be a power of 2. The current\ncheck does not validate this, so update the check.\n\nWithout this patch, null_blk would Oops due to a null pointer deref when\nloaded with bs=1536 [1].\n\n\n[axboe: remove unnecessary braces and != 0 check]","source":"cvelist"},{"lang":"es","text":"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]","source":"nvd"}],"published":"2024-07-29T14:57:36.680Z","modified":"2026-06-17T07:47:13.963Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"cedcafad8277b3a07e90bf2f68fff5c6b28a183e","fixed":"9625afe1dd4a158a14bb50f81af9e2dac634c0b1","status":"affected"},{"type":"git","introduced":"cedcafad8277b3a07e90bf2f68fff5c6b28a183e","fixed":"9b873bdaae64bddade9d8c6df23c8a31948d47d0","status":"affected"},{"type":"git","introduced":"cedcafad8277b3a07e90bf2f68fff5c6b28a183e","fixed":"2772ed2fc075eef7df3789906fc9dae01e4e132e","status":"affected"},{"type":"git","introduced":"cedcafad8277b3a07e90bf2f68fff5c6b28a183e","fixed":"08f03186b96e25e3154916a2e70732557c770ea7","status":"affected"},{"type":"git","introduced":"cedcafad8277b3a07e90bf2f68fff5c6b28a183e","fixed":"f92409a9da02f27d05d713bff5f865e386cef9b3","status":"affected"},{"type":"git","introduced":"cedcafad8277b3a07e90bf2f68fff5c6b28a183e","fixed":"c462ecd659b5fce731f1d592285832fd6ad54053","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"5.10.223","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.164","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.101","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.42","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.11","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.10.223"},{"status":"affected","introduced":"5.11","fixed":"5.15.164"},{"status":"affected","introduced":"5.16","fixed":"6.1.101"},{"status":"affected","introduced":"6.2","fixed":"6.6.42"},{"status":"affected","introduced":"6.7","fixed":"6.9.11"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9625afe1dd4a158a14bb50f81af9e2dac634c0b1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b873bdaae64bddade9d8c6df23c8a31948d47d0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2772ed2fc075eef7df3789906fc9dae01e4e132e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08f03186b96e25e3154916a2e70732557c770ea7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f92409a9da02f27d05d713bff5f865e386cef9b3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c462ecd659b5fce731f1d592285832fd6ad54053","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:21:17.956Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-41077","url":"https://www.cve.org/CVERecord?id=CVE-2024-41077","licence":"CVE Terms of Use","modified":"2026-05-11T20:25:44.681Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-41077","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41077","licence":"Public domain","modified":"2026-06-17T07:47:13.963Z"}],"updatedAt":"2026-11-25T22:58:43.318Z","epss":{"score":0.00225,"percentile":0.14068,"date":"2026-12-01T12:00:22.000Z"}}