Menu

Star on GitHub · 3.2k

CVE-2024-43893

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: serial: core: check uartclk for zero to avoid divide by zero Calling ioctl TIOCSSERIAL with an invalid baud_base can result in…

Published Aug 26, 2024CWE-369EPSS 0.26%

Overview

CVE-2024-43893 is a medium-severity vulnerability. It was published on August 26, 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:

serial: core: check uartclk for zero to avoid divide by zero

Calling ioctl TIOCSSERIAL with an invalid baud_base can

result in uartclk being zero, which will result in a

divide by zero error in uart_get_divisor(). The check for

uartclk being zero in uart_set_info() needs to be done

before other settings are made as subsequent calls to

ioctl TIOCSSERIAL for the same port would be impacted if

the uartclk check was done where uartclk gets set.

Oops: divide error: 0000 PREEMPT SMP KASAN PTI

RIP: 0010:uart_get_divisor (drivers/tty/serial/serial_core.c:580)

Call Trace:

<TASK>

serial8250_get_divisor (drivers/tty/serial/8250/8250_port.c:2576

drivers/tty/serial/8250/8250_port.c:2589)

serial8250_do_set_termios (drivers/tty/serial/8250/8250_port.c:502

drivers/tty/serial/8250/8250_port.c:2741)

serial8250_set_termios (drivers/tty/serial/8250/8250_port.c:2862)

uart_change_line_settings (./include/linux/spinlock.h:376

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-43893?

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

How severe is CVE-2024-43893?

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-43893?

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-43893?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-43893 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