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 vmalloctopage() which panics since the address does not lie in the vmalloc region.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52677.json",
"cna_assigner": "Linux"
}[
{
"id": "CVE-2023-52677-32b1b473",
"signature_version": "v1",
"digest": {
"function_hash": "268638750313671907224043781753586041413",
"length": 382.0
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d7a03052846f34d624d0ab41a879adf5e85c85f",
"signature_type": "Function",
"target": {
"file": "arch/riscv/kernel/patch.c",
"function": "patch_map"
}
},
{
"id": "CVE-2023-52677-3fbd74f5",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208479875197133415079922350855910724711",
"242241818114327939993039181332102510491",
"165837364818440174641255362215629101062",
"20988508475309090963142548273158316446"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@938f70d14618ec72e10d6fcf8a546134136d7c13",
"signature_type": "Line",
"target": {
"file": "arch/riscv/include/asm/sections.h"
}
},
{
"id": "CVE-2023-52677-47a3fdd7",
"signature_version": "v1",
"digest": {
"function_hash": "268638750313671907224043781753586041413",
"length": 382.0
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@938f70d14618ec72e10d6fcf8a546134136d7c13",
"signature_type": "Function",
"target": {
"file": "arch/riscv/kernel/patch.c",
"function": "patch_map"
}
},
{
"id": "CVE-2023-52677-7af292ee",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"285393940612668181617179722156616221133",
"97387713313868400375262546092315218140",
"126297514009497567614726258797142456742",
"216217846959718997937628433286160133363",
"234308516842492875558171503466695037030",
"115171549920852804032997276322317616244",
"111456482155995087401293002555040187995",
"50195398814195091403874776976159408906",
"5760910809092523827826783175836689916",
"76624573594447092053869187067122333890",
"44076664201263026934488338987746997328",
"117083950257780080901124202948470374409"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@420370f3ae3d3b883813fd3051a38805160b2b9f",
"signature_type": "Line",
"target": {
"file": "arch/riscv/kernel/patch.c"
}
},
{
"id": "CVE-2023-52677-83a74be6",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208479875197133415079922350855910724711",
"242241818114327939993039181332102510491",
"165837364818440174641255362215629101062",
"20988508475309090963142548273158316446"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@890cfe5337e0aaf03ece1429db04d23c88da72e7",
"signature_type": "Line",
"target": {
"file": "arch/riscv/include/asm/sections.h"
}
},
{
"id": "CVE-2023-52677-8bf9d647",
"signature_version": "v1",
"digest": {
"function_hash": "268638750313671907224043781753586041413",
"length": 382.0
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@890cfe5337e0aaf03ece1429db04d23c88da72e7",
"signature_type": "Function",
"target": {
"file": "arch/riscv/kernel/patch.c",
"function": "patch_map"
}
},
{
"id": "CVE-2023-52677-b230161d",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208479875197133415079922350855910724711",
"242241818114327939993039181332102510491",
"165837364818440174641255362215629101062",
"20988508475309090963142548273158316446"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d7a03052846f34d624d0ab41a879adf5e85c85f",
"signature_type": "Line",
"target": {
"file": "arch/riscv/include/asm/sections.h"
}
},
{
"id": "CVE-2023-52677-b357b241",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208479875197133415079922350855910724711",
"242241818114327939993039181332102510491",
"165837364818440174641255362215629101062",
"20988508475309090963142548273158316446"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8db56df4a954b774bdc68917046a685a9fa2e4bc",
"signature_type": "Line",
"target": {
"file": "arch/riscv/include/asm/sections.h"
}
},
{
"id": "CVE-2023-52677-d0c9b9bf",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208479875197133415079922350855910724711",
"242241818114327939993039181332102510491",
"165837364818440174641255362215629101062",
"20988508475309090963142548273158316446"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@420370f3ae3d3b883813fd3051a38805160b2b9f",
"signature_type": "Line",
"target": {
"file": "arch/riscv/include/asm/sections.h"
}
},
{
"id": "CVE-2023-52677-d0e365c0",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"285393940612668181617179722156616221133",
"97387713313868400375262546092315218140",
"126297514009497567614726258797142456742",
"216217846959718997937628433286160133363",
"234308516842492875558171503466695037030",
"115171549920852804032997276322317616244",
"111456482155995087401293002555040187995",
"50195398814195091403874776976159408906",
"5760910809092523827826783175836689916",
"76624573594447092053869187067122333890",
"44076664201263026934488338987746997328",
"117083950257780080901124202948470374409"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d7a03052846f34d624d0ab41a879adf5e85c85f",
"signature_type": "Line",
"target": {
"file": "arch/riscv/kernel/patch.c"
}
},
{
"id": "CVE-2023-52677-dd76ad76",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"285393940612668181617179722156616221133",
"97387713313868400375262546092315218140",
"126297514009497567614726258797142456742",
"216217846959718997937628433286160133363",
"234308516842492875558171503466695037030",
"115171549920852804032997276322317616244",
"111456482155995087401293002555040187995",
"50195398814195091403874776976159408906",
"5760910809092523827826783175836689916",
"76624573594447092053869187067122333890",
"44076664201263026934488338987746997328",
"117083950257780080901124202948470374409"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8db56df4a954b774bdc68917046a685a9fa2e4bc",
"signature_type": "Line",
"target": {
"file": "arch/riscv/kernel/patch.c"
}
},
{
"id": "CVE-2023-52677-e4ee2f32",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"285393940612668181617179722156616221133",
"97387713313868400375262546092315218140",
"126297514009497567614726258797142456742",
"5317996641992254433506447069711444009",
"234308516842492875558171503466695037030",
"115171549920852804032997276322317616244",
"111456482155995087401293002555040187995",
"50195398814195091403874776976159408906",
"5760910809092523827826783175836689916",
"76624573594447092053869187067122333890",
"44076664201263026934488338987746997328",
"117083950257780080901124202948470374409"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@890cfe5337e0aaf03ece1429db04d23c88da72e7",
"signature_type": "Line",
"target": {
"file": "arch/riscv/kernel/patch.c"
}
},
{
"id": "CVE-2023-52677-e60b1d97",
"signature_version": "v1",
"digest": {
"function_hash": "268638750313671907224043781753586041413",
"length": 382.0
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8db56df4a954b774bdc68917046a685a9fa2e4bc",
"signature_type": "Function",
"target": {
"file": "arch/riscv/kernel/patch.c",
"function": "patch_map"
}
},
{
"id": "CVE-2023-52677-f18beadc",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"285393940612668181617179722156616221133",
"97387713313868400375262546092315218140",
"126297514009497567614726258797142456742",
"5317996641992254433506447069711444009",
"234308516842492875558171503466695037030",
"115171549920852804032997276322317616244",
"111456482155995087401293002555040187995",
"50195398814195091403874776976159408906",
"5760910809092523827826783175836689916",
"76624573594447092053869187067122333890",
"44076664201263026934488338987746997328",
"117083950257780080901124202948470374409"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@938f70d14618ec72e10d6fcf8a546134136d7c13",
"signature_type": "Line",
"target": {
"file": "arch/riscv/kernel/patch.c"
}
},
{
"id": "CVE-2023-52677-fa3bbea5",
"signature_version": "v1",
"digest": {
"function_hash": "268638750313671907224043781753586041413",
"length": 382.0
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@420370f3ae3d3b883813fd3051a38805160b2b9f",
"signature_type": "Function",
"target": {
"file": "arch/riscv/kernel/patch.c",
"function": "patch_map"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52677.json"