CVE-2022-49541 cifs: fix potential double free during failed mount
A double free vulnerability in the Linux kernel CIFS module during failed mounts can cause a system crash, requiring a kernel patch.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49541?
CVE-2022-49541 is a high-severity use after free vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
cifs: fix potential double free during failed mount
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2088799
Weakness: CWE-415
Which versions are affected by CVE-2022-49541?
It affects 1 product.
Linux distribution packages (12)
kpatch-patch-5_14_0-70_112_1 Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-5.el9_0 |
kpatch-patch-5_14_0-70_112_1-debuginfo Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-5.el9_0 |
kpatch-patch-5_14_0-70_112_1-debugsource Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-5.el9_0 |
kpatch-patch-5_14_0-70_121_1 Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-4.el9_0 |
kpatch-patch-5_14_0-70_121_1-debuginfo Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-4.el9_0 |
kpatch-patch-5_14_0-70_121_1-debugsource Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-4.el9_0 |
kpatch-patch-5_14_0-70_124_1 Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-2.el9_0 |
kpatch-patch-5_14_0-70_124_1-debuginfo Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-2.el9_0 |
kpatch-patch-5_14_0-70_124_1-debugsource Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-2.el9_0 |
kpatch-patch-5_14_0-70_85_1 Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-9.el9_0 |
kpatch-patch-5_14_0-70_85_1-debuginfo Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-9.el9_0 |
kpatch-patch-5_14_0-70_85_1-debugsource Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1-9.el9_0 |
Products include Linux kernel.
How do I fix CVE-2022-49541?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-49541 being exploited?
There is no known exploitation of CVE-2022-49541 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49541, GHSA-g5vv-jqc9-w8hm, RHSA-2025:3961, ROOT-OS-DEBIAN-11-CVE-2022-49541, UBUNTU-CVE-2022-49541.