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).
[
{
"target": {
"function": "module_xz_decompress",
"file": "kernel/module/decompress.c"
},
"id": "CVE-2023-22997-1fef1f81",
"deprecated": false,
"digest": {
"length": 973.0,
"function_hash": "79700834409142886089760814165391409338"
},
"signature_type": "Function",
"source": "https://github.com/torvalds/linux/commit/45af1d7aae7d5520d2858f8517a1342646f015db",
"signature_version": "v1"
},
{
"target": {
"file": "kernel/module/decompress.c"
},
"id": "CVE-2023-22997-3543a028",
"deprecated": false,
"digest": {
"line_hashes": [
"232660925865899277146249206463473691572",
"246670048235001194962264558065231188918",
"93501990226038233015817485932252549553",
"257511704255728973656599765541237151769",
"266618223458257096833583787902182399051",
"40634539981122102991613878379595588924",
"246670048235001194962264558065231188918",
"282743113957127749475257980357018585916",
"17376347360898227286364314980076061673",
"335327952662024727401142178705256397665"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://github.com/torvalds/linux/commit/45af1d7aae7d5520d2858f8517a1342646f015db",
"signature_version": "v1"
},
{
"target": {
"function": "module_gzip_decompress",
"file": "kernel/module/decompress.c"
},
"id": "CVE-2023-22997-85ab7362",
"deprecated": false,
"digest": {
"length": 1107.0,
"function_hash": "317477496610493671705791756189118890987"
},
"signature_type": "Function",
"source": "https://github.com/torvalds/linux/commit/45af1d7aae7d5520d2858f8517a1342646f015db",
"signature_version": "v1"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-22997.json"