Bug 1558697 (CVE-2018-8822) - CVE-2018-8822 kernel: Memory corruption in ncp_read_kernel function in fs/ncpfs/ncplib_kernel.c
Summary: CVE-2018-8822 kernel: Memory corruption in ncp_read_kernel function in fs/ncp...
Status: CLOSED NOTABUG
Alias: CVE-2018-8822
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: impact=moderate,public=20180320,repor...
Keywords: Security
Depends On: 1558698
Blocks: 1558699
TreeView+ depends on / blocked
 
Reported: 2018-03-20 20:13 UTC by Pedro Sampaio
Modified: 2019-06-08 22:46 UTC (History)
46 users (show)

(edit)
Incorrect buffer length handling was found in the ncp_read_kernel function in fs/ncpfs/ncplib_kernel.c in the Linux kernel, which could be exploited by malicious NCPFS servers to crash the kernel or possibly execute an arbitrary code.
Clone Of:
(edit)
Last Closed: 2018-03-22 16:30:23 UTC


Attachments (Terms of Use)

Description Pedro Sampaio 2018-03-20 20:13:23 UTC
Incorrect buffer length handling was found in the ncp_read_kernel function in fs/ncpfs/ncplib_kernel.c in the Linux kernel, which could be exploited by malicious NCPFS servers to crash the kernel or possibly execute an arbitrary code.

References:

https://www.mail-archive.com/netdev@vger.kernel.org/msg223373.html

A suggested fix:

https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/commit/?id=4c41aa24baa4ed338241d05494f2c595c885af8f

Comment 1 Pedro Sampaio 2018-03-20 20:14:34 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1558698]

Comment 2 Justin M. Forbes 2018-03-20 21:21:47 UTC
NCPFS is not enabled in Fedora any longer it is scheduled for removal from the upstream kernel.

Comment 5 Vladis Dronov 2018-03-22 16:30:23 UTC
Notes:

See upstream commita 1bb8155080c6 and 5d8515bc2321:

      The networking IPX and the ncpfs filesystem are moved into the staging
      tree, as they are on their way out of the kernel due to lack of use
      anymore.


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