Note:
This project will be discontinued after December 13, 2021. [more]
2019-07-26
In the Linux kernel before 5.2.3, drivers/block/floppy.c allows a denial of service by setup_format_params division-by-zero. Two consecutive ioctls can trigger the bug: the first one should set the drive geometry with .sect and .rate values that make F_SECT_PER_TRACK be zero. Next, the floppy format operation should be called. It can be triggered by an unprivileged local user even when a floppy disk has not been inserted. NOTE: QEMU creates the floppy device by default.
Products | Linux_kernel |
Type | Divide By Zero (CWE-369) |
First patch | - None (likely due to unavailable code) |
Links |
• https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.2.3
• https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f3554aeb991214cbfafd17d55e2bfddb50282e32 • https://www.debian.org/security/2019/dsa-4495 • https://github.com/torvalds/linux/commit/f3554aeb991214cbfafd17d55e2bfddb50282e32 |