CVSS 7.1 · High EPSS 0,17%
Kerentanan Out-of-bounds Read pada linux kernel. Skor CVSS 3.1 7.1 (High) menurut NVD.
In the Linux kernel, the following vulnerability has been resolved: jfs: jfs_dmap: Validate db_l2nbperpage while mounting In jfs_dmap.c at line 381, BLKTODMAP is used to get a logical block number inside dbFree(). db_l2nbperpage, which is the log2 number of blocks per page, is passed as an argument to BLKTODMAP which uses it for shifting. Syzbot reported a shift out-of-bounds crash because db_l2nbperpage is too big. This happens because the large value is set without any validation in dbMount() at line 181. Thus, make sure that db_l2nbperpage is correct while mounting. Max number of blocks per page = Page size / Min block size => log2(Max num_block per page) = log2(Page size / Min block size) = log2(Page size) - log2(Min block size) => Max db_l2nbperpage = L2PSIZE - L2MINBLOCKSIZE
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
· uraikan di kalkulator | Vendor | Produk | Versi terdampak |
|---|---|---|
| linux | linux kernel | Semua versi sebelum 4.14.322 |
| linux | linux kernel | Versi 4.15 hingga sebelum 4.19.291 |
| linux | linux kernel | Versi 4.20 hingga sebelum 5.4.251 |
| linux | linux kernel | Versi 5.5 hingga sebelum 5.10.188 |
| linux | linux kernel | Versi 5.11 hingga sebelum 5.15.121 |
| linux | linux kernel | Versi 5.16 hingga sebelum 6.1.40 |
| linux | linux kernel | Versi 6.2 hingga sebelum 6.4.5 |