Menu

Star on GitHub · 3.2k

CVE-2026-46160

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix missing last_unlink_trans update when removing a directory When removing a directory we are not updating its last_un…

Published May 28, 2026EPSS 0.13%

Overview

CVE-2026-46160 is a medium-severity vulnerability. It was published on May 28, 2026 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: fix missing last_unlink_trans update when removing a directory

When removing a directory we are not updating its last_unlink_trans field,

which can result in incorrect fsync behaviour in case some one fsyncs the

directory after it was removed because it's holding a file descriptor on

it.

Example scenario:

mkdir /mnt/dir1

mkdir /mnt/dir1/dir2

mkdir /mnt/dir3

sync -f /mnt

# Do some change to the directory and fsync it.

chmod 700 /mnt/dir1

xfs_io -c fsync /mnt/dir1

# Move dir2 out of dir1 so that dir1 becomes empty.

mv /mnt/dir1/dir2 /mnt/dir3/

open fd on /mnt/dir1

call rmdir(2) on path "/mnt/dir1"

fsync fd

<trigger power failure>

When attempting to mount the filesystem, the log replay will fail with

an -EIO error and dmesg/syslog has the following:

[445771.626482] BTRFS info (device dm-0): first mount of filesystem 0368bbea-6c5e-44b5-b409-09abe496e650

[445771

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-46160?

CVE-2026-46160 is a medium-severity vulnerability. It was published on May 28, 2026 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2026-46160?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-46160?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-46160?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-46160 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2026

View all