Improper locking in Linux kernel - CVE-2024-57977
Published: February 27, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU105026
CSH Severity: Low
CVSS v4 BT: 4.3 [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/E:U/U:Clear]
CVE-ID: CVE-2024-57977
CWE-ID: CWE-667
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 improper locking within the dump_tasks() function in mm/oom_kill.c, within the mem_cgroup_scan_tasks() function in mm/memcontrol.c. A local user can perform a denial of service (DoS) attack.
Affected software
Linux kernel
Debian Linux
Ubuntu
openEuler
bpftool
kernel
python3-perf-debuginfo
python3-perf
python2-perf-debuginfo
python2-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
linux (Ubuntu package)
linux-hwe-5.4 (Ubuntu package)
linux-iot (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-ibm (Ubuntu package)
linux-ibm-5.4 (Ubuntu package)
linux-bluefield (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-raspi (Ubuntu package)
linux-raspi-5.4 (Ubuntu package)
linux-azure (Ubuntu package)
linux-oracle-5.4 (Ubuntu package)
linux-aws (Ubuntu package)
linux-aws-5.4 (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
kernel-headers
linux-hwe-5.15 (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-gke (Ubuntu package)
linux-gcp (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-aws-5.15 (Ubuntu package)
linux (Debian package)
linux-aws-6.8 (Ubuntu package)
linux-oracle (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-lowlatency (Ubuntu package)
Debian Linux
Ubuntu
openEuler
bpftool
kernel
python3-perf-debuginfo
python3-perf
python2-perf-debuginfo
python2-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
linux (Ubuntu package)
linux-hwe-5.4 (Ubuntu package)
linux-iot (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-ibm (Ubuntu package)
linux-ibm-5.4 (Ubuntu package)
linux-bluefield (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-raspi (Ubuntu package)
linux-raspi-5.4 (Ubuntu package)
linux-azure (Ubuntu package)
linux-oracle-5.4 (Ubuntu package)
linux-aws (Ubuntu package)
linux-aws-5.4 (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
kernel-headers
linux-hwe-5.15 (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-gke (Ubuntu package)
linux-gcp (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-aws-5.15 (Ubuntu package)
linux (Debian package)
linux-aws-6.8 (Ubuntu package)
linux-oracle (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-lowlatency (Ubuntu package)
How to mitigate CVE-2024-57977
Install update from vendor's website.
Linux kernel - update to 6.12.13
bpftool - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
python3-perf-debuginfo - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
python3-perf - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
python2-perf-debuginfo - update to 4.19.90-2503.1.0.0318
python2-perf - update to 4.19.90-2503.1.0.0318
perf-debuginfo - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
perf - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-tools-devel - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-tools-debuginfo - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-tools - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-source - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-devel - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-debugsource - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-debuginfo - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
bpftool-debuginfo - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
linux (Ubuntu package) - addressed in versions 5.4.0.216.208, 5.4.0-216.236, 5.4.0.1144.138, 5.4.0-1144.154, 5.4.0.1149.151, 5.4.0-1149.158, 5.4.0-1149.158~18.04.1, 5.4.0.1149.158~18.04.1, 5.4.0-1151.158~18.04.1, 5.4.0.1151.158~18.04.1, 5.15.0.140.126, 5.15.0.140.135, 5.15.0-140.150, 5.15.0-140.150~20.04.1, 5.15.0.140.150~20.04.1, 5.15.0.1066.65, 5.15.0-1066.74, 5.15.0.1076.72, 5.15.0-1076.79, 5.15.0.1076.79~20.04.1, 5.15.0-1076.79~20.04.1, 5.15.0.1078.78, 5.15.0-1078.79, 5.15.0.1079.79, 5.15.0-1079.85, 5.15.0.1080.76, 5.15.0-1080.85, 5.15.0.1081.77, 5.15.0-1081.87, 5.15.0-1081.87~20.04.1, 5.15.0.1081.87~20.04.1, 6.8.0-78.78, 6.8.0-78.78.1, 6.8.0-78.78.1~22.04.1, 6.8.0-1035.37, 6.8.1-1030.31, 6.11.0-26.26, 6.11.0-26.26~24.04.1, 6.11.0-1010.10, 6.11.0-1013.13, 6.11.0-1015.15, 6.11.0-1015.15~24.04.1, 6.11.0-1022.22
linux-hwe-5.4 (Ubuntu package) - addressed in versions 5.4.0-216.236~18.04.1, 5.4.0.216.236~18.04.1
linux-iot (Ubuntu package) - update to 5.4.0-1051.54
linux-xilinx-zynqmp (Ubuntu package) - addressed in versions 5.4.0.1064.64, 5.4.0-1064.68, 5.15.0.1050.53, 5.15.0-1050.54
linux-ibm (Ubuntu package) - addressed in versions 5.4.0-1092.97, 5.4.0.1092.121
linux-ibm-5.4 (Ubuntu package) - addressed in versions 5.4.0.1092.97~18.04.1, 5.4.0-1092.97~18.04.1
linux-bluefield (Ubuntu package) - addressed in versions 5.4.0.1105.101, 5.4.0-1105.112
linux-aws-fips (Ubuntu package) - addressed in versions 5.4.0.1120.117, 5.4.0-1120.130, 5.4.0.1146.93, 5.4.0-1146.156+fips1, 5.15.0.1084.80, 5.15.0-1084.91+fips1
linux-raspi (Ubuntu package) - addressed in versions 5.4.0-1129.142, 5.4.0.1129.160
linux-raspi-5.4 (Ubuntu package) - addressed in versions 5.4.0-1129.142~18.04.1, 5.4.0.1129.142~18.04.1
linux-azure (Ubuntu package) - addressed in versions 5.4.0.1133.129, 5.4.0-1133.142, 5.4.0.1151.145, 5.4.0-1151.158, 5.15.0-1037.37, 5.15.0.1037.37, 5.15.0.1089.87, 5.15.0-1089.98, 5.15.0-1089.98~20.04.1, 5.15.0.1089.98~20.04.1, 6.8.0-1022.23, 6.8.0-1034.39, 6.8.0-1034.39~22.04.1
linux-oracle-5.4 (Ubuntu package) - addressed in versions 5.4.0-1144.154~18.04.1, 5.4.0.1144.154~18.04.1
linux-aws (Ubuntu package) - addressed in versions 5.4.0.1146.143, 5.4.0-1146.156, 5.15.0-1026.26, 5.15.0.1026.28, 5.15.0.1078.76, 5.15.0-1078.81, 5.15.0.1079.85~20.04.1, 5.15.0-1079.85~20.04.1, 5.15.0.1084.86, 5.15.0-1084.91, 6.11.0-1014.15
linux-aws-5.4 (Ubuntu package) - addressed in versions 5.4.0.1146.156~18.04.1, 5.4.0-1146.156~18.04.1
linux-gcp-fips (Ubuntu package) - addressed in versions 5.4.0.1149.91, 5.4.0-1149.158+fips1, 5.15.0.1083.73, 5.15.0-1083.92+fips1
linux-azure-fips (Ubuntu package) - addressed in versions 5.4.0.1151.88, 5.4.0-1151.158+fips1, 5.15.0.1089.74, 5.15.0-1089.98+fips1
kernel-headers - addressed in versions 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
linux-hwe-5.15 (Ubuntu package) - addressed in versions 5.15.0-142.152~20.04.1, 5.15.0.142.152~20.04.1
linux-intel-iot-realtime (Ubuntu package) - addressed in versions 5.15.0-1077.79, 5.15.0.1077.81, 5.15.0.1084.88, 5.15.0-1084.93
linux-gke (Ubuntu package) - addressed in versions 5.15.0.1081.80, 5.15.0-1081.87, 6.8.0-78.78~22.04.1, 6.8.0-1032.36, 6.8.0-1035.38, 6.8.0-1035.38.1, 6.8.0-1035.38~22.04.1, 6.8.0-1035.39
linux-gcp (Ubuntu package) - addressed in versions 5.15.0.1083.79, 5.15.0-1083.92
linux-gcp-5.15 (Ubuntu package) - addressed in versions 5.15.0.1083.92~20.04.1, 5.15.0-1083.92~20.04.1
linux-aws-5.15 (Ubuntu package) - addressed in versions 5.15.0-1084.91~20.04.1, 5.15.0.1084.91~20.04.1
linux (Debian package) - update to 6.1.133-1
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1019.21~22.04.1, 6.8.0-1033.33, 6.8.0-1033.33~22.04.1, 6.8.0-1035.37~22.04.1, 6.8.0-1036.38, 6.8.0-1036.38~22.04.1
linux-oracle (Ubuntu package) - update to 6.8.0-1032.33~22.04.1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2028.29
linux-lowlatency (Ubuntu package) - addressed in versions 6.11.0-1014.15, 6.11.0-1014.15~24.04.1, 6.11.0-1016.17
bpftool - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
python3-perf-debuginfo - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
python3-perf - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
python2-perf-debuginfo - update to 4.19.90-2503.1.0.0318
python2-perf - update to 4.19.90-2503.1.0.0318
perf-debuginfo - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
perf - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-tools-devel - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-tools-debuginfo - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-tools - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-source - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-devel - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-debugsource - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
kernel-debuginfo - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
bpftool-debuginfo - addressed in versions 4.19.90-2503.1.0.0318, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
linux (Ubuntu package) - addressed in versions 5.4.0.216.208, 5.4.0-216.236, 5.4.0.1144.138, 5.4.0-1144.154, 5.4.0.1149.151, 5.4.0-1149.158, 5.4.0-1149.158~18.04.1, 5.4.0.1149.158~18.04.1, 5.4.0-1151.158~18.04.1, 5.4.0.1151.158~18.04.1, 5.15.0.140.126, 5.15.0.140.135, 5.15.0-140.150, 5.15.0-140.150~20.04.1, 5.15.0.140.150~20.04.1, 5.15.0.1066.65, 5.15.0-1066.74, 5.15.0.1076.72, 5.15.0-1076.79, 5.15.0.1076.79~20.04.1, 5.15.0-1076.79~20.04.1, 5.15.0.1078.78, 5.15.0-1078.79, 5.15.0.1079.79, 5.15.0-1079.85, 5.15.0.1080.76, 5.15.0-1080.85, 5.15.0.1081.77, 5.15.0-1081.87, 5.15.0-1081.87~20.04.1, 5.15.0.1081.87~20.04.1, 6.8.0-78.78, 6.8.0-78.78.1, 6.8.0-78.78.1~22.04.1, 6.8.0-1035.37, 6.8.1-1030.31, 6.11.0-26.26, 6.11.0-26.26~24.04.1, 6.11.0-1010.10, 6.11.0-1013.13, 6.11.0-1015.15, 6.11.0-1015.15~24.04.1, 6.11.0-1022.22
linux-hwe-5.4 (Ubuntu package) - addressed in versions 5.4.0-216.236~18.04.1, 5.4.0.216.236~18.04.1
linux-iot (Ubuntu package) - update to 5.4.0-1051.54
linux-xilinx-zynqmp (Ubuntu package) - addressed in versions 5.4.0.1064.64, 5.4.0-1064.68, 5.15.0.1050.53, 5.15.0-1050.54
linux-ibm (Ubuntu package) - addressed in versions 5.4.0-1092.97, 5.4.0.1092.121
linux-ibm-5.4 (Ubuntu package) - addressed in versions 5.4.0.1092.97~18.04.1, 5.4.0-1092.97~18.04.1
linux-bluefield (Ubuntu package) - addressed in versions 5.4.0.1105.101, 5.4.0-1105.112
linux-aws-fips (Ubuntu package) - addressed in versions 5.4.0.1120.117, 5.4.0-1120.130, 5.4.0.1146.93, 5.4.0-1146.156+fips1, 5.15.0.1084.80, 5.15.0-1084.91+fips1
linux-raspi (Ubuntu package) - addressed in versions 5.4.0-1129.142, 5.4.0.1129.160
linux-raspi-5.4 (Ubuntu package) - addressed in versions 5.4.0-1129.142~18.04.1, 5.4.0.1129.142~18.04.1
linux-azure (Ubuntu package) - addressed in versions 5.4.0.1133.129, 5.4.0-1133.142, 5.4.0.1151.145, 5.4.0-1151.158, 5.15.0-1037.37, 5.15.0.1037.37, 5.15.0.1089.87, 5.15.0-1089.98, 5.15.0-1089.98~20.04.1, 5.15.0.1089.98~20.04.1, 6.8.0-1022.23, 6.8.0-1034.39, 6.8.0-1034.39~22.04.1
linux-oracle-5.4 (Ubuntu package) - addressed in versions 5.4.0-1144.154~18.04.1, 5.4.0.1144.154~18.04.1
linux-aws (Ubuntu package) - addressed in versions 5.4.0.1146.143, 5.4.0-1146.156, 5.15.0-1026.26, 5.15.0.1026.28, 5.15.0.1078.76, 5.15.0-1078.81, 5.15.0.1079.85~20.04.1, 5.15.0-1079.85~20.04.1, 5.15.0.1084.86, 5.15.0-1084.91, 6.11.0-1014.15
linux-aws-5.4 (Ubuntu package) - addressed in versions 5.4.0.1146.156~18.04.1, 5.4.0-1146.156~18.04.1
linux-gcp-fips (Ubuntu package) - addressed in versions 5.4.0.1149.91, 5.4.0-1149.158+fips1, 5.15.0.1083.73, 5.15.0-1083.92+fips1
linux-azure-fips (Ubuntu package) - addressed in versions 5.4.0.1151.88, 5.4.0-1151.158+fips1, 5.15.0.1089.74, 5.15.0-1089.98+fips1
kernel-headers - addressed in versions 5.10.0-252.0.0.155, 5.10.0-252.0.0.156, 6.6.0-80.0.0.74, 6.6.0-80.0.0.85
linux-hwe-5.15 (Ubuntu package) - addressed in versions 5.15.0-142.152~20.04.1, 5.15.0.142.152~20.04.1
linux-intel-iot-realtime (Ubuntu package) - addressed in versions 5.15.0-1077.79, 5.15.0.1077.81, 5.15.0.1084.88, 5.15.0-1084.93
linux-gke (Ubuntu package) - addressed in versions 5.15.0.1081.80, 5.15.0-1081.87, 6.8.0-78.78~22.04.1, 6.8.0-1032.36, 6.8.0-1035.38, 6.8.0-1035.38.1, 6.8.0-1035.38~22.04.1, 6.8.0-1035.39
linux-gcp (Ubuntu package) - addressed in versions 5.15.0.1083.79, 5.15.0-1083.92
linux-gcp-5.15 (Ubuntu package) - addressed in versions 5.15.0.1083.92~20.04.1, 5.15.0-1083.92~20.04.1
linux-aws-5.15 (Ubuntu package) - addressed in versions 5.15.0-1084.91~20.04.1, 5.15.0.1084.91~20.04.1
linux (Debian package) - update to 6.1.133-1
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1019.21~22.04.1, 6.8.0-1033.33, 6.8.0-1033.33~22.04.1, 6.8.0-1035.37~22.04.1, 6.8.0-1036.38, 6.8.0-1036.38~22.04.1
linux-oracle (Ubuntu package) - update to 6.8.0-1032.33~22.04.1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2028.29
linux-lowlatency (Ubuntu package) - addressed in versions 6.11.0-1014.15, 6.11.0-1014.15~24.04.1, 6.11.0-1016.17
External References
Related Security Bulletins
- Improper locking in Linux kernel mm
- openEuler 20.03 LTS SP4 update for kernel
- openEuler 22.03 LTS SP3 update for kernel
- openEuler 22.03 LTS SP4 update for kernel
- openEuler 24.03 LTS update for kernel
- openEuler 24.03 LTS SP1 update for kernel
- Debian update for linux
- Ubuntu update for linux-xilinx-zynqmp
- Ubuntu update for linux-gcp-fips
- Ubuntu update for linux
- Ubuntu update for linux-gcp-5.15
- Ubuntu update for linux-gcp-fips
- Ubuntu update for linux-gcp
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux
- Ubuntu update for linux-azure
- Ubuntu update for linux-gke
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-intel-iot-realtime
- Ubuntu update for linux-azure
- Ubuntu update for linux-ibm-5.4
- Ubuntu update for linux-oracle-5.4
- Ubuntu update for linux-aws
- Ubuntu update for linux-hwe-5.4
- Ubuntu update for linux-bluefield
- Ubuntu update for linux-ibm
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-aws
- Ubuntu update for linux-lowlatency
- Ubuntu update for linux-raspi
- Ubuntu update for linux-raspi-5.4
- Ubuntu update for linux
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-aws-5.4
- Ubuntu update for linux-aws
- Ubuntu update for linux-aws-5.15
- Ubuntu update for linux-hwe-5.15
- Ubuntu update for linux-xilinx-zynqmp
- Ubuntu update for linux-iot
- Ubuntu update for linux
- Ubuntu update for linux-aws-6.8
- Ubuntu update for linux-oracle
- Ubuntu update for linux-raspi-realtime
- Ubuntu update for linux-gke
- Ubuntu update for linux-azure