Permissions, Privileges, and Access Controls in linux-image-6.2.0-1006-ibm (Ubuntu package) - CVE-2023-2640
Published: July 26, 2023 / Updated: December 18, 2024
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to missing permission checks for trusted.overlayfs.* xattrs". A local user can set privileged extended attributes on the mounted files, leading them to be set on the upper files without the appropriate security checks.
Affected software
linux (Ubuntu package)
linux-kvm (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-oracle (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-gke (Ubuntu package)
linux-aws-5.15 (Ubuntu package)
linux-lowlatency-hwe-5.15 (Ubuntu package)
linux-hwe-5.15 (Ubuntu package)
linux-fips (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux-realtime (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-ibm-5.15 (Ubuntu package)
linux-intel-iotg (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-nvidia-tegra-igx (Ubuntu package)
linux-ibm (Ubuntu package)
linux-intel-iotg-5.15 (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-nvidia-tegra-5.15 (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-hwe-5.19 (Ubuntu package)
linux-aws-5.19 (Ubuntu package)
linux-gcp-5.19 (Ubuntu package)
linux-oem-6.0 (Ubuntu package)
linux-oem-6.1 (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
Ubuntu
How to mitigate CVE-2023-2640
linux (Ubuntu package) - addressed in versions 5.15.0-177.187, 6.2.0-26.26
linux-kvm (Ubuntu package) - addressed in versions 5.15.0-1098.103, 6.2.0-1009.9
linux-gcp (Ubuntu package) - addressed in versions 5.15.0-1106.115, 6.2.0-1010.10
linux-aws (Ubuntu package) - addressed in versions 5.15.0-1106.113, 6.2.0-1008.8
linux-azure (Ubuntu package) - addressed in versions 5.15.0-1111.120, 6.2.0-1008.8
linux-raspi (Ubuntu package) - addressed in versions 5.15.0-1100.103, 6.2.0-1009.11
linux-oracle (Ubuntu package) - addressed in versions 5.15.0-1103.109, 6.2.0-1008.8
linux-lowlatency (Ubuntu package) - addressed in versions 5.15.0-177.187, 6.2.0-1009.9
linux-gke (Ubuntu package) - update to 5.15.0-1102.108
linux-aws-5.15 (Ubuntu package) - update to 5.15.0-1106.113~20.04.1
linux-lowlatency-hwe-5.15 (Ubuntu package) - update to 5.15.0-177.187~20.04.1
linux-hwe-5.15 (Ubuntu package) - update to 5.15.0-177.187~20.04.1
linux-fips (Ubuntu package) - update to 5.15.0-177.187+fips1
linux-azure-5.15 (Ubuntu package) - update to 5.15.0-1111.120~20.04.1
linux-realtime (Ubuntu package) - update to 5.15.0-1105.114
linux-gkeop (Ubuntu package) - update to 5.15.0-1089.97
linux-ibm-5.15 (Ubuntu package) - update to 5.15.0-1100.103~20.04.1
linux-intel-iotg (Ubuntu package) - update to 5.15.0-1101.107
linux-nvidia (Ubuntu package) - update to 5.15.0-1101.102
linux-nvidia-tegra (Ubuntu package) - update to 5.15.0-1058.58
linux-nvidia-tegra-igx (Ubuntu package) - update to 5.15.0-1047.47
linux-ibm (Ubuntu package) - addressed in versions 5.15.0-1100.103, 6.2.0-1006.6
linux-intel-iotg-5.15 (Ubuntu package) - update to 5.15.0-1101.107~20.04.1
linux-oracle-5.15 (Ubuntu package) - update to 5.15.0-1104.110~20.04.1
linux-gcp-5.15 (Ubuntu package) - update to 5.15.0-1106.115~20.04.1
linux-nvidia-tegra-5.15 (Ubuntu package) - update to 5.15.0-1058.58~20.04.1
linux-intel-iot-realtime (Ubuntu package) - update to 5.15.0-1098.100
linux-gcp-fips (Ubuntu package) - update to 5.15.0-1106.115+fips1
linux-aws-fips (Ubuntu package) - update to 5.15.0-1106.113+fips1
linux-azure-fips (Ubuntu package) - update to 5.15.0-1111.120+fips1
linux-hwe-5.19 (Ubuntu package) - update to 5.19.0-50.50
linux-aws-5.19 (Ubuntu package) - update to 5.19.0-1029.30~22.04.1
linux-gcp-5.19 (Ubuntu package) - update to 5.19.0-1030.32~22.04.1
linux-oem-6.0 (Ubuntu package) - update to 6.0.0-1020.20
linux-oem-6.1 (Ubuntu package) - update to 6.1.0-1019.19
linux-xilinx-zynqmp (Ubuntu package) - addressed in versions 5.15.0-1070.74, 5.15.0.1070.73
Links to Public Exploits and PoC-codes
- Exploit #10993 - GameOver(lay) Privilege Escalation and Container Escape (December 18, 2024)
- Exploit #9585 - CVE-2023-2640-CVE-2023-32629 (GameOver(lay) Ubuntu Privilege Escalation) (March 4, 2024)
- Exploit #9330 - GameOverlayFS (GameoverlayFS (CVE-2023-2640 and CVE-2023-32629) exploit in Shell Script tested on Ubuntu 20.04 Kernel 5.4.0) (September 18, 2023)
External References
Related Security Bulletins
- Ubuntu update for linux-oem-6.0
- Ubuntu update for linux
- Ubuntu update for linux-aws-5.19
- Ubuntu update for linux-oem-6.1
- Ubuntu update for linux
- Ubuntu update for linux-azure-5.15
- Ubuntu update for linux-xilinx-zynqmp
- Ubuntu update for linux-nvidia-tegra-5.15
- Ubuntu update for linux-oracle-5.15
- Ubuntu update for linux-gcp-5.15