Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-43893

MEDIUM 5.5EPSS 22%

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

Mitigation

  • Upgrade Linux to 6eabce6608d6f3440f4c03aa3d3ef50a47a3d193 or later.

Who should check

  • Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3bbd90fca824e6fd61fb20f6dd2b0fa5f8b14bba; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 55b2a5d331a6ceb1c4372945fdb77181265ba24f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 52b138f1021113e593ee6ad258ce08fe90693a9e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9196e42a3b8eeff1707e6ef769112b4b6096be49; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e13ba3fe5ee070f8a9dab60029d52b1f61da5051; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e3ad503876283ac3fcca922a1bf243ef9eb0b0e2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 68dc02f319b9ee54dc23caba742a5c754d1cccc8; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6eabce6608d6f3440f4c03aa3d3ef50a47a3d193
  • Anyone running Linux 2.6.12

Vulnerability facts

Affected
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3bbd90fca824e6fd61fb20f6dd2b0fa5f8b14bba; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 55b2a5d331a6ceb1c4372945fdb77181265ba24f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 52b138f1021113e593ee6ad258ce08fe90693a9e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9196e42a3b8eeff1707e6ef769112b4b6096be49; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e13ba3fe5ee070f8a9dab60029d52b1f61da5051; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e3ad503876283ac3fcca922a1bf243ef9eb0b0e2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 68dc02f319b9ee54dc23caba742a5c754d1cccc8; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6eabce6608d6f3440f4c03aa3d3ef50a47a3d193; Linux 2.6.12
Fixed in
Linux 3bbd90fca824e6fd61fb20f6dd2b0fa5f8b14bba, Linux 55b2a5d331a6ceb1c4372945fdb77181265ba24f, Linux 52b138f1021113e593ee6ad258ce08fe90693a9e, Linux 9196e42a3b8eeff1707e6ef769112b4b6096be49, Linux 68dc02f319b9ee54dc23caba742a5c754d1cccc8, Linux 6eabce6608d6f3440f4c03aa3d3ef50a47a3d193
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.36% chance of exploitation in 30 days (percentile 22, 2026-11-26)
CWE
CWE-369
Published
Modified

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 ./include/linux/serial_core.h:608 drivers/tty/serial/serial_core.c:222) uart_port_startup (drivers/tty/serial/serial_core.c:342) uart_startup (drivers/tty/serial/serial_core.c:368) uart_set_info (drivers/tty/serial/serial_core.c:1034) uart_set_info_user (drivers/tty/serial/serial_core.c:1059) tty_set_serial (drivers/tty/tty_io.c:2637) tty_ioctl (drivers/tty/tty_io.c:2647 drivers/tty/tty_io.c:2791) __x64_sys_ioctl (fs/ioctl.c:52 fs/ioctl.c:907 fs/ioctl.c:893 fs/ioctl.c:893) do_syscall_64 (arch/x86/entry/common.c:52 (discriminator 1) arch/x86/entry/common.c:83 (discriminator 1)) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) Rule: add

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3bbd90fca824e6fd61fb20f6dd2b0fa5f8b14bba; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 55b2a5d331a6ceb1c4372945fdb77181265ba24f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 52b138f1021113e593ee6ad258ce08fe90693a9e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9196e42a3b8eeff1707e6ef769112b4b6096be49; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e13ba3fe5ee070f8a9dab60029d52b1f61da5051; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e3ad503876283ac3fcca922a1bf243ef9eb0b0e2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 68dc02f319b9ee54dc23caba742a5c754d1cccc8; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6eabce6608d6f3440f4c03aa3d3ef50a47a3d193—cvelist
Linux2.6.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-43893. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-43893.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3bbd90fca824e6fd61fb20f6dd2b0fa5f8b14bba; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 55b2a5d331a6ceb1c4372945fdb77181265ba24f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 52b138f1021113e593ee6ad258ce08fe90693a9e; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 3bbd90fca824e6fd61fb20f6dd2b0fa5f8b14bba, Linux 55b2a5d331a6ceb1c4372945fdb77181265ba24f, Linux 52b138f1021113e593ee6ad258ce08fe90693a9e, Linux 9196e42a3b8eeff1707e6ef769112b4b6096be49, Linux 68dc02f319b9ee54dc23caba742a5c754d1cccc8, Linux 6eabce6608d6f3440f4c03aa3d3ef50a47a3d193

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-43893 being exploited?

There is no confirmed exploitation: CVE-2024-43893 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-43893?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-43893?

Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3bbd90fca824e6fd61fb20f6dd2b0fa5f8b14bba; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 55b2a5d331a6ceb1c4372945fdb77181265ba24f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 52b138f1021113e593ee6ad258ce08fe90693a9e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9196e42a3b8eeff1707e6ef769112b4b6096be49; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e13ba3fe5ee070f8a9dab60029d52b1f61da5051; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e3ad503876283ac3fcca922a1bf243ef9eb0b0e2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 68dc02f319b9ee54dc23caba742a5c754d1cccc8; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6eabce6608d6f3440f4c03aa3d3ef50a47a3d193; Linux 2.6.12.

Is there a fix for CVE-2024-43893?

Yes. Fixed in Linux 3bbd90fca824e6fd61fb20f6dd2b0fa5f8b14bba, Linux 55b2a5d331a6ceb1c4372945fdb77181265ba24f, Linux 52b138f1021113e593ee6ad258ce08fe90693a9e, Linux 9196e42a3b8eeff1707e6ef769112b4b6096be49, Linux 68dc02f319b9ee54dc23caba742a5c754d1cccc8, Linux 6eabce6608d6f3440f4c03aa3d3ef50a47a3d193. Upgrade Linux to 6eabce6608d6f3440f4c03aa3d3ef50a47a3d193 or later.

How do I check if I'm affected by CVE-2024-43893?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors