Bug 1734243 (CVE-2019-14283) - CVE-2019-14283 kernel: integer overflow and OOB read in drivers/block/floppy.c
Summary: CVE-2019-14283 kernel: integer overflow and OOB read in drivers/block/floppy.c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-14283
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1734244 1735566 1735567 1735568 1735569 1735570 1735571 1828321 1828322
Blocks: 1734249
TreeView+ depends on / blocked
 
Reported: 2019-07-30 04:43 UTC by Dhananjay Arunesh
Modified: 2023-10-06 18:26 UTC (History)
47 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel’s floppy disk driver implementation. A local attacker with access to the floppy device could call set_geometry in drivers/block/floppy.c, which does not validate the sect and head fields, causing an integer overflow and out-of-bounds read. This flaw may crash the system or allow an attacker to gather information causing subsequent successful attacks.
Clone Of:
Environment:
Last Closed: 2020-03-31 22:35:11 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1016 0 None None None 2020-03-31 19:11:51 UTC
Red Hat Product Errata RHSA-2020:1070 0 None None None 2020-03-31 19:21:09 UTC
Red Hat Product Errata RHSA-2020:2522 0 None None None 2020-06-11 02:10:14 UTC

Description Dhananjay Arunesh 2019-07-30 04:43:11 UTC
A vulnerability was found in the Linux kernels floppy disk driver implementation. A local user with permissions to access the floppy device could call set_geometry in drivers/block/floppy.c which does not validate the sect and head fields causing an integer overflow and out-of-bounds read.  This may crash the system or allow an attacker to gather information allowing for successful subsequent attacks.

Systems using QEMU will likely have the virtual floppy disk controller (FDC) enabled by default, Linux guests using this configuration will auto-load the floppy kernel module and likely be affected.


Mitigation:

The kernel module named 'floppy' contains the affected code, this can be blacklisted using the standard blacklisting techniques or disabled in the systems BIOS.  See https://access.redhat.com/solutions/41278 for how to blacklist a kernel module.

Virtualized guest systems can also remove the system from the guests configuration to ensure that the module does not load.

External references:

Changelog
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.2.3

Upstream commit
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=da99466ac243f15fbba65bd261bfc75ffa1532b6
https://github.com/torvalds/linux/commit/da99466ac243f15fbba65bd261bfc75ffa1532b6

Comment 1 Dhananjay Arunesh 2019-07-30 04:43:33 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1734244]

Comment 2 Justin M. Forbes 2019-07-30 14:03:13 UTC
This was fixed for Fedora with the 5.1.20 stable kernel update.

Comment 4 Wade Mealing 2019-08-01 04:53:07 UTC
This flaw is rated as moderate, it is an information leak for systems that have either real floppy disk hardware or virtual floppy disk hardware (in the case of QEMU) present in the system.

Comment 8 errata-xmlrpc 2020-03-31 19:11:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1016 https://access.redhat.com/errata/RHSA-2020:1016

Comment 9 errata-xmlrpc 2020-03-31 19:21:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1070 https://access.redhat.com/errata/RHSA-2020:1070

Comment 10 Product Security DevOps Team 2020-03-31 22:35:11 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-14283

Comment 13 errata-xmlrpc 2020-06-11 02:10:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.7 Extended Update Support

Via RHSA-2020:2522 https://access.redhat.com/errata/RHSA-2020:2522


Note You need to log in before you can comment on or make changes to this bug.