CVE-2022-49147
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
26/02/2025
Last modified:
15/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
block: Fix the maximum minor value is blk_alloc_ext_minor()<br />
<br />
ida_alloc_range(..., min, max, ...) returns values from min to max,<br />
inclusive.<br />
<br />
So, NR_EXT_DEVT is a valid idx returned by blk_alloc_ext_minor().<br />
<br />
This is an issue because in device_add_disk(), this value is used in:<br />
ddev->devt = MKDEV(disk->major, disk->first_minor);<br />
and NR_EXT_DEVT is &#39;(1
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.33 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 5.16.19 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.17 (including) | 5.17.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



