vulnerability
Ubuntu: (CVE-2022-49147): linux vulnerability
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
9 | (AV:N/AC:L/Au:S/C:C/I:N/A:C) | Feb 26, 2025 | Mar 19, 2025 | Mar 21, 2025 |
Severity
9
CVSS
(AV:N/AC:L/Au:S/C:C/I:N/A:C)
Published
Feb 26, 2025
Added
Mar 19, 2025
Modified
Mar 21, 2025
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
So, should 'disk->first_minor' be NR_EXT_DEVT, it would overflow.
Solution(s)
ubuntu-upgrade-linuxubuntu-upgrade-linux-awsubuntu-upgrade-linux-azureubuntu-upgrade-linux-azure-5-15ubuntu-upgrade-linux-gcpubuntu-upgrade-linux-gkeubuntu-upgrade-linux-hwe-5-15ubuntu-upgrade-linux-ibmubuntu-upgrade-linux-intel-iotgubuntu-upgrade-linux-intel-iotg-5-15ubuntu-upgrade-linux-kvmubuntu-upgrade-linux-lowlatencyubuntu-upgrade-linux-lowlatency-hwe-5-15ubuntu-upgrade-linux-oracleubuntu-upgrade-linux-raspiubuntu-upgrade-linux-realtime
References
- CVE-2022-49147
- https://attackerkb.com/topics/CVE-2022-49147
- URL-https://git.kernel.org/linus/d1868328dec5ae2cf210111025fcbc71f78dd5ca
- URL-https://git.kernel.org/stable/c/0f8cf8f5ccbad25ed6828875b222dbab29d5c272
- URL-https://git.kernel.org/stable/c/5b9ac3727e4abb11c9cfbe9c0781fc05dfdd7cfb
- URL-https://git.kernel.org/stable/c/d1868328dec5ae2cf210111025fcbc71f78dd5ca
- URL-https://git.kernel.org/stable/c/fbe2cc4525480ddd20c866bb5c0578071e01451a
- URL-https://www.cve.org/CVERecord?id=CVE-2022-49147

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.