In the Linux kernel, the following vulnerability has been resolved:
nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread()
The finalization of nilfs_segctor_thread() can race with nilfs_segctor_kill_thread() which terminates that thread, potentially causing a use-after-free BUG as KASAN detected.
At the end of nilfs_segctor_thread(), it assigns NULL to "sc_task" member of "struct nilfs_sc_info" to indicate the thread has finished, and then notifies nilfs_segctor_kill_thread() of this using waitqueue "sc_wait_task" on the struct nilfs_sc_info.
However, here, immediately after the NULL assignment to "sc_task", it is possible that nilfs_segctor_kill_thread() will detect it and return to continue the deallocation, freeing the nilfs_sc_info structure before the thread does the notification.
This fixes the issue by protecting the NULL assignment to "sc_task" and its notification, with spinlock "sc_state_lock" of the struct nilfs_sc_info. Since nilfs_segctor_kill_thread() does a final check to see if "sc_task" is NULL with "sc_state_lock" locked, this can eliminate the race.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade bpftoolUpgrade bpftool-debuginfoUpgrade kernelUpgrade kernel-debuginfoUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-debuginfo-common-x86_64Upgrade kernel-develUpgrade kernel-headersUpgrade kernel-livepatch-4.14.313-235.533Upgrade kernel-livepatch-5.10.178-162.673Upgrade kernel-toolsUpgrade kernel-tools-debuginfoUpgrade kernel-tools-develUpgrade perfUpgrade perf-debuginfoUpgrade python-perfUpgrade python-perf-debuginfo | May 20, 2026 | May 20, 2026 |
| Debian | — | Upgrade linux | Oct 6, 2025 | Oct 6, 2025 |
| Echo Linux | — | Upgrade linux | Nov 12, 2026 | Oct 4, 2025 |
| Ubuntu | — | Upgrade linuxUpgrade linux-awsUpgrade linux-aws-5.15Upgrade linux-aws-5.4Upgrade linux-aws-fipsUpgrade linux-azureUpgrade linux-azure-5.15Upgrade linux-azure-5.4Upgrade linux-azure-fdeUpgrade linux-azure-fipsUpgrade linux-bluefieldUpgrade linux-fipsUpgrade linux-gcpUpgrade linux-gcp-5.15Upgrade linux-gcp-5.4Upgrade linux-gcp-fipsUpgrade linux-gkeUpgrade linux-gkeopUpgrade linux-hwe-5.15Upgrade linux-hwe-5.4Upgrade linux-ibmUpgrade linux-ibm-5.15Upgrade linux-ibm-5.4Upgrade linux-intel-iot-realtimeUpgrade linux-intel-iotgUpgrade linux-intel-iotg-5.15Upgrade linux-iotUpgrade linux-kvmUpgrade linux-lowlatencyUpgrade linux-lowlatency-hwe-5.15Upgrade linux-nvidiaUpgrade linux-nvidia-tegraUpgrade linux-nvidia-tegra-5.15Upgrade linux-nvidia-tegra-igxUpgrade linux-oracleUpgrade linux-oracle-5.15Upgrade linux-oracle-5.4Upgrade linux-raspiUpgrade linux-raspi-5.4Upgrade linux-realtimeUpgrade linux-riscv-5.15Upgrade linux-xilinx-zynqmp | Oct 10, 2025 | Oct 4, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Oct 15, 2025 | Oct 4, 2025 |
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