Database/Kernel, userspace & hypervisor
systemd-tmpfiles: uncontrolled recursion on deeply nested /tmp directories stalls boot
Impact
systemd-tmpfiles recurses without bound when cleaning /tmp, so a local user who creates a deeply nested directory tree there can exhaust the stack and make systemd-tmpfiles fail at boot time. On a GPU node that matters because the damage surfaces at the next reboot rather than when it is planted: a node that was drained for a firmware flash or kernel update comes back wedged in early boot, and the operator has to recover it out of band instead of returning it to the scheduler. Availability only - no data exposure, no privilege gain. Shared multi-tenant nodes with a world-writable /tmp are the exposed case; nodes where tenants get per-pod ephemeral mounts are not.
Who can reach it
Local unprivileged user with write access to /tmp on the host (a tenant shell, or a container that shares the host /tmp). No special capabilities and no authentication beyond an account.
What to do
Update systemd from your distribution (upstream commit 5b1cf7a9be37, Gentoo GLSA 202305-15) and reboot the node to be running the fixed tmpfiles at the next boot; a package update alone leaves the in-flight boot path untested. Until then, do not expose the host /tmp to tenant workloads. Low urgency: a DoS that needs a local account and a reboot to trigger.
References
Related entries
- Linux kernel (drivers/iommu/amd): On AMD hosts, switching a device's IOMMU group between a DMA domain and an identityCVE-2021-47140 · Linux kernel (drivers/iommu/amd)Medium
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A race condition or locking defect in the amdkfd (KFDCVE-2021-47410 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)Medium
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A memory or reference-count leak in the amdkfd (KFDCVE-2021-47420 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)Medium
- util-linux (chfn/chsh): Partial disclosure of arbitrary files via libreadline in setuid chfn/chshCVE-2022-0563 · util-linux (chfn/chsh)Medium
- KVM: NULL pointer dereference in kvm_irq_delivery_to_apic_fast() - guest crashes the hostCVE-2022-2153 · KVMMedium
- Linux kernel (mm anon_vma): Use-after-free from leaf anon_vma double reuse - memory corruption / privesc primitiveCVE-2022-42703 · Linux kernel (mm anon_vma)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.