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-&gt;devt = MKDEV(disk-&gt;major, disk-&gt;first_minor);<br /> and NR_EXT_DEVT is &amp;#39;(1

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)