CVE-2022-49147
Last modified
CVE-2022-49147 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.11, < 5.15.33 |
| Linux | Linux Kernel | >= 5.16, < 5.16.19 |
| Linux | Linux Kernel | >= 5.17, < 5.17.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49147?
How severe is CVE-2022-49147?
How do I fix CVE-2022-49147?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49141In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49142In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49143Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-49144In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49145In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49146In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49148In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49149In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-4915Inappropriate implementation in URL Formatting in Google Chr…6.5
- CVE-2022-49150In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49151In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49152In the Linux kernel, the following vulnerability has been re…4.7
Are you affected by CVE-2022-49147?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
