CVE-2025-21811

HIGH EPSS 11.3%
Published Feb 27, 20251y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
High
Find Similar
Published Feb 27, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: protect access to buffers with no active references nilfs_lookup_dirty_data_buffers(), which iterates through the buffers attached to dirty data folios/pages, accesses the attached buffers without locking the folios/pages. For data cache, nilfs_clear_folio_dirty() may be called asynchronously when the file system degenerates to read only, so nilfs_lookup_dirty_data_buffers() still has the potential to cause use after free issues when buffers lose the protection of their dirty state midway due to this asynchronous clearing and are unintentionally freed by try_to_free_buffers(). Eliminate this race issue by adjusting the lock section in this function.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
11.3% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-416 Use After Free Memory Safety

Affected Products 7

VendorProductVersionRange
linuxlinux_kernel*≥3.10  –  <5.4.291
linuxlinux_kernel*≥5.5  –  <5.10.235
linuxlinux_kernel*≥5.11  –  <5.15.179
linuxlinux_kernel*≥5.16  –  <6.1.129
linuxlinux_kernel*≥6.2  –  <6.6.76
linuxlinux_kernel*≥6.7  –  <6.12.13
linuxlinux_kernel*≥6.13  –  <6.13.2

References 10

  • git.kernel.org https://git.kernel.org/stable/c/367a9bffabe08c04f6d725032cce3d891b2b9e1a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4b08d23d7d1917bef4fbee8ad81372f49b006656
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/58c27fa7a610b6e8d44e6220e7dbddfbaccaf439
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/72cf688d0ce7e642b12ddc9b2a42524737ec1b4a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/8e1b9201c9a24638cf09c6e1c9f224157328010b
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c437dfac9f7a5a46ac2a5e6d6acd3059e9f68188
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d8ff250e085a4c4cdda4ad1cdd234ed110393143
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/e1fc4a90a90ea8514246c45435662531975937d9
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/367a9bffabe08c04f6d725032cce3d891b2b9e1a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4b08d23d7d1917bef4fbee8ad81372f49b006656
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/58c27fa7a610b6e8d44e6220e7dbddfbaccaf439
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/72cf688d0ce7e642b12ddc9b2a42524737ec1b4a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/8e1b9201c9a24638cf09c6e1c9f224157328010b
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c437dfac9f7a5a46ac2a5e6d6acd3059e9f68188
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d8ff250e085a4c4cdda4ad1cdd234ed110393143
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/e1fc4a90a90ea8514246c45435662531975937d9
    Patch