CVE-2023-3161

Source
https://cve.org/CVERecord?id=CVE-2023-3161
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3161.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-3161
Downstream
ALSA (1)
AZL (1)
CLSA (3)
DEBIAN (1)
OESA (5)
RHSA (6)
SUSE (15)
UBUNTU (1)
Related
Published
2023-06-12T00:00:00Z
Modified
2026-10-22T15:57:52Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-1335"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3161.json"
}
References

Affected packages

Git / github.com/torvalds/linux

Affected ranges

Type
GIT
Repo
https://github.com/torvalds/linux
Events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

Fixed in kernel 6.*
Fixed in kernel 6.2-rc7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3161.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-10-22T15:57:52Z"