SB2025062004 - Use-after-free in Linux kernel btrfs



SB2025062004 - Use-after-free in Linux kernel btrfs

Published: June 20, 2025 Updated: June 21, 2025

Security Bulletin ID SB2025062004
Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Code execution

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Use-after-free (CVE-ID: CVE-2022-49999)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the btrfs_pin_extent_for_log_replay(), __exclude_logged_extent(), btrfs_block_group_done() and btrfs_trim_fs() functions in fs/btrfs/extent-tree.c, within the btrfs_wait_block_group_cache_progress(), btrfs_put_block_group(), btrfs_cache_block_group() and btrfs_update_block_group() functions in fs/btrfs/block-group.c. A local user can escalate privileges on the system.


Remediation

Install update from vendor's website.