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-aws (Ubuntu package)
linux-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-hwe-5.4 (Ubuntu package)
linux-iot (Ubuntu package)
linux-ibm-5.4 (Ubuntu package)
linux-gcp (Ubuntu package)
perf-debuginfo
python3-perf
kernel-devel
python3-perf-debuginfo
perf
kernel-tools-devel
kernel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-debuginfo
kernel-headers
kernel-debugsource
bpftool
bpftool-debuginfo
linux-intel-iot-realtime (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-gcp-fips (Ubuntu package)
How to mitigate CVE-2022-49267
linux (Ubuntu package) - addressed in versions 4.4.0.278.284, 4.4.0-278.312, 4.4.0.1153.150, 4.4.0-1153.164, 4.4.0.1190.194, 4.4.0-1190.205, 4.15.0.247.231, 4.15.0-247.259, 4.15.0-247.259~16.04.1, 4.15.0.1151.156, 4.15.0-1151.162, 4.15.0-1151.162~16.04.1, 4.15.0.1171.162, 4.15.0-1171.176, 4.15.0.1182.195~16.04.1, 4.15.0-1182.199, 4.15.0-1182.199~16.04.1, 4.15.0.1189.187, 4.15.0-1189.202, 4.15.0-1189.202~16.04.1, 5.4.0.227.219, 5.4.0-227.247, 5.15.0.171.144, 5.15.0.171.160, 5.15.0-171.181, 5.15.0-171.181~20.04.1, 5.15.0.171.181~20.04.1, 5.15.0.1053.53, 5.15.0-1053.53, 5.15.0.1065.68, 5.15.0-1065.69, 5.15.0.1084.83, 5.15.0-1084.92, 5.15.0.1093.89, 5.15.0-1093.98, 5.15.0.1096.96, 5.15.0-1096.102, 5.15.0-1096.102~20.04.1, 5.15.0.1096.102~20.04.1, 5.15.0.1097.96, 5.15.0-1097.103, 5.15.0.1098.94, 5.15.0-1098.104, 5.15.0.1101.97, 5.15.0-1101.110
linux-aws (Ubuntu package) - addressed in versions 4.4.0-278.312~14.04.1, 4.4.0.278.312~14.04.1, 4.4.0.1152.149, 4.4.0-1152.158, 5.4.0.1074.74, 5.4.0-1074.78, 5.4.0.1154.148, 5.4.0-1154.164, 5.4.0-1154.164~18.04.1, 5.4.0.1156.153, 5.4.0-1156.166, 5.4.0-1156.166~18.04.1, 5.4.0-1159.168~18.04.1, 5.15.0-171.181~20.04.1, 5.15.0.171.181~20.04.1, 5.15.0-1042.42, 5.15.0.1042.44, 5.15.0.1053.53~20.04.1, 5.15.0-1053.53~20.04.1, 5.15.0.1095.91, 5.15.0-1095.98, 5.15.0.1095.98~20.04.1, 5.15.0-1095.98~20.04.1, 5.15.0.1098.104~20.04.1, 5.15.0-1098.104~20.04.1, 5.15.0.1101.104, 5.15.0-1101.108, 5.15.0-1101.108~20.04.1, 5.15.0.1101.108~20.04.1, 5.15.0-1101.110~20.04.1, 5.15.0.1101.110~20.04.1
linux-fips (Ubuntu package) - addressed in versions 4.4.0.1122.123, 4.4.0-1122.129, 5.4.0.1130.127, 5.4.0-1130.140, 5.4.0.1159.101, 5.4.0-1159.168+fips1, 5.15.0.171.98, 5.15.0-171.181+fips1
linux-aws-fips (Ubuntu package) - addressed in versions 4.15.0.1144.141, 4.15.0-1144.156, 4.15.0.2090.88, 4.15.0-2090.96, 4.15.0.2127.121, 4.15.0-2127.133, 5.4.0.1155.102, 5.4.0-1155.165+fips1, 5.15.0.1101.97, 5.15.0-1101.108+fips1
linux-azure (Ubuntu package) - addressed in versions 4.15.0.1197.165, 4.15.0-1197.212, 4.15.0-1197.212~14.04.1, 4.15.0-1197.212~16.04.1, 5.4.0.1160.153, 5.4.0-1160.166
linux-azure-fips (Ubuntu package) - addressed in versions 4.15.0.2106.102, 4.15.0-2106.112, 5.4.0.1160.97, 5.4.0-1160.166+fips1
linux-hwe-5.4 (Ubuntu package) - addressed in versions 5.4.0-227.247~18.04.1, 5.4.0-1102.107, 5.4.0.1102.131
linux-iot (Ubuntu package) - addressed in versions 5.4.0-1060.63, 5.4.0.1143.139, 5.4.0-1143.152
linux-ibm-5.4 (Ubuntu package) - update to 5.4.0-1102.107~18.04.1
linux-gcp (Ubuntu package) - addressed in versions 5.4.0.1159.161, 5.4.0-1159.168
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
kernel-devel - addressed in versions 5.10.0-293.0.0.195, 5.10.0-293.0.0.196
python3-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 - 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-debuginfo - 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-debugsource - 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
linux-intel-iot-realtime (Ubuntu package) - addressed in versions 5.15.0-1093.95, 5.15.0.1093.97, 5.15.0.1100.104, 5.15.0-1100.109
linux-nvidia (Ubuntu package) - addressed in versions 5.15.0.1096.96, 5.15.0-1096.97
linux-gcp-fips (Ubuntu package) - addressed in versions 5.15.0.1101.91, 5.15.0-1101.110+fips1
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