In the Linux kernel before 6.1.2, kernel/module/decompress.c misinterprets the modulegetnext_page return value (expects it to be NULL in the error case, whereas it is actually an error pointer).
[
{
"id": "CVE-2023-22997-1fef1f81",
"signature_version": "v1",
"digest": {
"function_hash": "79700834409142886089760814165391409338",
"length": 973.0
},
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/45af1d7aae7d5520d2858f8517a1342646f015db",
"signature_type": "Function",
"target": {
"file": "kernel/module/decompress.c",
"function": "module_xz_decompress"
}
},
{
"id": "CVE-2023-22997-3543a028",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"232660925865899277146249206463473691572",
"246670048235001194962264558065231188918",
"93501990226038233015817485932252549553",
"257511704255728973656599765541237151769",
"266618223458257096833583787902182399051",
"40634539981122102991613878379595588924",
"246670048235001194962264558065231188918",
"282743113957127749475257980357018585916",
"17376347360898227286364314980076061673",
"335327952662024727401142178705256397665"
]
},
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/45af1d7aae7d5520d2858f8517a1342646f015db",
"signature_type": "Line",
"target": {
"file": "kernel/module/decompress.c"
}
},
{
"id": "CVE-2023-22997-85ab7362",
"signature_version": "v1",
"digest": {
"function_hash": "317477496610493671705791756189118890987",
"length": 1107.0
},
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/45af1d7aae7d5520d2858f8517a1342646f015db",
"signature_type": "Function",
"target": {
"file": "kernel/module/decompress.c",
"function": "module_gzip_decompress"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22997.json"