In the Linux kernel, the following vulnerability has been resolved:
ubifs: Free memory for tmpfile name
When opening a ubifs tmpfile on an encrypted directory, function fscrypt_setup_filename allocates memory for the name that is to be stored in the directory entry, but after the name has been copied to the directory entry inode, the memory is not freed.
When running kmemleak on it we see that it is registered as a leak. The report below is triggered by a simple program 'tmpfile' just opening a tmpfile:
unreferenced object 0xffff88810178f380 (size 32): comm "tmpfile", pid 509, jiffies 4294934744 (age 1524.742s) backtrace: __kmem_cache_alloc_node __kmalloc fscrypt_setup_filename ubifs_tmpfile vfs_tmpfile path_openat
Free this memory after it has been copied to the inode.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Sep 18, 2025 | Sep 18, 2025 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Sep 16, 2025 |
| Ubuntu | — | Upgrade linux-raspi-5.4Upgrade linux-intel-iotg-5.15Upgrade linux-aws-fipsUpgrade linux-bluefieldUpgrade linux-hwe-5.4Upgrade linux-azureUpgrade linux-oracleUpgrade linux-gkeopUpgrade linux-hwe-5.15Upgrade linux-azure-5.15Upgrade linux-gcp-5.15Upgrade linux-awsUpgrade linux-azure-5.4Upgrade linux-iotUpgrade linux-gcp-fipsUpgrade linux-gcpUpgrade linux-ibmUpgrade linux-nvidia-tegra-igxUpgrade linux-kvmUpgrade linux-realtimeUpgrade linuxUpgrade linux-gcp-5.4Upgrade linux-intel-iot-realtimeUpgrade linux-fipsUpgrade linux-gkeUpgrade linux-raspiUpgrade linux-nvidiaUpgrade linux-azure-fde-5.15Upgrade linux-ibm-5.15Upgrade linux-azure-fipsUpgrade linux-intel-iotgUpgrade linux-nvidia-tegraUpgrade linux-oracle-5.15Upgrade linux-lowlatency-hwe-5.15Upgrade linux-xilinx-zynqmpUpgrade linux-ibm-5.4Upgrade linux-riscv-5.15Upgrade linux-aws-5.15Upgrade linux-aws-5.4Upgrade linux-nvidia-tegra-5.15Upgrade linux-oracle-5.4Upgrade linux-lowlatency | Sep 19, 2025 | Sep 17, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Oct 15, 2025 | Sep 16, 2025 |
Prioritise with Active Threat Intelligence
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