2084AI Security Observatory

CVE

CVE-2025-21811

CVE-2025-21811HIGH 7.8EPSS 17%

CNA 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.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 6.13, < 6.13.2Fixed in 6.13.2
  • ≥ 6.7, < 6.12.13Fixed in 6.12.13
  • ≥ 6.2, < 6.6.76Fixed in 6.6.76
  • ≥ 5.16, < 6.1.129Fixed in 6.1.129
  • ≥ 5.11, < 5.15.179Fixed in 5.15.179
  • ≥ 5.5, < 5.10.235Fixed in 5.10.235
  • ≥ 3.10, < 5.4.291Fixed in 5.4.291

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.