A flaw was found in the Framebuffer Console (fbcon) in the Linux Kernel. When providing font->width and font->height greater than 32 to fbcon_set_font, since there are no checks in place, a shift-out-of-bounds occurs leading to undefined behavior and possible denial of service.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-1335"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3161.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "Fixed in kernel 6.2-rc7"
},
{
"last_affected": "Fixed in kernel 6.2-rc7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "2b09d5d364986f724f17001ccfe4126b9b43a0be"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3161.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"124272392246698317783120795423436082887",
"134229066719175183791918770676303388442",
"98584942807167272420032876425097977336",
"175451742690777329622590600195811777574",
"93305016619378937922988930595095334458"
],
"threshold": 0.9
},
"id": "CVE-2023-3161-797a504b",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/2b09d5d364986f724f17001ccfe4126b9b43a0be",
"target": {
"file": "drivers/video/fbdev/core/fbcon.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "314148282270194586891737488428413291590",
"length": 1801
},
"id": "CVE-2023-3161-b289097c",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/2b09d5d364986f724f17001ccfe4126b9b43a0be",
"target": {
"file": "drivers/video/fbdev/core/fbcon.c",
"function": "fbcon_set_font"
}
}
]
"2026-10-16T08:44:00Z"