Menu

Star on GitHub · 3.2k

CVE-2024-50048

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: fbcon: Fix a NULL pointer dereference issue in fbcon_putcs syzbot has found a NULL pointer dereference bug in fbcon.

Published Oct 21, 2024CWE-476EPSS 0.25%

Overview

CVE-2024-50048 is a medium-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

fbcon: Fix a NULL pointer dereference issue in fbcon_putcs

syzbot has found a NULL pointer dereference bug in fbcon.

Here is the simplified C reproducer:

struct param {

uint8_t type;

struct tiocl_selection ts;

};

int main()

{

struct fb_con2fbmap con2fb;

struct param param;

int fd = open("/dev/fb1", 0, 0);

con2fb.console = 0x19;

con2fb.framebuffer = 0;

ioctl(fd, FBIOPUT_CON2FBMAP, &con2fb);

param.type = 2;

param.ts.xs = 0; param.ts.ys = 0;

param.ts.xe = 0; param.ts.ye = 0;

param.ts.sel_mode = 0;

int fd1 = open("/dev/tty1", O_RDWR, 0);

ioctl(fd1, TIOCLINUX, &param);

con2fb.console = 1;

con2fb.framebuffer = 0;

ioctl(fd, FBIOPUT_CON2FBMAP, &con2fb);

return 0;

}

After calling ioctl(fd1, TIOCLINUX, &param), the subsequent ioctl(fd, FBIOPUT_CON2FBMAP, &con2fb)

causes the kernel to follow a different execution path:

set_con2fb_map

-> con2fb_init_display

-> fbcon_set_disp

-> redraw_screen

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-50048?

CVE-2024-50048 is a medium-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-50048?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-50048?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-50048?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-50048 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all