Sandbox bypass via unrecognized inode types
Published Mar 6, 2025 · Updated Aug 5, 2026
Improper access control in Linux kernel Landlock allows local users to bypass sandbox write restrictions through crafted filesystem inodes. The get_mode_access() helper in security/landlock/fs.c returns an empty access mask for an unrecognized S_IFMT value, so Landlock permits link or rename operations instead of requiring the regular-file creation right. Exploitation requires a mounted crafted filesystem and a self-created Landlock domain; it enables limited protected-directory changes and can panic hosts configured with panic_on_warn.
Summary
What happened
Improper access control in Linux kernel Landlock allows local users to bypass sandbox write restrictions through crafted filesystem inodes. The get_mode_access() helper in security/landlock/fs.c returns an empty access mask for an unrecognized S_IFMT value, so Landlock permits link or rename operations instead of requiring the regular-file creation right. Exploitation requires a mounted crafted filesystem and a self-created Landlock domain; it enables limited protected-directory changes and can panic hosts configured with panic_on_warn.
The record
- CVE
- CVE-2025-21830
- Published
- Mar 6, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 6, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.13
- Affected versionversion=cb2c7d1a1776057c9a1f48ed1250d85e94d4850d <0fde195a373ab1267e60baa9e1a703a97e7464cd
- Affected versionversion=cb2c7d1a1776057c9a1f48ed1250d85e94d4850d <2569e65d2eb6ac1afe6cb6dfae476afee8b6771a
- Affected versionversion=cb2c7d1a1776057c9a1f48ed1250d85e94d4850d <39bb3d56f1c351e76bb18895d0e73796e653d5c1
- Affected versionversion=cb2c7d1a1776057c9a1f48ed1250d85e94d4850d <49440290a0935f428a1e43a5ac8dc275a647ff80
- Affected versionversion=cb2c7d1a1776057c9a1f48ed1250d85e94d4850d <7d6121228959ddf44a4b9b6a177384ac7854e2f9
- Affected versionversion=cb2c7d1a1776057c9a1f48ed1250d85e94d4850d <a1fccf6b72b56343dd4f2d96b008147f9951eebd
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- syzbot get_mode_access reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo