Out-of-bounds read in Linux kernel - CVE-2022-49170
Published: February 26, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU104536
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-49170
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to an out-of-bounds read error within the sanity_check_curseg() function in fs/f2fs/segment.c. A local user can perform a denial of service (DoS) attack.
Affected software
Linux kernel
Ubuntu
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-bluefield (Ubuntu package)
linux-ibm (Ubuntu package)
linux-iot (Ubuntu package)
linux-raspi (Ubuntu package)
linux-ibm-5.4 (Ubuntu package)
linux-aws-5.4 (Ubuntu package)
linux-azure-5.4 (Ubuntu package)
linux-oracle-5.4 (Ubuntu package)
linux-gcp-5.4 (Ubuntu package)
linux-raspi-5.4 (Ubuntu package)
Ubuntu
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-bluefield (Ubuntu package)
linux-ibm (Ubuntu package)
linux-iot (Ubuntu package)
linux-raspi (Ubuntu package)
linux-ibm-5.4 (Ubuntu package)
linux-aws-5.4 (Ubuntu package)
linux-azure-5.4 (Ubuntu package)
linux-oracle-5.4 (Ubuntu package)
linux-gcp-5.4 (Ubuntu package)
linux-raspi-5.4 (Ubuntu package)
How to mitigate CVE-2022-49170
Install update from vendor's website.
Linux kernel - update to 5.15.33
linux (Ubuntu package) - addressed in versions 4.4.0-291.325, 4.15.0-262.274, 5.4.0-242.262
linux-lts-xenial (Ubuntu package) - update to 4.4.0-291.325~14.04.1
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1163.174, 4.15.0-1181.186, 5.4.0-1152.161
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1162.168, 4.4.0-1200.215, 4.15.0-1199.212, 5.4.0-1165.176
linux-fips (Ubuntu package) - addressed in versions 4.4.0-1133.140, 4.15.0-1154.166, 5.4.0-1139.149
linux-hwe (Ubuntu package) - update to 4.15.0-262.274~16.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1192.209~16.04.1, 5.4.0-1168.178
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1209.224~14.04.1, 4.15.0-1209.224~16.04.1, 5.4.0-1170.176
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1161.172~16.04.1, 4.15.0-1161.172, 5.4.0-1163.173
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1199.212~16.04.1
linux-azure-4.15 (Ubuntu package) - update to 4.15.0-1209.224
linux-gcp-4.15 (Ubuntu package) - update to 4.15.0-1192.209
linux-gcp-fips (Ubuntu package) - addressed in versions 4.15.0-2100.106, 5.4.0-1168.178+fips1
linux-azure-fips (Ubuntu package) - addressed in versions 4.15.0-2117.123, 5.4.0-1170.176+fips1
linux-aws-fips (Ubuntu package) - addressed in versions 4.15.0-2137.143, 5.4.0-1165.176+fips1
linux-hwe-5.4 (Ubuntu package) - update to 5.4.0-242.262~18.04.1
linux-xilinx-zynqmp (Ubuntu package) - update to 5.4.0-1083.87
linux-bluefield (Ubuntu package) - update to 5.4.0-1125.132
linux-ibm (Ubuntu package) - update to 5.4.0-1111.116
linux-iot (Ubuntu package) - update to 5.4.0-1069.72
linux-raspi (Ubuntu package) - update to 5.4.0-1148.161
linux-ibm-5.4 (Ubuntu package) - update to 5.4.0-1111.116~18.04.1
linux-aws-5.4 (Ubuntu package) - update to 5.4.0-1165.176~18.04.1
linux-azure-5.4 (Ubuntu package) - update to 5.4.0-1170.176~18.04.1
linux-oracle-5.4 (Ubuntu package) - update to 5.4.0-1163.173~18.04.1
linux-gcp-5.4 (Ubuntu package) - update to 5.4.0-1168.178~18.04.1
linux-raspi-5.4 (Ubuntu package) - update to 5.4.0-1148.161~18.04.1
linux (Ubuntu package) - addressed in versions 4.4.0-291.325, 4.15.0-262.274, 5.4.0-242.262
linux-lts-xenial (Ubuntu package) - update to 4.4.0-291.325~14.04.1
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1163.174, 4.15.0-1181.186, 5.4.0-1152.161
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1162.168, 4.4.0-1200.215, 4.15.0-1199.212, 5.4.0-1165.176
linux-fips (Ubuntu package) - addressed in versions 4.4.0-1133.140, 4.15.0-1154.166, 5.4.0-1139.149
linux-hwe (Ubuntu package) - update to 4.15.0-262.274~16.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1192.209~16.04.1, 5.4.0-1168.178
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1209.224~14.04.1, 4.15.0-1209.224~16.04.1, 5.4.0-1170.176
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1161.172~16.04.1, 4.15.0-1161.172, 5.4.0-1163.173
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1199.212~16.04.1
linux-azure-4.15 (Ubuntu package) - update to 4.15.0-1209.224
linux-gcp-4.15 (Ubuntu package) - update to 4.15.0-1192.209
linux-gcp-fips (Ubuntu package) - addressed in versions 4.15.0-2100.106, 5.4.0-1168.178+fips1
linux-azure-fips (Ubuntu package) - addressed in versions 4.15.0-2117.123, 5.4.0-1170.176+fips1
linux-aws-fips (Ubuntu package) - addressed in versions 4.15.0-2137.143, 5.4.0-1165.176+fips1
linux-hwe-5.4 (Ubuntu package) - update to 5.4.0-242.262~18.04.1
linux-xilinx-zynqmp (Ubuntu package) - update to 5.4.0-1083.87
linux-bluefield (Ubuntu package) - update to 5.4.0-1125.132
linux-ibm (Ubuntu package) - update to 5.4.0-1111.116
linux-iot (Ubuntu package) - update to 5.4.0-1069.72
linux-raspi (Ubuntu package) - update to 5.4.0-1148.161
linux-ibm-5.4 (Ubuntu package) - update to 5.4.0-1111.116~18.04.1
linux-aws-5.4 (Ubuntu package) - update to 5.4.0-1165.176~18.04.1
linux-azure-5.4 (Ubuntu package) - update to 5.4.0-1170.176~18.04.1
linux-oracle-5.4 (Ubuntu package) - update to 5.4.0-1163.173~18.04.1
linux-gcp-5.4 (Ubuntu package) - update to 5.4.0-1168.178~18.04.1
linux-raspi-5.4 (Ubuntu package) - update to 5.4.0-1148.161~18.04.1
External References
- https://git.kernel.org/stable/c/0748a0f7dcb9d9dddc80302d73ebcecef6782ef0
- https://git.kernel.org/stable/c/498b7088db71f9707359448cd6800bbb1882f4c3
- https://git.kernel.org/stable/c/c12765e3f129b144421c80d3383df885f85ee290
- https://git.kernel.org/stable/c/f41ee8b91c00770d718be2ff4852a80017ae9ab3
- https://git.kernel.org/stable/c/f68caedf264a95c0b02dfd0d9f92ac2637d5848a
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.33
Related Security Bulletins
- Out-of-bounds read in Linux kernel f2fs
- Ubuntu update for linux, linux-aws, linux-azure and more
- Ubuntu update for linux-aws-5.4, linux-aws-fips, linux-azure-fips and more
- Ubuntu update for linux-bluefield
- Ubuntu update for linux, linux-aws, linux-kvm and more
- Ubuntu update for linux, linux-aws, linux-aws-fips and more
- Ubuntu update for linux-aws
- Ubuntu update for linux-fips