Review reviewHigh

CVE-2024-26792

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix double free of anonymous device after snapshot creation failure When creating a snapshot we may do a double free of an anonymous device in case there's an error committing the transaction. The second free may result in freeing an anonymous device number that was allocated by some other subsystem in the kernel or another btrfs filesystem. The steps that lead to this: 1) At ioctl.c:create_snapshot() we allocate an anonymous device number and assign it to pending_snapshot->anon_dev; 2) Then we call btrfs_commit_tran...

CVSS
7.8
EPSS
0.24%
14.6% percentile
CISA KEV
Not listed
Published
2024.04.04
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.24%
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix double free of anonymous device after snapshot creation failure When creating a snapshot we may do a double free of an anonymous device in case there's an error committing the transaction. The second free may result in freeing an anonymous device number that was allocated by some other subsystem in the kernel or another btrfs filesystem. The steps that lead to this: 1) At ioctl.c:create_snapshot() we allocate an anonymous device number and assign it to pending_snapshot->anon_dev; 2) Then we call btrfs_commit_tran...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 66b317a2fc45b2ef66527ee3f8fa08fb5beab88d < c34adc20b91a8e55e048b18d63f4f4ae003ecf8f, >= 833775656d447c545133a744a0ed1e189ce61430 < eb3441093aad251418921246fc3b224fd1575701, >= 5a172344bfdabb46458e03708735d7b1a918c468 < c8ab7521665bd0f8bc4a900244d1d5a7095cc3b9, >= e03ee2fe873eb68c1f9ba5112fee70303ebf9dfb < e2b54eaf28df0c978626c9736b94f003b523b451, >= 3f5d47eb163bceb1b9e613c9003bae5fefc0046f, >= e31546b0f34af21738c4ceac47d662c00ee6382f, >= 5.10.210 < 5.11, >= 5.15.149 < 5.16, >= 6.1.79 < 6.1.81, >= 6.6.18 < 6.6.21, >= 6.7.6 < 6.7.9
Fixed versions
5.11, 5.16, 6.1.81, 6.6.21, 6.7.9

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-415