Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-68736

HIGH 8.8EPSS 8%

landlock: Fix handling of disconnected directories

Mitigation

  • Upgrade Linux to 49c9e09d961025b22e61ef9ad56aa1c21b6ce2f1 or later.

Who should check

  • Anyone running Linux >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 4f5cdc82a6c7e22cfd9a92d203cec13a52a3f363; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < fbf718d5afe21057694a0c0223a18b0c7a5960b6; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 426d5b681b2f3339ff04da39b81d71176dc8c87c; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < cadb28f8b3fd6908e3051e86158c65c3a8e1c907; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 49c9e09d961025b22e61ef9ad56aa1c21b6ce2f1
  • Anyone running Linux 5.13

Vulnerability facts

Affected
Linux >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 4f5cdc82a6c7e22cfd9a92d203cec13a52a3f363; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < fbf718d5afe21057694a0c0223a18b0c7a5960b6; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 426d5b681b2f3339ff04da39b81d71176dc8c87c; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < cadb28f8b3fd6908e3051e86158c65c3a8e1c907; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 49c9e09d961025b22e61ef9ad56aa1c21b6ce2f1; Linux 5.13
Fixed in
Linux 4f5cdc82a6c7e22cfd9a92d203cec13a52a3f363, Linux 426d5b681b2f3339ff04da39b81d71176dc8c87c, Linux 49c9e09d961025b22e61ef9ad56aa1c21b6ce2f1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: landlock: Fix handling of disconnected directories Disconnected files or directories can appear when they are visible and opened from a bind mount, but have been renamed or moved from the source of the bind mount in a way that makes them inaccessible from the mount point (i.e. out of scope). Previously, access rights tied to files or directories opened through a disconnected directory were collected by walking the related hierarchy down to the root of the filesystem, without taking into account the mount point because it couldn't be found. This could lead to inconsistent access results, potential access right widening, and hard-to-debug renames, especially since such paths cannot be printed. For a sandboxed task to create a disconnected directory, it needs to have write access (i.e. FS_MAKE_REG, FS_REMOVE_FILE, and FS_REFER) to the underlying source of the bind mount, and read access to the related mount point. Because a sandboxed task cannot acquire more access rights than those defined by its Landlock domain, this could lead to inconsistent access rights due to missing permissions that should be inherited from the mount point hierarchy, while inheriting permissions from the filesystem hierarchy hidden by this mount point instead. Landlock now handles files and directories opened from disconnected directories by taking into account the filesystem hierarchy when the mount point is not found in the hierarchy walk, and also always taking into account the mount point from which these disconnected directories were opened. This ensures that a rename is not allowed if it would widen access rights [1]. The rationale is that, even if disconnected hierarchies might not be visible or accessible to a sandboxed task, relying on the collected access rights from them improves the guarantee that access rights will not be widened during a rename because of the access right comparison between the source and the destination (see LANDLOCK_ACCESS_FS_REFER). It may look like this would grant more access on disconnected files and directories, but the security policies are always enforced for all the evaluated hierarchies. This new behavior should be less surprising to users and safer from an access control perspective. Remove a wrong WARN_ON_ONCE() canary in collect_domain_accesses() and fix the related comment. Because opened files have their access rights stored in the related file security properties, there is no impact for disconnected or unlinked files.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 4f5cdc82a6c7e22cfd9a92d203cec13a52a3f363; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < fbf718d5afe21057694a0c0223a18b0c7a5960b6; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 426d5b681b2f3339ff04da39b81d71176dc8c87c; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < cadb28f8b3fd6908e3051e86158c65c3a8e1c907; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 49c9e09d961025b22e61ef9ad56aa1c21b6ce2f1—cvelist
Linux5.13—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-68736. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68736.md
Affected: Linux >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 4f5cdc82a6c7e22cfd9a92d203cec13a52a3f363; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < fbf718d5afe21057694a0c0223a18b0c7a5960b6; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 426d5b681b2f3339ff04da39b81d71176dc8c87c; >= cb2c7d1a1776057c9a1f48e…
Fixed in: Linux 4f5cdc82a6c7e22cfd9a92d203cec13a52a3f363, Linux 426d5b681b2f3339ff04da39b81d71176dc8c87c, Linux 49c9e09d961025b22e61ef9ad56aa1c21b6ce2f1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-68736 being exploited?

There is no confirmed exploitation: CVE-2025-68736 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-68736?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-68736?

Linux >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 4f5cdc82a6c7e22cfd9a92d203cec13a52a3f363; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < fbf718d5afe21057694a0c0223a18b0c7a5960b6; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 426d5b681b2f3339ff04da39b81d71176dc8c87c; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < cadb28f8b3fd6908e3051e86158c65c3a8e1c907; >= cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, < 49c9e09d961025b22e61ef9ad56aa1c21b6ce2f1; Linux 5.13.

Is there a fix for CVE-2025-68736?

Yes. Fixed in Linux 4f5cdc82a6c7e22cfd9a92d203cec13a52a3f363, Linux 426d5b681b2f3339ff04da39b81d71176dc8c87c, Linux 49c9e09d961025b22e61ef9ad56aa1c21b6ce2f1. Upgrade Linux to 49c9e09d961025b22e61ef9ad56aa1c21b6ce2f1 or later.

How do I check if I'm affected by CVE-2025-68736?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors