Buffer overflow in Linux kernel - CVE-2022-49267

 

Buffer overflow in Linux kernel - CVE-2022-49267

Published: March 10, 2025 / Updated: May 11, 2025


Vulnerability identifier: #VU105464
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-49267
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: No public exploit available

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

Linux kernel
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

Install updates from vendor's website.

Linux kernel - addressed in versions 5.16.19, 5.17.2, 5.18
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

Related Security Bulletins