Improper locking in Linux kernel - CVE-2024-27034
Published: July 4, 2024 / Updated: May 13, 2025
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 f2fs_write_single_data_page() function in fs/f2fs/data.c, within the f2fs_compress_write_end_io(), f2fs_write_raw_pages() and unlock_page() functions in fs/f2fs/compress.c. A local user can perform a denial of service (DoS) attack.
Affected software
Ubuntu
openEuler
perf-debuginfo
kernel
python3-perf-debuginfo
kernel-tools
kernel-headers
kernel-tools-debuginfo
kernel-debuginfo
kernel-source
kernel-debugsource
kernel-devel
kernel-tools-devel
python3-perf
perf
linux-image-generic-lpae-hwe-20.04 (Ubuntu package)
linux-image-generic-hwe-20.04 (Ubuntu package)
linux-image-generic-64k-hwe-20.04 (Ubuntu package)
linux-image-5.15.0-113-generic-lpae (Ubuntu package)
linux-image-5.15.0-113-generic-64k (Ubuntu package)
linux-image-5.15.0-113-generic (Ubuntu package)
linux-image-oem-20.04 (Ubuntu package)
linux-image-oem-20.04b (Ubuntu package)
linux-image-oem-20.04c (Ubuntu package)
linux-image-oem-20.04d (Ubuntu package)
linux-image-virtual-hwe-20.04 (Ubuntu package)
linux-image-gkeop-5.15 (Ubuntu package)
linux-image-gkeop (Ubuntu package)
linux-image-5.15.0-1046-gkeop (Ubuntu package)
linux-image-5.15.0-1057-ibm (Ubuntu package)
linux-image-ibm (Ubuntu package)
linux-image-raspi (Ubuntu package)
linux-image-raspi-nolpae (Ubuntu package)
linux-image-5.15.0-1058-raspi (Ubuntu package)
linux-image-kvm (Ubuntu package)
linux-image-5.15.0-1060-kvm (Ubuntu package)
linux-image-virtual (Ubuntu package)
linux-image-virtual-hwe-24.04 (Ubuntu package)
linux-image-generic-lpae (Ubuntu package)
linux-image-generic-hwe-24.04 (Ubuntu package)
linux-image-generic-64k (Ubuntu package)
linux-image-generic (Ubuntu package)
linux-image-generic-64k-hwe-24.04 (Ubuntu package)
linux-image-6.8.0-35-generic (Ubuntu package)
linux-image-6.8.0-35-generic-64k (Ubuntu package)
linux-image-6.8.0-35-lowlatency-64k (Ubuntu package)
linux-image-lowlatency (Ubuntu package)
linux-image-lowlatency-64k (Ubuntu package)
linux-image-6.8.0-35-lowlatency (Ubuntu package)
linux-image-gke (Ubuntu package)
linux-image-6.8.0-1004-gke (Ubuntu package)
linux-image-6.8.0-1005-raspi (Ubuntu package)
linux-image-oracle-64k (Ubuntu package)
linux-image-oracle (Ubuntu package)
linux-image-6.8.0-1006-oracle-64k (Ubuntu package)
linux-image-6.8.0-1006-oracle (Ubuntu package)
linux-image-6.8.0-1006-ibm (Ubuntu package)
linux-image-6.8.0-1006-oem (Ubuntu package)
linux-image-ibm-lts-24.04 (Ubuntu package)
linux-image-ibm-classic (Ubuntu package)
linux-image-oem-24.04a (Ubuntu package)
linux-image-oem-24.04 (Ubuntu package)
linux-image-azure (Ubuntu package)
linux-image-azure-fde (Ubuntu package)
linux-image-6.8.0-1008-azure-fde (Ubuntu package)
linux-image-6.8.0-1008-azure (Ubuntu package)
How to mitigate CVE-2024-27034
perf-debuginfo - update to 5.10.0-201.0.0.114
kernel - update to 5.10.0-201.0.0.114
python3-perf-debuginfo - update to 5.10.0-201.0.0.114
kernel-tools - update to 5.10.0-201.0.0.114
kernel-headers - update to 5.10.0-201.0.0.114
kernel-tools-debuginfo - update to 5.10.0-201.0.0.114
kernel-debuginfo - update to 5.10.0-201.0.0.114
kernel-source - update to 5.10.0-201.0.0.114
kernel-debugsource - update to 5.10.0-201.0.0.114
kernel-devel - update to 5.10.0-201.0.0.114
kernel-tools-devel - update to 5.10.0-201.0.0.114
python3-perf - update to 5.10.0-201.0.0.114
perf - update to 5.10.0-201.0.0.114
linux-image-generic-lpae-hwe-20.04 (Ubuntu package) - update to 5.15.0.113.123~20.04.1
linux-image-generic-hwe-20.04 (Ubuntu package) - update to 5.15.0.113.123~20.04.1
linux-image-generic-64k-hwe-20.04 (Ubuntu package) - update to 5.15.0.113.123~20.04.1
linux-image-5.15.0-113-generic-lpae (Ubuntu package) - update to 5.15.0-113.123~20.04.1
linux-image-5.15.0-113-generic-64k (Ubuntu package) - update to 5.15.0-113.123~20.04.1
linux-image-5.15.0-113-generic (Ubuntu package) - update to 5.15.0-113.123~20.04.1
linux-image-oem-20.04 (Ubuntu package) - update to 5.15.0.113.123~20.04.1
linux-image-oem-20.04b (Ubuntu package) - update to 5.15.0.113.123~20.04.1
linux-image-oem-20.04c (Ubuntu package) - update to 5.15.0.113.123~20.04.1
linux-image-oem-20.04d (Ubuntu package) - update to 5.15.0.113.123~20.04.1
linux-image-virtual-hwe-20.04 (Ubuntu package) - update to 5.15.0.113.123~20.04.1
linux-image-gkeop-5.15 (Ubuntu package) - addressed in versions 5.15.0.1046.45, 5.15.0.1046.53~20.04.1
linux-image-gkeop (Ubuntu package) - update to 5.15.0.1046.45
linux-image-5.15.0-1046-gkeop (Ubuntu package) - update to 5.15.0-1046.53~20.04.1
linux-image-5.15.0-1057-ibm (Ubuntu package) - update to 5.15.0-1057.60~20.04.1
linux-image-ibm (Ubuntu package) - addressed in versions 5.15.0.1057.60~20.04.1, 6.8.0-1006.6
linux-image-raspi (Ubuntu package) - addressed in versions 5.15.0.1058.56, 6.8.0-1005.5
linux-image-raspi-nolpae (Ubuntu package) - update to 5.15.0.1058.56
linux-image-5.15.0-1058-raspi (Ubuntu package) - update to 5.15.0-1058.61
linux-image-kvm (Ubuntu package) - addressed in versions 5.15.0.1060.56, 6.8.0-35.35
linux-image-5.15.0-1060-kvm (Ubuntu package) - update to 5.15.0-1060.65
linux-image-virtual (Ubuntu package) - update to 6.8.0-35.35
linux-image-virtual-hwe-24.04 (Ubuntu package) - update to 6.8.0-35.35
linux-image-generic-lpae (Ubuntu package) - update to 6.8.0-35.35
linux-image-generic-hwe-24.04 (Ubuntu package) - update to 6.8.0-35.35
linux-image-generic-64k (Ubuntu package) - update to 6.8.0-35.35
linux-image-generic (Ubuntu package) - update to 6.8.0-35.35
linux-image-generic-64k-hwe-24.04 (Ubuntu package) - update to 6.8.0-35.35
linux-image-6.8.0-35-generic (Ubuntu package) - update to 6.8.0-35.35+1
linux-image-6.8.0-35-generic-64k (Ubuntu package) - update to 6.8.0-35.35+1
linux-image-6.8.0-35-lowlatency-64k (Ubuntu package) - update to 6.8.0-35.35.1
linux-image-lowlatency (Ubuntu package) - update to 6.8.0-35.35.1
linux-image-lowlatency-64k (Ubuntu package) - update to 6.8.0-35.35.1
linux-image-6.8.0-35-lowlatency (Ubuntu package) - update to 6.8.0-35.35.1
linux-image-gke (Ubuntu package) - update to 6.8.0-1004.7
linux-image-6.8.0-1004-gke (Ubuntu package) - update to 6.8.0-1004.7
linux-image-6.8.0-1005-raspi (Ubuntu package) - update to 6.8.0-1005.5
linux-image-oracle-64k (Ubuntu package) - update to 6.8.0-1006.6
linux-image-oracle (Ubuntu package) - update to 6.8.0-1006.6
linux-image-6.8.0-1006-oracle-64k (Ubuntu package) - update to 6.8.0-1006.6
linux-image-6.8.0-1006-oracle (Ubuntu package) - update to 6.8.0-1006.6
linux-image-6.8.0-1006-ibm (Ubuntu package) - update to 6.8.0-1006.6
linux-image-6.8.0-1006-oem (Ubuntu package) - update to 6.8.0-1006.6
linux-image-ibm-lts-24.04 (Ubuntu package) - update to 6.8.0-1006.6
linux-image-ibm-classic (Ubuntu package) - update to 6.8.0-1006.6
linux-image-oem-24.04a (Ubuntu package) - update to 6.8.0-1006.6+1
linux-image-oem-24.04 (Ubuntu package) - update to 6.8.0-1006.6+1
linux-image-azure (Ubuntu package) - update to 6.8.0-1008.8
linux-image-azure-fde (Ubuntu package) - update to 6.8.0-1008.8
linux-image-6.8.0-1008-azure-fde (Ubuntu package) - update to 6.8.0-1008.8
linux-image-6.8.0-1008-azure (Ubuntu package) - update to 6.8.0-1008.8
External References
- https://git.kernel.org/stable/c/7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416
- https://git.kernel.org/stable/c/542c8b3c774a480bfd0804291a12f6f2391b0cd1
- https://git.kernel.org/stable/c/75abfd61392b1db391bde6d738a30d685b843286
- https://git.kernel.org/stable/c/2b1b14d9fc94b8feae20808684c8af28ec80f45b
- https://git.kernel.org/stable/c/52982edfcefd475cc34af663d5c47c0cddaa5739
- https://git.kernel.org/stable/c/fd244524c2cf07b5f4c3fe8abd6a99225c76544b
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.153
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.83
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.23
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.7.11
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8.2
Related Security Bulletins
- Improper locking in Linux kernel f2fs
- openEuler 22.03 LTS SP3 update for kernel
- Ubuntu update for linux-gkeop
- Ubuntu update for linux-hwe-5.15
- Ubuntu update for linux-ibm-5.15
- Ubuntu update for linux
- Ubuntu update for linux-oem-6.8
- Ubuntu update for linux-azure
- Ubuntu update for linux-oracle
- Ubuntu update for linux-raspi