CVE-2023-2640: High severity Canonical Ubuntu Linux vulnerability

Published Jul 26, 2023
·
Updated

Last updated 23 May 2026

Other sources

On Ubuntu kernels carrying both c914c0e27eb0 and "UBUNTU: SAUCE: overlayfs: Skip permission checking for trusted.overlayfs. xattrs", an unprivileged user may set privileged extended attributes on the mounted files, leading them to be set on the upper files without the appropriate security checks.

Affected Software

2 affected componentsFixes available
Canonical Ubuntu Linux=23.04
debian/linux
5.10.223-15.10.257-16.1.170-36.1.174-16.12.86-16.12.90-27.0.10-17.0.12-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.257-1Fixed in 6.1.170-3Fixed in 6.1.174-1Fixed in 6.12.86-1Fixed in 6.12.90-2Fixed in 7.0.10-1Fixed in 7.0.12-2
  2. Upgrade

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

    Fixed in 5.10.223-1
  3. Upgrade

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

    Fixed in 5.10.257-1
  4. Upgrade

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

    Fixed in 6.1.170-3
  5. Upgrade

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

    Fixed in 6.1.174-1
  6. Upgrade

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

    Fixed in 6.12.86-1
  7. Upgrade

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

    Fixed in 6.12.90-2
  8. Upgrade

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

    Fixed in 7.0.10-1
  9. Upgrade

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

    Fixed in 7.0.12-2
  10. Configuration

    Temporarily disable unprivileged user namespace creation: run `sudo sysctl -w kernel.unprivileged_userns_clone=0`. To disable across reboots, create a sysctl drop-in: `echo kernel.unprivileged_userns_clone=0 | sudo tee /etc/sysctl.d/99-disable-unpriv-userns.conf`.

    Linux kernel (sysctl) kernel.unprivileged_userns_clone = 0

Event History

Jul 26, 2023
CVE Published
via MITRE·01:59 AM
Data Sourced
via MITRE·01:59 AM
DescriptionSeverityWeakness
Data Sourced
02:15 AM
Description
Jan 12, 2024
Data Sourced
via Launchpad·12:17 AM
Description
May 23, 2026
Data Sourced
via Ubuntu·04:14 AM
RemedyDescriptionSeverityAffected Software
Jun 18, 2026
Data Sourced
via Debian·07:46 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-2023-2640?

CVE-2023-2640 is a vulnerability in Ubuntu kernels that allows an unprivileged user to set privileged extended attributes on mounted files without appropriate security checks.

2

What is the severity of CVE-2023-2640?

The severity of CVE-2023-2640 is high with a CVSS score of 7.8.

3

Which software is affected by CVE-2023-2640?

Ubuntu Linux 23.04, ubuntu/linux 6.2.0-26.26, ubuntu/linux-hwe-5.19 5.19.0-50.50, and other Ubuntu packages are affected by CVE-2023-2640.

4

How can I fix CVE-2023-2640?

To fix CVE-2023-2640, update your Ubuntu kernel and packages to the recommended versions mentioned in the Ubuntu Security Notice (USN-6250-1).

5

Where can I find more information about CVE-2023-2640?

You can find more information about CVE-2023-2640 on the MITRE CVE website, Ubuntu Security Notice (USN-6250-1), and the Ubuntu kernel-team mailing list.

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