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 kernel-livepatch-5.10.178-162.673Upgrade bpftool-debuginfoUpgrade kernel-debuginfoUpgrade perfUpgrade kernel-tools-develUpgrade bpftoolUpgrade kernel-tools-debuginfoUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-develUpgrade kernel-debuginfo-common-x86_64Upgrade python-perfUpgrade kernel-headersUpgrade python-perf-debuginfoUpgrade kernel-livepatch-4.14.313-235.533Upgrade kernel-toolsUpgrade kernelUpgrade perf-debuginfo | May 20, 2026 | May 20, 2026 |
| Debian | — | Upgrade linux | Oct 6, 2025 | Oct 6, 2025 |
| Ubuntu | — | Upgrade linux-kvmUpgrade linux-gcp-5.4Upgrade linux-fipsUpgrade linux-gcp-5.15Upgrade linux-aws-5.4Upgrade linux-gkeUpgrade linux-gcpUpgrade linux-intel-iotg-5.15Upgrade linux-raspiUpgrade linux-riscv-5.15Upgrade linux-ibmUpgrade linux-aws-fipsUpgrade linux-oracleUpgrade linux-lowlatencyUpgrade linux-azure-5.15Upgrade linux-oracle-5.15Upgrade linux-realtimeUpgrade linux-azureUpgrade linux-nvidiaUpgrade linux-hwe-5.4Upgrade linux-azure-fipsUpgrade linux-oracle-5.4Upgrade linux-intel-iot-realtimeUpgrade linux-intel-iotgUpgrade linux-ibm-5.15Upgrade linux-gkeopUpgrade linux-xilinx-zynqmpUpgrade linux-azure-fdeUpgrade linux-nvidia-tegra-igxUpgrade linux-gcp-fipsUpgrade linux-raspi-5.4Upgrade linux-iotUpgrade linuxUpgrade linux-nvidia-tegra-5.15Upgrade linux-aws-5.15Upgrade linux-lowlatency-hwe-5.15Upgrade linux-azure-5.4Upgrade linux-ibm-5.4Upgrade linux-bluefieldUpgrade linux-hwe-5.15Upgrade linux-nvidia-tegraUpgrade linux-aws | 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