CVE-2022-48733
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in the Linux kernel's BTRFS file system implementation, specifically in the snapshot creation functionality. The vulnerability (CVE-2022-48733) affects Linux kernel versions up to 5.15.22 and from 5.16 up to (excluding) 5.16.8. The issue occurs in the create_snapshot() function where a pending snapshot structure is improperly handled after a transaction failure (NVD).

Technical details

The vulnerability exists in the BTRFS file system's snapshot creation mechanism. When creating a snapshot, the code allocates a pending snapshot structure and attaches it to the transaction's list of pending snapshots. If btrfs_commit_transaction() fails during execution, particularly at btrfs_run_delayed_refs() or btrfs_start_dirty_block_groups(), the code jumps to a 'fail' label and frees the pending snapshot structure. However, the structure remains in the transaction's list, leading to a potential use-after-free condition when another task commits the transaction. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD, Kernel Patch).

Impact

The vulnerability could allow a local attacker to potentially compromise the system through a use-after-free condition in the BTRFS file system. This could lead to privilege escalation, information disclosure, or system crashes. The high CVSS score indicates potential for complete compromise of confidentiality, integrity, and availability of the affected system (NVD).

Exploitability

The vulnerability requires local access and low privileges to exploit. The issue can be triggered through the BTRFS file system's snapshot creation functionality, specifically when a transaction fails during the snapshot creation process (NVD).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that modifies how pending snapshots are handled. The fix changes the snapshot creation mechanism to add the pending snapshot to the transaction handle instead of directly adding it to the transaction's list. The snapshot is only added to the list when it can be guaranteed that any error will result in a transaction abort (Kernel Patch). Users should update their Linux kernel to a patched version.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74730CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 22, 2026
CVE-2026-74733HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 22, 2026
CVE-2026-74726HIGH7.3
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesAug 22, 2026
CVE-2026-74732MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-selftests-internal
NoYesAug 22, 2026
CVE-2026-74728NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-modules-core
NoNoAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management