Bug 1738711 (CVE-2018-20854) - CVE-2018-20854 kernel: Out-of-bounds read in drivers/phy/mscc/phy-ocelot-serdes.c
Summary: CVE-2018-20854 kernel: Out-of-bounds read in drivers/phy/mscc/phy-ocelot-serd...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-20854
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: 1738712
Blocks: 1738713
TreeView+ depends on / blocked
 
Reported: 2019-08-07 22:26 UTC by Pedro Sampaio
Modified: 2021-02-16 21:31 UTC (History)
44 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel’s implementation of ocelot-serdes hardware. An incorrect limits calculation allowed an off-by-one calculation, which could read out of bounds data and panic the system. If the data was not out of bounds, the following code could then write data into the out of bounds area, corrupting memory or other possible consequences.
Clone Of:
Environment:
Last Closed: 2019-11-21 07:04:49 UTC


Attachments (Terms of Use)

Description Pedro Sampaio 2019-08-07 22:26:41 UTC
An issue was discovered in the Linux kernels implementation of ocelot-serdes hardware. An incorrect limits calculation allowed an off-by-one calculation which could read out of bounds data and panic the system.  If the data was not out of bounds the following code could then write data into the out-of-bounds area corrupting memory or possibly other consequences.

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6acb47d1a318e5b3b7115354ebc4ea060c59d3a1
https://github.com/torvalds/linux/commit/6acb47d1a318e5b3b7115354ebc4ea060c59d3a1

Comment 1 Pedro Sampaio 2019-08-07 22:27:00 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1738712]

Comment 2 Justin M. Forbes 2019-08-08 09:28:31 UTC
This was fixed in Fedora with the 4.20 stable kernel update.

Comment 5 Wade Mealing 2019-11-21 05:05:05 UTC
Mitigation:

There is no requirement for mitigation at this time as this flaw does not affect shipping releases of Red Hat Enterprise Linux

Comment 6 Product Security DevOps Team 2019-11-21 07:04:49 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-2018-20854


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