Kernel panic via duplicate CIFS context cleanup
Published Feb 26, 2025 · Updated Aug 5, 2026
Double free in Linux 5.11 through 5.15.45, 5.16 through 5.17.13, and 5.18 through 5.18.2 allows local users to panic the system. On a failed mount, cifs_smb3_do_mount falls through from out_super to out after deactivate_locked_super schedules delayed_free, so cifs_sb->ctx and its owner are cleaned up twice. Reachability requires a failing CIFS mount path; direct mounts require CAP_SYS_ADMIN, while configured DFS automounts can expose the path to lower-privileged users.
Summary
What happened
Double free in Linux 5.11 through 5.15.45, 5.16 through 5.17.13, and 5.18 through 5.18.2 allows local users to panic the system. On a failed mount, cifs_smb3_do_mount falls through from out_super to out after deactivate_locked_super schedules delayed_free, so cifs_sb->ctx and its owner are cleaned up twice. Reachability requires a failing CIFS mount path; direct mounts require CAP_SYS_ADMIN, while configured DFS automounts can expose the path to lower-privileged users.
The record
- CVE
- CVE-2022-49541
- Published
- Feb 26, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-415, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 26, 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.11
- Affected versionversion=d17abdf7566566fc402c31899b353044a7ff3cf4 <8378a51e3f8140f60901fb27208cc7a6e47047b5
- Affected versionversion=d17abdf7566566fc402c31899b353044a7ff3cf4 <9a167fc440e5693c1cdd7f07071e05658bd9d89d
- Affected versionversion=d17abdf7566566fc402c31899b353044a7ff3cf4 <ce0008a0e410cdd95f0d8cd81b2902ec10a660c4
- Affected versionversion=d17abdf7566566fc402c31899b353044a7ff3cf4 <ee71f8f1cd3c8c4a251fd3e8abc89215ae3457cb
What conditions does exploitation require?
What is affected?
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.
Public exploit references
No public exploit references are available in this record.
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