Buffer overflow in Linux kernel - CVE-2022-49267
Published: March 10, 2025 / Updated: May 11, 2025
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a boundary error caused by usage of sprintf() function in drivers/mmc/core/bus.c, drivers/mmc/core/sdio.c, drivers/mmc/core/sdio_bus.c, drivers/mmc/core/sd.c, and drivers/mmc/core/mmc.c files. A local user can trigger memory corruption and execute arbitrary code on the target system.
Affected software
Ubuntu
openEuler
linux (Ubuntu package)
linux-lts-xenial (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-fips (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-oracle (Ubuntu package)
linux-aws-hwe (Ubuntu package)
linux-azure-4.15 (Ubuntu package)
linux-gcp-4.15 (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-hwe-5.4 (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-ibm (Ubuntu package)
linux-iot (Ubuntu package)
linux-ibm-5.4 (Ubuntu package)
linux-aws-5.4 (Ubuntu package)
linux-oracle-5.4 (Ubuntu package)
linux-gcp-5.4 (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-nvidia-tegra (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-realtime (Ubuntu package)
linux-intel-iotg (Ubuntu package)
linux-nvidia-tegra-igx (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-ibm-5.15 (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)
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
kernel
bpftool
bpftool-debuginfo
How to mitigate CVE-2022-49267
linux (Ubuntu package) - addressed in versions 4.4.0-278.312, 4.15.0-247.259, 5.4.0-227.247, 5.15.0-171.181
linux-lts-xenial (Ubuntu package) - update to 4.4.0-278.312~14.04.1
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1153.164, 4.15.0-1171.176, 5.4.0-1143.152, 5.15.0-1093.98
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1152.158, 4.4.0-1190.205, 4.15.0-1189.202, 5.4.0-1156.166, 5.15.0-1101.108
linux-fips (Ubuntu package) - addressed in versions 4.4.0-1122.129, 4.15.0-1144.156, 5.4.0-1130.140, 5.15.0-171.181+fips1
linux-hwe (Ubuntu package) - update to 4.15.0-247.259~16.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1182.199~16.04.1, 5.4.0-1159.168, 5.15.0-1101.110
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1197.212~14.04.1, 4.15.0-1197.212~16.04.1, 5.4.0-1160.166
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1151.162~16.04.1, 4.15.0-1151.162, 5.4.0-1154.164, 5.15.0-1098.104
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1189.202~16.04.1
linux-azure-4.15 (Ubuntu package) - update to 4.15.0-1197.212
linux-gcp-4.15 (Ubuntu package) - update to 4.15.0-1182.199
linux-gcp-fips (Ubuntu package) - addressed in versions 4.15.0-2090.96, 5.4.0-1159.168+fips1, 5.15.0-1101.110+fips1
linux-azure-fips (Ubuntu package) - addressed in versions 4.15.0-2106.112, 5.4.0-1160.166+fips1
linux-aws-fips (Ubuntu package) - addressed in versions 4.15.0-2127.133, 5.4.0-1155.165+fips1, 5.15.0-1101.108+fips1
linux-hwe-5.4 (Ubuntu package) - update to 5.4.0-227.247~18.04.1
linux-xilinx-zynqmp (Ubuntu package) - addressed in versions 5.4.0-1074.78, 5.15.0-1065.69
linux-ibm (Ubuntu package) - addressed in versions 5.4.0-1102.107, 5.15.0-1095.98
linux-iot (Ubuntu package) - update to 5.4.0-1060.63
linux-ibm-5.4 (Ubuntu package) - update to 5.4.0-1102.107~18.04.1
linux-aws-5.4 (Ubuntu package) - update to 5.4.0-1156.166~18.04.1
linux-oracle-5.4 (Ubuntu package) - update to 5.4.0-1154.164~18.04.1
linux-gcp-5.4 (Ubuntu package) - update to 5.4.0-1159.168~18.04.1
linux-lowlatency (Ubuntu package) - update to 5.15.0-171.181
linux-gke (Ubuntu package) - update to 5.15.0-1097.103
linux-aws-5.15 (Ubuntu package) - update to 5.15.0-1101.108~20.04.1
linux-lowlatency-hwe-5.15 (Ubuntu package) - update to 5.15.0-171.181~20.04.1
linux-hwe-5.15 (Ubuntu package) - update to 5.15.0-171.181~20.04.1
linux-nvidia-tegra (Ubuntu package) - update to 5.15.0-1053.53
linux-nvidia (Ubuntu package) - update to 5.15.0-1096.97
linux-realtime (Ubuntu package) - update to 5.15.0-1100.109
linux-intel-iotg (Ubuntu package) - update to 5.15.0-1096.102
linux-nvidia-tegra-igx (Ubuntu package) - update to 5.15.0-1042.42
linux-gkeop (Ubuntu package) - update to 5.15.0-1084.92
linux-ibm-5.15 (Ubuntu package) - update to 5.15.0-1095.98~20.04.1
linux-intel-iotg-5.15 (Ubuntu package) - update to 5.15.0-1096.102~20.04.1
linux-oracle-5.15 (Ubuntu package) - update to 5.15.0-1098.104~20.04.1
linux-gcp-5.15 (Ubuntu package) - update to 5.15.0-1101.110~20.04.1
linux-nvidia-tegra-5.15 (Ubuntu package) - update to 5.15.0-1053.53~20.04.1
linux-intel-iot-realtime (Ubuntu package) - update to 5.15.0-1093.95
python3-perf-debuginfo - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
python3-perf - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
perf-debuginfo - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
perf - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
kernel-tools-devel - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
kernel-tools-debuginfo - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
kernel-tools - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
kernel-source - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
kernel-headers - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
kernel-devel - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
kernel-debugsource - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
kernel-debuginfo - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
kernel - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
bpftool - update to 5.10.0-293.0.0.196
bpftool-debuginfo - update to 5.10.0-293.0.0.196
External References
- https://git.kernel.org/stable/c/659ca56b5415c7a1d05e185c36fad80ba165d063
- https://git.kernel.org/stable/c/c4ab65738ab3e21fe519ee46b2051222bc8e32ef
- https://git.kernel.org/stable/c/f5d8a5fe77ce933f53eb8f2e22bb7a1a2019ea11
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.19
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.2
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18
Related Security Bulletins
- Privilege escalation in Linux kernel mmc core driver
- openEuler 22.03 LTS SP4 update for kernel
- openEuler 22.03 LTS SP3 update for kernel
- Ubuntu update for linux-intel-iot-realtime
- Ubuntu update for linux
- Ubuntu update for linux-gcp-fips
- Ubuntu update for linux-fips
- Ubuntu update for linux
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-aws
- Ubuntu update for linux-aws
- Ubuntu update for linux-fips
- Ubuntu update for linux-nvidia
- Ubuntu update for linux
- Ubuntu update for linux-gcp
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-aws
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux
- Ubuntu update for linux-hwe-5.4
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-azure
- Ubuntu update for linux-azure
- Ubuntu update for linux-fips
- Ubuntu update for linux-iot
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-azure
- Ubuntu update for linux-ibm-5.4