CVE-2023-3161 Integer overflow in Linux Kernel (fbcon)

Medium 5.5 Published Updated

A local attacker can cause a denial of service in the Linux Kernel by providing large font dimensions to the Framebuffer Console, triggering an out-of-bounds shift.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-3161?

CVE-2023-3161 is a medium-severity vulnerability in Fedoraproject Fedora, published on 12 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-682, CWE-1335

Which versions are affected by CVE-2023-3161?

It affects 3 products.

Products include Fedoraproject Fedora, Linux kernel, Redhat Enterprise Linux.

How do I fix CVE-2023-3161?

Apply the vendor's patch.

Is CVE-2023-3161 being exploited?

There is no known exploitation of CVE-2023-3161 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-27192, DEBIAN-CVE-2023-3161, GHSA-hx96-88f5-c8jv, UBUNTU-CVE-2023-3161.

Is CVE-2023-3161 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free