In the Linux kernel before 5.2.3, set_geometry in drivers/block/floppy.c does not validate the sect and head fields, as demonstrated by an integer overflow and out-of-bounds read. It can be triggered by an unprivileged local user when a floppy disk has been inserted. NOTE: QEMU creates the floppy device by default.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-14283.json"
[
{
"deprecated": false,
"signature_type": "Function",
"digest": {
"length": 1754.0,
"function_hash": "210534431679448317588080483620599799684"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@da99466ac243f15fbba65bd261bfc75ffa1532b6",
"id": "CVE-2019-14283-81517a71",
"target": {
"file": "drivers/block/floppy.c",
"function": "set_geometry"
}
},
{
"deprecated": false,
"signature_type": "Line",
"digest": {
"line_hashes": [
"305536610777891360892811973381643774614",
"63074713822049021041975444164746847966",
"66213529573751185407962238119241452161",
"6201139531092303023349996117397753864",
"132631034641102307406767710798557387540"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@da99466ac243f15fbba65bd261bfc75ffa1532b6",
"id": "CVE-2019-14283-ff9a41e1",
"target": {
"file": "drivers/block/floppy.c"
}
}
]