CVE-2018-8822: Buffer Overflow

Published Mar 20, 2018
·
Updated

Incorrect buffer length handling in the ncpreadkernel function in fs/ncpfs/ncplibkernel.c in the Linux kernel through 4.15.11, and in drivers/staging/ncpfs/ncplibkernel.c in the Linux kernel 4.16-rc through 4.16-rc6, could be exploited by malicious NCPFS servers to crash the kernel or execute code.

Affected Software

24 affected componentsFixes available
Linux Linux kernel<=4.15.11
Linux Linux kernel=4.16-rc
Linux Linux kernel=4.16-rc1
Linux Linux kernel=4.16-rc2
Linux Linux kernel=4.16-rc3
Linux Linux kernel=4.16-rc4
Linux Linux kernel=4.16-rc5
Linux Linux kernel=4.16-rc6
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Linux Linux kernel>=2.6.12<3.2.102
Linux Linux kernel>=3.3<3.16.57
Linux Linux kernel>=3.17<3.18.103
Linux Linux kernel>=3.19<4.1.52
Linux Linux kernel>=4.2<4.4.125
Linux Linux kernel>=4.5<4.9.91
Linux Linux kernel>=4.10<4.14.31
Linux Linux kernel>=4.15<4.15.14
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.8-17.1.8-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.8-1Fixed in 7.1.8-2

Event History

Mar 20, 2018
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 15, 2025
Data Sourced
via Launchpad·04:28 AM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:11 AM
RemedyDescriptionSeverityAffected Software
Aug 16, 2026
Data Sourced
via Debian·12:30 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-8822?

CVE-2018-8822 is a vulnerability in the Linux kernel that allows malicious NCPFS servers to crash the kernel or execute code.

2

Which versions of Linux kernel are affected by CVE-2018-8822?

CVE-2018-8822 affects Linux kernel versions up to 4.15.11 and versions 4.16-rc through 4.16-rc6.

3

How can CVE-2018-8822 be exploited?

CVE-2018-8822 can be exploited by malicious NCPFS servers to crash the kernel or execute code.

4

What is the severity of CVE-2018-8822?

The severity of CVE-2018-8822 is not specified.

5

How can I fix CVE-2018-8822?

To fix CVE-2018-8822, update your Linux kernel to version 4.16 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203