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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
cedcafad8277b3a07e90bf2f68fff5c6b28a183e to < 9625afe1dd4a158a14bb50f81af9e2dac634c0b1affectedcedcafad8277b3a07e90bf2f68fff5c6b28a183e to < 9b873bdaae64bddade9d8c6df23c8a31948d47d0affectedcedcafad8277b3a07e90bf2f68fff5c6b28a183e to < 2772ed2fc075eef7df3789906fc9dae01e4e132eaffectedcedcafad8277b3a07e90bf2f68fff5c6b28a183e to < 08f03186b96e25e3154916a2e70732557c770ea7affectedcedcafad8277b3a07e90bf2f68fff5c6b28a183e to < f92409a9da02f27d05d713bff5f865e386cef9b3affectedcedcafad8277b3a07e90bf2f68fff5c6b28a183e to < c462ecd659b5fce731f1d592285832fd6ad54053affected
Linux Linux
Default version status: affected
4.14affected0 to < 4.14unaffected5.10.223 to ≤ 5.10.*unaffected5.15.164 to ≤ 5.15.*unaffected6.1.101 to ≤ 6.1.*unaffected6.6.42 to ≤ 6.6.*unaffected6.9.11 to ≤ 6.9.*unaffected6.10 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/9625afe1dd4a158a14bb50f81af9e2dac634c0b1 ↗
- https://git.kernel.org/stable/c/9b873bdaae64bddade9d8c6df23c8a31948d47d0 ↗
- https://git.kernel.org/stable/c/2772ed2fc075eef7df3789906fc9dae01e4e132e ↗
- https://git.kernel.org/stable/c/08f03186b96e25e3154916a2e70732557c770ea7 ↗
- https://git.kernel.org/stable/c/f92409a9da02f27d05d713bff5f865e386cef9b3 ↗
- https://git.kernel.org/stable/c/c462ecd659b5fce731f1d592285832fd6ad54053 ↗
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html ↗