1. Archivio CVE
  2. 2022
  3. CVE-2022-49147

CVE-2022-49147

5.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 5.5 – Media

Descrizione

In the Linux kernel, the following vulnerability has been resolved: block: Fix the maximum minor value is blk_alloc_ext_minor() ida_alloc_range(..., min, max, ...) returns values from min to max, inclusive. So, NR_EXT_DEVT is a valid idx returned by blk_alloc_ext_minor(). This is an issue because in device_add_disk(), this value is used in: ddev->devt = MKDEV(disk->major, disk->first_minor); and NR_EXT_DEVT is '(1 << MINORBITS)'. So, should 'disk->first_minor' be NR_EXT_DEVT, it would overflow.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 5.11 < 5.15.33 –
linux linux kernel >= 5.16 < 5.16.19 –
linux linux kernel >= 5.17 < 5.17.2 –
Tutte le 23.461 vulnerabilità di Linux Kernel