blob: 99c278d9d9a2d61d19413303f277063ee0ceffbc [file] [log] [blame]
{
"containers": {
"cna": {
"providerMetadata": {
"orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: Check if the code to patch lies in the exit section\n\nOtherwise we fall through to vmalloc_to_page() which panics since the\naddress does not lie in the vmalloc region."
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"arch/riscv/include/asm/sections.h",
"arch/riscv/kernel/patch.c",
"arch/riscv/kernel/vmlinux-xip.lds.S",
"arch/riscv/kernel/vmlinux.lds.S"
],
"versions": [
{
"version": "043cb41a85de1c0e944da61ad7a264960e22c865",
"lessThan": "938f70d14618ec72e10d6fcf8a546134136d7c13",
"status": "affected",
"versionType": "git"
},
{
"version": "043cb41a85de1c0e944da61ad7a264960e22c865",
"lessThan": "890cfe5337e0aaf03ece1429db04d23c88da72e7",
"status": "affected",
"versionType": "git"
},
{
"version": "043cb41a85de1c0e944da61ad7a264960e22c865",
"lessThan": "8db56df4a954b774bdc68917046a685a9fa2e4bc",
"status": "affected",
"versionType": "git"
},
{
"version": "043cb41a85de1c0e944da61ad7a264960e22c865",
"lessThan": "1d7a03052846f34d624d0ab41a879adf5e85c85f",
"status": "affected",
"versionType": "git"
},
{
"version": "043cb41a85de1c0e944da61ad7a264960e22c865",
"lessThan": "420370f3ae3d3b883813fd3051a38805160b2b9f",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"arch/riscv/include/asm/sections.h",
"arch/riscv/kernel/patch.c",
"arch/riscv/kernel/vmlinux-xip.lds.S",
"arch/riscv/kernel/vmlinux.lds.S"
],
"versions": [
{
"version": "5.7",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.7",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.148",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.75",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.14",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.7.2",
"lessThanOrEqual": "6.7.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.8",
"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": "5.7",
"versionEndExcluding": "5.15.148"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.7",
"versionEndExcluding": "6.1.75"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.7",
"versionEndExcluding": "6.6.14"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.7",
"versionEndExcluding": "6.7.2"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.7",
"versionEndExcluding": "6.8"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/938f70d14618ec72e10d6fcf8a546134136d7c13"
},
{
"url": "https://git.kernel.org/stable/c/890cfe5337e0aaf03ece1429db04d23c88da72e7"
},
{
"url": "https://git.kernel.org/stable/c/8db56df4a954b774bdc68917046a685a9fa2e4bc"
},
{
"url": "https://git.kernel.org/stable/c/1d7a03052846f34d624d0ab41a879adf5e85c85f"
},
{
"url": "https://git.kernel.org/stable/c/420370f3ae3d3b883813fd3051a38805160b2b9f"
}
],
"title": "riscv: Check if the code to patch lies in the exit section",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
"cveID": "CVE-2023-52677",
"requesterUserId": "gregkh@kernel.org",
"serial": "1",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.0"
}