In the Linux kernel, the following vulnerability has been resolved:
riscv: Check if the code to patch lies in the exit section
Otherwise we fall through to vmalloc_to_page() which panics since the
address does not lie in the vmalloc region.
Vendor | Product | Version | CPE |
---|---|---|---|
linux | linux_kernel | * | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
linux | linux_kernel | * | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
linux | linux_kernel | * | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
linux | linux_kernel | * | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
linux | linux_kernel | * | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
[
{
"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": "043cb41a85de",
"lessThan": "938f70d14618",
"status": "affected",
"versionType": "git"
},
{
"version": "043cb41a85de",
"lessThan": "890cfe5337e0",
"status": "affected",
"versionType": "git"
},
{
"version": "043cb41a85de",
"lessThan": "8db56df4a954",
"status": "affected",
"versionType": "git"
},
{
"version": "043cb41a85de",
"lessThan": "1d7a03052846",
"status": "affected",
"versionType": "git"
},
{
"version": "043cb41a85de",
"lessThan": "420370f3ae3d",
"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": "custom"
},
{
"version": "5.15.148",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.75",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.14",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.7.2",
"lessThanOrEqual": "6.7.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.8",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/1d7a03052846f34d624d0ab41a879adf5e85c85f
git.kernel.org/stable/c/420370f3ae3d3b883813fd3051a38805160b2b9f
git.kernel.org/stable/c/890cfe5337e0aaf03ece1429db04d23c88da72e7
git.kernel.org/stable/c/8db56df4a954b774bdc68917046a685a9fa2e4bc
git.kernel.org/stable/c/938f70d14618ec72e10d6fcf8a546134136d7c13