CVE-2022-48919: cifs: fix double free race when mount fails in cifs_get_root()
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.46% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 3d6cc9898efdfb062efb74dc18cfc700e082f5d5, 546d60859ecf13380fcabcbeace53a5971493a2b, 563431c1f3c8f2230e4a9c445fa23758742bc4f0.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 3d6cc9898efdfb062efb74dc18cfc700e082f5d5, 546d60859ecf13380fcabcbeace53a5971493a2b, 563431c1f3c8f2230e4a9c445fa23758742bc4f0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: cifs: fix double free race when mount fails in cifs_get_root() When cifs_get_root() fails during cifs_smb3_do_mount() we call deactivate_locked_super() which eventually will call delayed_free() which will free the context. In this situation we should not proceed to enter the out: section in cifs_smb3_do_mount() and free the same resources a second time. [Thu Feb 10 12:59:06 2022] BUG: KASAN: use-after-free in rcu_cblist_dequeue+0x32/0x60 [Thu Feb 10 12:59:06 2022] Read of size 8 at addr ffff888364f4d110 by task swapper/1/0 [Thu Feb 10 12:59:06 2022] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G OE 5.17.0-rc3+ #4 [Thu Feb 10 12:59:06 2022] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS Hyper-V UEFI Release v4.0 12/17/2019 [Thu Feb 10 12:59:06 2022] Call Trace: [Thu Feb 10 12:59:06 2022] <IRQ> [Thu Feb 10 12:59:06 2022] dump_stack_lvl+0x5d/0x78 [Thu Feb 10 12:59:06 2022] print_address_description.constprop.0+0x24/0x150 [Thu Feb 10 12:59:06 2022] ? rcu_cblist_dequeue+0x32/0x60 [Thu Feb 10 12:59:06 2022] kasan_report.cold+0x7d/0x117 [Thu Feb 10 12:59:06 2022] ? rcu_cblist_dequeue+0x32/0x60 [Thu Feb 10 12:59:06 2022] __asan_load8+0x86/0xa0 [Thu Feb 10 12:59:06 2022] rcu_cblist_dequeue+0x32/0x60 [Thu Feb 10 12:59:06 2022] rcu_core+0x547/0xca0 [Thu Feb 10 12:59:06 2022] ? call_rcu+0x3c0/0x3c0 [Thu Feb 10 12:59:06 2022] ? __this_cpu_preempt_check+0x13/0x20 [Thu Feb 10 12:59:06 2022] ? lock_is_held_type+0xea/0x140 [Thu Feb 10 12:59:06 2022] rcu_core_si+0xe/0x10 [Thu Feb 10 12:59:06 2022] __do_softirq+0x1d4/0x67b [Thu Feb 10 12:59:06 2022] __irq_exit_rcu+0x100/0x150 [Thu Feb 10 12:59:06 2022] irq_exit_rcu+0xe/0x30 [Thu Feb 10 12:59:06 2022] sysvec_hyperv_stimer0+0x9d/0xc0 ... [Thu Feb 10 12:59:07 2022] Freed by task 58179: [Thu Feb 10 12:59:07 2022] kasan_save_stack+0x26/0x50 [Thu Feb 10 12:59:07 2022] kasan_set_track+0x25/0x30 [Thu Feb 10 12:59:07 2022] kasan_set_free_info+0x24/0x40 [Thu Feb 10 12:59:07 2022] ____kasan_slab_free+0x137/0x170 [Thu Feb 10 12:59:07 2022] __kasan_slab_free+0x12/0x20 [Thu Feb 10 12:59:07 2022] slab_free_freelist_hook+0xb3/0x1d0 [Thu Feb 10 12:59:07 2022] kfree+0xcd/0x520 [Thu Feb 10 12:59:07 2022] cifs_smb3_do_mount+0x149/0xbe0 [cifs] [Thu Feb 10 12:59:07 2022] smb3_get_tree+0x1a0/0x2e0 [cifs] [Thu Feb 10 12:59:07 2022] vfs_get_tree+0x52/0x140 [Thu Feb 10 12:59:07 2022] path_mount+0x635/0x10c0 [Thu Feb 10 12:59:07 2022] __x64_sys_mount+0x1bf/0x210 [Thu Feb 10 12:59:07 2022] do_syscall_64+0x5c/0xc0 [Thu Feb 10 12:59:07 2022] entry_SYSCALL_64_after_hwframe+0x44/0xae [Thu Feb 10 12:59:07 2022] Last potentially related work creation: [Thu Feb 10 12:59:07 2022] kasan_save_stack+0x26/0x50 [Thu Feb 10 12:59:07 2022] __kasan_record_aux_stack+0xb6/0xc0 [Thu Feb 10 12:59:07 2022] kasan_record_aux_stack_noalloc+0xb/0x10 [Thu Feb 10 12:59:07 2022] call_rcu+0x76/0x3c0 [Thu Feb 10 12:59:07 2022] cifs_umount+0xce/0xe0 [cifs] [Thu Feb 10 12:59:07 2022] cifs_kill_sb+0xc8/0xe0 [cifs] [Thu Feb 10 12:59:07 2022] deactivate_locked_super+0x5d/0xd0 [Thu Feb 10 12:59:07 2022] cifs_smb3_do_mount+0xab9/0xbe0 [cifs] [Thu Feb 10 12:59:07 2022] smb3_get_tree+0x1a0/0x2e0 [cifs] [Thu Feb 10 12:59:07 2022] vfs_get_tree+0x52/0x140 [Thu Feb 10 12:59:07 2022] path_mount+0x635/0x10c0 [Thu Feb 10 12:59:07 2022] __x64_sys_mount+0x1bf/0x210 [Thu Feb 10 12:59:07 2022] do_syscall_64+0x5c/0xc0 [Thu Feb 10 12:59:07 2022] entry_SYSCALL_64_after_hwframe+0x44/0xae
- Published
- Aug 21, 2024
- Updated
- Aug 5, 2026
- EPSS
- 0.4% · 39th percentile
- CWE
- CWE-415
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · Linux
- 8.8
- 1.0 point gap
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernelbefore 4.9.305
- linux linux kernel4.10 and later · before 4.14.270
- linux linux kernel4.15 and later · before 4.19.233
- linux linux kernel4.20 and later · before 5.4.183
- linux linux kernel5.5 and later · before 5.10.104
- linux linux kernel5.11 and later · before 5.15.27
- linux linux kernel5.16 and later · before 5.16.13
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 5.11affected
- d17abdf7566566fc402c31899b353044a7ff3cf4 and later · before 546d60859ecf13380fcabcbeace53a5971493a2baffected · git
- d17abdf7566566fc402c31899b353044a7ff3cf4 and later · before 563431c1f3c8f2230e4a9c445fa23758742bc4f0affected · git
- d17abdf7566566fc402c31899b353044a7ff3cf4 and later · before 3d6cc9898efdfb062efb74dc18cfc700e082f5d5affected · git
- before 5.11not affected · semver
- 5.15.27 and later · up to and including 5.15.*not affected · semver
- 5.16.13 and later · up to and including 5.16.*not affected · semver
- 5.17 and laternot affected · original_commit_for_fix
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | bpftool | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-abi-stablelists | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-core | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-cross-headers | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-debug | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-debug-core | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-debug-devel | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules-extra | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-devel | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-doc | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-headers | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-modules | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-modules-extra | before 4.18.0-553.58.1.el8_10 | 4.18.0-553.58.1.el8_10 |
| AlmaLinux:8 | kernel-rt | before 4.18.0-553.58.1.rt7.399.el8_10 | 4.18.0-553.58.1.rt7.399.el8_10 |
| AlmaLinux:8 | kernel-rt-core | before 4.18.0-553.58.1.rt7.399.el8_10 | 4.18.0-553.58.1.rt7.399.el8_10 |
| AlmaLinux:8 | kernel-rt-debug | before 4.18.0-553.58.1.rt7.399.el8_10 | 4.18.0-553.58.1.rt7.399.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-core | before 4.18.0-553.58.1.rt7.399.el8_10 | 4.18.0-553.58.1.rt7.399.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-devel | before 4.18.0-553.58.1.rt7.399.el8_10 | 4.18.0-553.58.1.rt7.399.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules | before 4.18.0-553.58.1.rt7.399.el8_10 | 4.18.0-553.58.1.rt7.399.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | before 4.18.0-553.58.1.rt7.399.el8_10 | 4.18.0-553.58.1.rt7.399.el8_10 |
| AlmaLinux:8 | kernel-rt-devel | before 4.18.0-553.58.1.rt7.399.el8_10 | 4.18.0-553.58.1.rt7.399.el8_10 |
| AlmaLinux:8 | kernel-rt-modules | before 4.18.0-553.58.1.rt7.399.el8_10 | 4.18.0-553.58.1.rt7.399.el8_10 |
+90
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
- CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV83Now
Published before and after this one in the same product
- ← EarlierCVE-2022-48916Aug 21, 2024 · iommu/vt-d: Fix double list_add when enabling VMD in scalable mode22Monitor
- ← EarlierCVE-2022-48918Aug 21, 2024 · iwlwifi: mvm: check debugfs_dir ptr before use22Monitor
- Later →CVE-2022-48920Aug 21, 2024 · btrfs: get rid of warning on transaction commit when using flushoncommit22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 3d6cc9898efdfb062efb74dc18cfc700e082f5d5 | Vendor (CNA) |
| Linux Linux | 546d60859ecf13380fcabcbeace53a5971493a2b | Vendor (CNA) |
| Linux Linux | 563431c1f3c8f2230e4a9c445fa23758742bc4f0 | Vendor (CNA) |
| almalinux:bpftool | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-abi-stablelists | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-core | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-cross-headers | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-core | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-devel | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-modules | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-modules-extra | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-devel | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-doc | 4.18.0-553.58.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| debian:linux | 5.16.14-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-abi-stablelists | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-core | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-debug | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-debug-core | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-debug-modules | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-debug-modules-extra | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:4.18.0-553.58.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| rocky linux:kernel | 0:4.18.0-553.58.1.el8_10 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:kernel-rt | 0:4.18.0-553.58.1.rt7.399.el8_10 · Rocky Linux:8 | Package registry (OSV) |
+12
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-3581496 days apartswiotlb: Fix double-allocation of slots due to broken alignment handling35Monitor
- CVE-2022-488920 days apartsched/core: Fix use-after-free bug in dup_user_cpus_ptr()31Monitor
- CVE-2024-4213822 days apartmlxsw: core_linecards: Fix double memory deallocation in case of invalid INI file31Monitor
- CVE-2024-4214722 days apartcrypto: hisilicon/debugfs - Fix debugfs uninit process issue31Monitor
- CVE-2024-4667323 days apartscsi: aacraid: Fix double-free on probe failure31Monitor
- CVE-2024-4668723 days apartbtrfs: fix a use-after-free when hitting errors inside btrfs_submit_chunk()31Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-1311 · Aug 22, 2024(Linux Kernel Güvenlik Bildirimi)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-415 · Double FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.