In the Linux kernel before 5.2.3, drivers/block/floppy.c allows a denial of service by setupformatparams 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 FSECTPER_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.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-14284.json"
[
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f3554aeb991214cbfafd17d55e2bfddb50282e32",
"digest": {
"function_hash": "204399303880089822060616551261551530450",
"length": 1590.0
},
"id": "CVE-2019-14284-12729794",
"deprecated": false,
"target": {
"file": "drivers/block/floppy.c",
"function": "setup_format_params"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f3554aeb991214cbfafd17d55e2bfddb50282e32",
"digest": {
"line_hashes": [
"285689691698058719205193041238987982974",
"303834594221094912639405355708703966209",
"276472035157608202331381554606313849938",
"63074713822049021041975444164746847966",
"129357876913025437023870845194339371685",
"137897374624417333801725255522730955129",
"227195770050582839158394767058129395635"
],
"threshold": 0.9
},
"id": "CVE-2019-14284-2b6ed080",
"deprecated": false,
"target": {
"file": "drivers/block/floppy.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f3554aeb991214cbfafd17d55e2bfddb50282e32",
"digest": {
"function_hash": "10438316051425780004558764325063924809",
"length": 1678.0
},
"id": "CVE-2019-14284-d4f89624",
"deprecated": false,
"target": {
"file": "drivers/block/floppy.c",
"function": "set_geometry"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-14284.json"
[
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/f3554aeb991214cbfafd17d55e2bfddb50282e32",
"digest": {
"function_hash": "10438316051425780004558764325063924809",
"length": 1678.0
},
"id": "CVE-2019-14284-923727b8",
"deprecated": false,
"target": {
"file": "drivers/block/floppy.c",
"function": "set_geometry"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/f3554aeb991214cbfafd17d55e2bfddb50282e32",
"digest": {
"function_hash": "204399303880089822060616551261551530450",
"length": 1590.0
},
"id": "CVE-2019-14284-a263392c",
"deprecated": false,
"target": {
"file": "drivers/block/floppy.c",
"function": "setup_format_params"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/f3554aeb991214cbfafd17d55e2bfddb50282e32",
"digest": {
"line_hashes": [
"285689691698058719205193041238987982974",
"303834594221094912639405355708703966209",
"276472035157608202331381554606313849938",
"63074713822049021041975444164746847966",
"129357876913025437023870845194339371685",
"137897374624417333801725255522730955129",
"227195770050582839158394767058129395635"
],
"threshold": 0.9
},
"id": "CVE-2019-14284-a8793b75",
"deprecated": false,
"target": {
"file": "drivers/block/floppy.c"
}
}
]