Files
vuln-cve/data/2022/50xxx/CVE-2022-50101.json
T

264 lines
14 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-50101",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-06-18T10:57:27.412Z",
"datePublished": "2025-06-18T11:02:37.297Z",
"dateUpdated": "2026-08-05T08:57:27.086Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:57:27.086Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvideo: fbdev: vt8623fb: Check the size of screen before memset_io()\n\nIn the function vt8623fb_set_par(), the value of 'screen_size' is\ncalculated by the user input. If the user provides the improper value,\nthe value of 'screen_size' may larger than 'info->screen_size', which\nmay cause the following bug:\n\n[ 583.339036] BUG: unable to handle page fault for address: ffffc90005000000\n[ 583.339049] #PF: supervisor write access in kernel mode\n[ 583.339052] #PF: error_code(0x0002) - not-present page\n[ 583.339074] RIP: 0010:memset_orig+0x33/0xb0\n[ 583.339110] Call Trace:\n[ 583.339118] vt8623fb_set_par+0x11cd/0x21e0\n[ 583.339146] fb_set_var+0x604/0xeb0\n[ 583.339181] do_fb_ioctl+0x234/0x670\n[ 583.339209] fb_ioctl+0xdd/0x130\n\nFix the this by checking the value of 'screen_size' before memset_io()."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The bug is reached via the local FBIOPUT_VSCREENINFO ioctl on /dev/fb*, through do_fb_ioctl → fb_set_var → vt8623fb_set_par. It is not reachable from the network or adjacent protocols.\nAC:L - An attacker who can open the framebuffer device can reliably trigger the overflow by setting bits_per_pixel=0 (text mode) with a large xres_virtual*yres_virtual; check_var's memory check uses bpp and always computes mem=0 in text mode, so no race or uncontrolled condition is required.\nPR:L - There is no capability check on FBIOPUT_VSCREENINFO; access is gated only by /dev/fb* permissions (typically root:video 0660). An unprivileged local user in the video group or with seat/uaccess rights can open the device and invoke the ioctl.\nUI:N - Exploitation requires only issuing the ioctl from the attacker's own process; no victim action such as mounting a filesystem or opening a crafted file is needed.\nS:U - This is a standard in-kernel framebuffer driver bug that affects the host kernel authority only; it does not cross a VM, IOMMU, or other security boundary.\nC:H - The bug is a user-controlled out-of-bounds write via memset_io() past the mapped framebuffer. Per scoring guidance, memory-corruption primitives of this class are treated as enabling high confidentiality impact when exploitation is considered.\nI:H - memset_io() writes past info->screen_size into ioremapped framebuffer memory with an attacker-controlled length, which is an out-of-bounds write and is scored as high integrity impact.\nA:H - The demonstrated impact is a kernel page fault/oops in memset_io() when the write walks off the mapped region, which is a full availability compromise of the kernel."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/video/fbdev/vt8623fb.c"
],
"versions": [
{
"version": "558b7bd86c32978648cda5deb5c758d77ef0c165",
"lessThan": "73280a184aa2e1a625ce54ce761042955cc79cd0",
"status": "affected",
"versionType": "git"
},
{
"version": "558b7bd86c32978648cda5deb5c758d77ef0c165",
"lessThan": "52ad9bfeb8a0e62de30de6d39e8a49a72dd78150",
"status": "affected",
"versionType": "git"
},
{
"version": "558b7bd86c32978648cda5deb5c758d77ef0c165",
"lessThan": "d71528ccdc7ae8d7500d414091d27805c51407a2",
"status": "affected",
"versionType": "git"
},
{
"version": "558b7bd86c32978648cda5deb5c758d77ef0c165",
"lessThan": "bd8269e57621e5b38cc0b4bd2fa02e85c9f2a441",
"status": "affected",
"versionType": "git"
},
{
"version": "558b7bd86c32978648cda5deb5c758d77ef0c165",
"lessThan": "4a3cef1eaced13ba9b55381d46bfad937a3dac2c",
"status": "affected",
"versionType": "git"
},
{
"version": "558b7bd86c32978648cda5deb5c758d77ef0c165",
"lessThan": "b17caec5127bba6f90af92bcc85871df54548ac0",
"status": "affected",
"versionType": "git"
},
{
"version": "558b7bd86c32978648cda5deb5c758d77ef0c165",
"lessThan": "c7a3f41e4b133d4dd25bc996b69039b19a34d69d",
"status": "affected",
"versionType": "git"
},
{
"version": "558b7bd86c32978648cda5deb5c758d77ef0c165",
"lessThan": "ec0754c60217248fa77cc9005d66b2b55200ac06",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/video/fbdev/vt8623fb.c"
],
"versions": [
{
"version": "2.6.22",
"status": "affected"
},
{
"version": "0",
"lessThan": "2.6.22",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.14.291",
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.19.256",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.211",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.137",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.61",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.18.18",
"lessThanOrEqual": "5.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.19.2",
"lessThanOrEqual": "5.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.0",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.22",
"versionEndExcluding": "4.14.291"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.22",
"versionEndExcluding": "4.19.256"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.22",
"versionEndExcluding": "5.4.211"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.22",
"versionEndExcluding": "5.10.137"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.22",
"versionEndExcluding": "5.15.61"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.22",
"versionEndExcluding": "5.18.18"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.22",
"versionEndExcluding": "5.19.2"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.22",
"versionEndExcluding": "6.0"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/73280a184aa2e1a625ce54ce761042955cc79cd0"
},
{
"url": "https://git.kernel.org/stable/c/52ad9bfeb8a0e62de30de6d39e8a49a72dd78150"
},
{
"url": "https://git.kernel.org/stable/c/d71528ccdc7ae8d7500d414091d27805c51407a2"
},
{
"url": "https://git.kernel.org/stable/c/bd8269e57621e5b38cc0b4bd2fa02e85c9f2a441"
},
{
"url": "https://git.kernel.org/stable/c/4a3cef1eaced13ba9b55381d46bfad937a3dac2c"
},
{
"url": "https://git.kernel.org/stable/c/b17caec5127bba6f90af92bcc85871df54548ac0"
},
{
"url": "https://git.kernel.org/stable/c/c7a3f41e4b133d4dd25bc996b69039b19a34d69d"
},
{
"url": "https://git.kernel.org/stable/c/ec0754c60217248fa77cc9005d66b2b55200ac06"
}
],
"title": "video: fbdev: vt8623fb: Check the size of screen before memset_io()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}