CVE-2022-49147
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
block: Fix the maximum minor value is blk_alloc_ext_minor()
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 22ae8ce8b89241c94ac00c237752c0ffa37ba5ae | affected | git | 5b9ac3727e4abb11c9cfbe9c0781fc05dfdd7cfb | Unavailable | None listed |
| 22ae8ce8b89241c94ac00c237752c0ffa37ba5ae | affected | git | 0f8cf8f5ccbad25ed6828875b222dbab29d5c272 | Unavailable | None listed |
| 22ae8ce8b89241c94ac00c237752c0ffa37ba5ae | affected | git | fbe2cc4525480ddd20c866bb5c0578071e01451a | Unavailable | None listed |
| 22ae8ce8b89241c94ac00c237752c0ffa37ba5ae | affected | git | d1868328dec5ae2cf210111025fcbc71f78dd5ca | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.11 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.11 | Unavailable | None listed |
| 5.15.33 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 5.16.19 | unaffected | semver | Unavailable | 5.16.* | None listed |
| 5.17.2 | unaffected | semver | Unavailable | 5.17.* | None listed |
| 5.18 | unaffected | original_commit_for_fix | Unavailable | * | None listed |