Files
vuln-cve/data/2022/49xxx/CVE-2022-49948.json
T

426 lines
21 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-49948",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-06-18T10:57:27.382Z",
"datePublished": "2025-06-18T11:00:12.364Z",
"dateUpdated": "2026-10-15T21:31:17.598Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:56:50.380Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvt: Clear selection before changing the font\n\nWhen changing the console font with ioctl(KDFONTOP) the new font size\ncan be bigger than the previous font. A previous selection may thus now\nbe outside of the new screen size and thus trigger out-of-bounds\naccesses to graphics memory if the selection is removed in\nvc_do_resize().\n\nPrevent such out-of-memory accesses by dropping the selection before the\nvarious con_font_set() console handlers are called."
}
],
"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 - Exploitation requires local ioctl access to a virtual terminal device (KDFONTOP and TIOCLINUX), not network or adjacent-network reachability.\nAC:L - The attacker fully controls both prerequisites—setting a console selection and changing the font to a larger size—so the out-of-bounds write in imageblit can be triggered reliably without depending on external conditions.\nPR:L - KDFONTOP SET and TIOCL_SETSEL are permitted to the unprivileged owner of the controlling VT (current->signal->tty == tty); CAP_SYS_TTY_CONFIG/CAP_SYS_ADMIN are not required, matching other VT/fbcon scores.\nUI:N - The attacker performs the ioctls directly on their own VT session; no separate victim action is required.\nS:U - Impact is confined to the host kernel authority (memory corruption / DoS); there is no VM escape, IOMMU bypass, or other cross-boundary scope change.\nC:H - The bug is a confirmed out-of-bounds write (stack and vmalloc) via imageblit; per kernel CVSS guidance, such memory corruption can be leveraged for arbitrary disclosure primitives.\nI:H - Out-of-bounds writes past the framebuffer and into stack/adjacent memory enable corruption exploitable for control-flow hijacking, consistent with similar fast_imageblit/fbcon OOB-write CVEs.\nA:H - Triggering the path causes kernel KASAN reports and oopses (vmalloc/stack out-of-bounds in imageblit), which is a High availability impact."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/tty/vt/vt.c"
],
"versions": [
{
"version": "009e39ae44f4191188aeb6dfbf661b771dbbe515",
"lessThan": "c555cf04684fde39b5b0dd9fd80730030ee10c4a",
"status": "affected",
"versionType": "git"
},
{
"version": "009e39ae44f4191188aeb6dfbf661b771dbbe515",
"lessThan": "e9ba4611ddf676194385506222cce7b0844e708e",
"status": "affected",
"versionType": "git"
},
{
"version": "009e39ae44f4191188aeb6dfbf661b771dbbe515",
"lessThan": "f74b4a41c5d7c9522469917e3072e55d435efd9e",
"status": "affected",
"versionType": "git"
},
{
"version": "009e39ae44f4191188aeb6dfbf661b771dbbe515",
"lessThan": "1cf1930369c9dc428d827b60260c53271bff3285",
"status": "affected",
"versionType": "git"
},
{
"version": "009e39ae44f4191188aeb6dfbf661b771dbbe515",
"lessThan": "989201bb8c00b222235aff04e6200230d29dc7bb",
"status": "affected",
"versionType": "git"
},
{
"version": "009e39ae44f4191188aeb6dfbf661b771dbbe515",
"lessThan": "2535431ae967ad17585513649625fea7db28d4db",
"status": "affected",
"versionType": "git"
},
{
"version": "009e39ae44f4191188aeb6dfbf661b771dbbe515",
"lessThan": "c904fe03c4bd1f356a58797d39e2a5d0ca15cefc",
"status": "affected",
"versionType": "git"
},
{
"version": "009e39ae44f4191188aeb6dfbf661b771dbbe515",
"lessThan": "566f9c9f89337792070b5a6062dff448b3e7977f",
"status": "affected",
"versionType": "git"
},
{
"version": "e60f8fcce05042e8f8cea25ee81fecc1222114cf",
"status": "affected",
"versionType": "git"
},
{
"version": "5812a9bc9d68a82c2cc839f88e6f7a05093ab39d",
"status": "affected",
"versionType": "git"
},
{
"version": "863ad19fd654c485e3beec3575c4d74a1e74369e",
"status": "affected",
"versionType": "git"
},
{
"version": "dbc3fd44f957a39407e889287bf61fa0ef3ecc14",
"status": "affected",
"versionType": "git"
},
{
"version": "0b2a0a58ad22f9d6dfc641bc5ec46057493f22a5",
"status": "affected",
"versionType": "git"
},
{
"version": "9f2d48f0745f921040df91bfe8fa7f0339cd7497",
"status": "affected",
"versionType": "git"
},
{
"version": "3425e397fb23cc2e8e6fb8f5b8226dcb447e84dd",
"status": "affected",
"versionType": "git"
},
{
"version": "eeae0a12a16650ff494d5faefa371cd9e7079575",
"status": "affected",
"versionType": "git"
},
{
"version": "3.2.85",
"lessThan": "3.3",
"status": "affected",
"versionType": "semver"
},
{
"version": "3.10.105",
"lessThan": "3.11",
"status": "affected",
"versionType": "semver"
},
{
"version": "3.12.68",
"lessThan": "3.13",
"status": "affected",
"versionType": "semver"
},
{
"version": "3.16.40",
"lessThan": "3.17",
"status": "affected",
"versionType": "semver"
},
{
"version": "3.18.45",
"lessThan": "3.19",
"status": "affected",
"versionType": "semver"
},
{
"version": "4.1.36",
"lessThan": "4.2",
"status": "affected",
"versionType": "semver"
},
{
"version": "4.4.31",
"lessThan": "4.5",
"status": "affected",
"versionType": "semver"
},
{
"version": "4.8.7",
"lessThan": "4.9",
"status": "affected",
"versionType": "semver"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/tty/vt/vt.c"
],
"versions": [
{
"version": "4.9",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.9",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.9.328",
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.14.293",
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.19.258",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.213",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.142",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.66",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.19.8",
"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": "4.9",
"versionEndExcluding": "4.9.328"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9",
"versionEndExcluding": "4.14.293"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9",
"versionEndExcluding": "4.19.258"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9",
"versionEndExcluding": "5.4.213"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9",
"versionEndExcluding": "5.10.142"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9",
"versionEndExcluding": "5.15.66"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9",
"versionEndExcluding": "5.19.8"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9",
"versionEndExcluding": "6.0"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.2.85"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.10.105"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.12.68"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.16.40"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.18.45"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.1.36"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4.31"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.8.7"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/c555cf04684fde39b5b0dd9fd80730030ee10c4a"
},
{
"url": "https://git.kernel.org/stable/c/e9ba4611ddf676194385506222cce7b0844e708e"
},
{
"url": "https://git.kernel.org/stable/c/f74b4a41c5d7c9522469917e3072e55d435efd9e"
},
{
"url": "https://git.kernel.org/stable/c/1cf1930369c9dc428d827b60260c53271bff3285"
},
{
"url": "https://git.kernel.org/stable/c/989201bb8c00b222235aff04e6200230d29dc7bb"
},
{
"url": "https://git.kernel.org/stable/c/2535431ae967ad17585513649625fea7db28d4db"
},
{
"url": "https://git.kernel.org/stable/c/c904fe03c4bd1f356a58797d39e2a5d0ca15cefc"
},
{
"url": "https://git.kernel.org/stable/c/566f9c9f89337792070b5a6062dff448b3e7977f"
}
],
"title": "vt: Clear selection before changing the font",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-49948",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-15T21:29:48.514469Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-15T21:31:17.598Z"
}
}
]
}
}