In the Linux kernel, the following vulnerability has been resolved:
memcg: fix possible use-after-free in memcg_write_event_control()
memcg_write_event_control() accesses the dentry->d_name of the specified control fd to route the write call. As a cgroup interface file can't be renamed, it's safe to access d_name as long as the specified file is a regular cgroup file. Also, as these cgroup interface files can't be removed before the directory, it's safe to access the parent too.
Prior to 347c4a874710 ("memcg: remove cgroup_event->cft"), there was a call to __file_cft() which verified that the specified file is a regular cgroupfs file before further accesses. The cftype pointer returned from __file_cft() was no longer necessary and the commit inadvertently dropped the file type check with it allowing any file to slip through. With the invarients broken, the d_name and parent accesses can now race against renames and removals of arbitrary files and cause use-after-free's.
Fix the bug by resurrecting the file type check in __file_cft(). Now that cgroupfs is implemented through kernfs, checking the file operations needs to go through a layer of indirection. Instead, let's check the superblock and dentry type.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade kernel-toolsUpgrade python-perfUpgrade bpftoolUpgrade perfUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-livepatch-5.10.162-141.675Upgrade kernel-livepatch-5.15.86-53.137Upgrade bpftool-debuginfoUpgrade python-perf-debuginfoUpgrade perf-debuginfoUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-headersUpgrade kernel-tools-debuginfoUpgrade kernel-debuginfoUpgrade kernel-tools-develUpgrade kernel-livepatch-4.14.304-226.531Upgrade kernel-develUpgrade kernel | Jan 22, 2025 | Oct 21, 2024 |
| Amazon_linux | — | Upgrade kernel | Jan 23, 2025 | Mar 20, 2023 |
| Debian | — | Upgrade linux | Oct 23, 2024 | Oct 23, 2024 |
| Dell Powerstore Dsa2025223 | — | Upgrade Dell PowerStoreOS to the latest version | Oct 23, 2025 | May 27, 2025 |
| Huawei Euleros 2_0_sp10 | — | Upgrade kernel-abi-stablelistsUpgrade kernel-tools-libsUpgrade kernel-toolsUpgrade python3-perfUpgrade kernel | Jan 14, 2025 | Oct 21, 2024 |
| Huawei Euleros 2_0_sp12 | — | Upgrade kernelUpgrade python3-perfUpgrade kernel-abi-stablelistsUpgrade kernel-tools-libsUpgrade kernel-toolsUpgrade bpftool | Feb 11, 2025 | Oct 21, 2024 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Oct 21, 2024 |
| Ubuntu | — | Upgrade linux-bluefieldUpgrade linux-aws-5.15Upgrade linux-nvidia-tegra-5.15Upgrade linux-lowlatency-hwe-5.15Upgrade linux-aws-hweUpgrade linux-oracle-5.4Upgrade linuxUpgrade linux-awsUpgrade linux-gcpUpgrade linux-intel-iot-realtimeUpgrade linux-riscv-5.15Upgrade linux-fipsUpgrade linux-raspiUpgrade linux-aws-5.4Upgrade linux-lowlatencyUpgrade linux-ibm-5.4Upgrade linux-raspi-5.4Upgrade linux-gkeUpgrade linux-azure-fipsUpgrade linux-azure-5.4Upgrade linux-gcp-fipsUpgrade linux-intel-iotg-5.15Upgrade linux-hwe-5.4Upgrade linux-azure-4.15Upgrade linux-gkeop-5.15Upgrade linux-azure-5.15Upgrade linux-hweUpgrade linux-realtimeUpgrade linux-oracleUpgrade linux-azure-fdeUpgrade linux-oracle-5.15Upgrade linux-gcp-4.15Upgrade linux-gcp-5.4Upgrade linux-gcp-5.15Upgrade linux-aws-fipsUpgrade linux-kvmUpgrade linux-gkeopUpgrade linux-intel-iotgUpgrade linux-azureUpgrade linux-iotUpgrade linux-hwe-5.15Upgrade linux-nvidiaUpgrade linux-xilinx-zynqmpUpgrade linux-ibm | Nov 19, 2024 | Oct 21, 2024 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Oct 21, 2024 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub