Description

The kernel function that implements unlinkat(2) and funlinkat(2) validated the AT_RESOLVE_BENEATH flag but failed to pass it through to the underlying path lookup. The flag was silently dropped, so path resolution was not actually restricted. A process that uses AT_RESOLVE_BENEATH with unlinkat(2) or funlinkat(2) to confine path resolution can in fact resolve paths above the starting directory. A caller relying on this flag for path containment may delete files outside the intended directory tree.

Weaknesses

  • CWE-273 — CWE-273: Improper Check for Dropped Privileges

Affected products

VendorProductVersions
FreeBSDFreeBSD15.1-RELEASE to <p1; 15.0-RELEASE to <p11; 14.4-RELEASE to <p7; 14.3-RELEASE to <p16

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 19 Aug 2026 07:05 UTC.