CVE-2023-53187 Vulnerability Analysis & Exploit Details

CVE-2023-53187
Vulnerability Scoring

7.8
/10
Very High Risk

Highly exploitable, CVE-2023-53187 poses a critical security risk that could lead to severe breaches.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Local
    Vulnerability requires local system access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2023-53187 Details

Status: Analyzed

Last updated: 🕝 02 Dec 2025, 02:55 UTC
Originally published on: 🕑 15 Sep 2025, 14:15 UTC

Time between publication and last update: 77 days

CVSS Release: version 3

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

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

CVE-2023-53187 Vulnerability Summary

CVE-2023-53187: In the Linux kernel, the following vulnerability has been resolved: btrfs: fix use-after-free of new block group that became unused If a task creates a new block group and that block group becomes unused before we finish its creation, at btrfs_create_pending_block_groups(), then when btrfs_mark_bg_unused() is called against the block group, we assume that the block group is currently in the list of block groups to reclaim, and we move it out of the list of new block groups and into the list of unused block groups. This has two consequences: 1) We move it out of the list of new block groups associated to the current transaction. So the block group creation is not finished and if we attempt to delete the bg because it's unused, we will not find the block group item in the extent tree (or the new block group tree), its device extent items in the device tree etc, resulting in the deletion to fail due to the missing items; 2) We don't increment the reference count on the block group when we move it to the list of unused block groups, because we assumed the block group was on the list of block groups to reclaim, and in that case it already has the correct reference count. However the block group was on the list of new block groups, in which case no extra reference was taken because it's local to the current task. This later results in doing an extra reference count decrement when removing the block group from the unused list, eventually leading the reference count to 0. This second case was caught when running generic/297 from fstests, which produced the following assertion failure and stack trace: [589.559] assertion failed: refcount_read(&block_group->refs) == 1, in fs/btrfs/block-group.c:4299 [589.559] ------------[ cut here ]------------ [589.559] kernel BUG at fs/btrfs/block-group.c:4299! [589.560] invalid opcode: 0000 [#1] PREEMPT SMP PTI [589.560] CPU: 8 PID: 2819134 Comm: umount Tainted: G W 6.4.0-rc6-btrfs-next-134+ #1 [589.560] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014 [589.560] RIP: 0010:btrfs_free_block_groups+0x449/0x4a0 [btrfs] [589.561] Code: 68 62 da c0 (...) [589.561] RSP: 0018:ffffa55a8c3b3d98 EFLAGS: 00010246 [589.561] RAX: 0000000000000058 RBX: ffff8f030d7f2000 RCX: 0000000000000000 [589.562] RDX: 0000000000000000 RSI: ffffffff953f0878 RDI: 00000000ffffffff [589.562] RBP: ffff8f030d7f2088 R08: 0000000000000000 R09: ffffa55a8c3b3c50 [589.562] R10: 0000000000000001 R11: 0000000000000001 R12: ffff8f05850b4c00 [589.562] R13: ffff8f030d7f2090 R14: ffff8f05850b4cd8 R15: dead000000000100 [589.563] FS: 00007f497fd2e840(0000) GS:ffff8f09dfc00000(0000) knlGS:0000000000000000 [589.563] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [589.563] CR2: 00007f497ff8ec10 CR3: 0000000271472006 CR4: 0000000000370ee0 [589.563] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [589.564] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [589.564] Call Trace: [589.564] <TASK> [589.565] ? __die_body+0x1b/0x60 [589.565] ? die+0x39/0x60 [589.565] ? do_trap+0xeb/0x110 [589.565] ? btrfs_free_block_groups+0x449/0x4a0 [btrfs] [589.566] ? do_error_trap+0x6a/0x90 [589.566] ? btrfs_free_block_groups+0x449/0x4a0 [btrfs] [589.566] ? exc_invalid_op+0x4e/0x70 [589.566] ? btrfs_free_block_groups+0x449/0x4a0 [btrfs] [589.567] ? asm_exc_invalid_op+0x16/0x20 [589.567] ? btrfs_free_block_groups+0x449/0x4a0 [btrfs] [589.567] ? btrfs_free_block_groups+0x449/0x4a0 [btrfs] [589.567] close_ctree+0x35d/0x560 [btrfs] [589.568] ? fsnotify_sb_delete+0x13e/0x1d0 [589.568] ? dispose_list+0x3a/0x50 [589.568] ? evict_inodes+0x151/0x1a0 [589.568] generic_shutdown_super+0x73/0x1a0 [589.569] kill_anon_super+0x14/0x30 [589.569] btrfs_kill_super+0x12/0x20 [btrfs] [589.569] deactivate_locked ---truncated---

Assessing the Risk of CVE-2023-53187

Access Complexity Graph

The exploitability of CVE-2023-53187 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2023-53187

CVE-2023-53187 presents an accessible attack vector with minimal effort required. Restricting access controls and implementing security updates are critical to reducing exploitation risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2023-53187, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2023-53187, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2023-53187 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2023-53187 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2023-53187 can disrupt system operations, potentially causing complete denial of service (DoS).

CVE-2023-53187 References

External References

CWE Common Weakness Enumeration

CWE-416

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:5.15.128:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.128:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.129:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.129:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.130:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.130:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.131:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.131:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.132:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.132:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.133:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.133:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.134:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.134:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.135:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.135:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.136:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.136:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.137:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.137:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.138:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.138:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.139:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.139:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.140:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.140:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.141:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.141:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.142:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.142:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.143:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.143:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.144:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.144:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.145:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.145:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.146:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.146:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.147:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.147:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.148:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.148:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.149:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.149:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.150:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.150:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.151:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.151:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.152:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.152:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.153:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.153:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.154:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.154:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.155:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.155:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.156:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.156:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.157:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.157:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.158:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.158:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.159:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.159:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.160:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.160:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.161:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.161:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.162:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.162:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.163:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.163:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.164:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.164:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.165:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.165:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.166:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.166:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.167:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.167:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.168:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.168:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.169:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.169:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.170:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.170:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.171:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.171:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.172:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.172:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.173:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.173:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.174:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.174:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.175:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.175:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.176:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.176:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.177:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.177:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.178:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.178:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.179:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.179:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.180:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.180:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.181:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.181:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.182:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.182:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.183:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.183:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.184:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.184:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.185:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.185:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.186:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.186:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.187:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.187:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.188:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.188:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.189:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.189:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.190:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.190:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.191:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.191:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.192:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.192:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.193:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.193:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.194:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.194:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.195:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.195:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.196:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.196:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2023-53187: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-7782 – The WP JobHunt plugin for WordPress, used by the JobCareer theme, is vulnerable to unauthorized modification of data due to a missing capability ch...
  • CVE-2025-7733 – The WP JobHunt plugin for WordPress, used by the JobCareer theme, is vulnerable to Insecure Direct Object Reference in all versions up to, and incl...
  • CVE-2025-14298 – The FiboSearch – Ajax Search for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `thegem_te_search` ...
  • CVE-2025-12492 – The Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin plugin for WordPress is vulnerab...
  • CVE-2025-13619 – The Flex Store Users plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.1.0. This is due to the 'fs...