Buffer State Inconsistency in Linux Kernel nilfs2 Filesystem
CVE-2025-21722

Currently unrated

Key Information:

Vendor
Linux
Status
Vendor
CVE Published:
27 February 2025

Summary

The nilfs2 filesystem in the Linux kernel has a vulnerability that can cause inconsistencies in buffer head states during filesystem corruption scenarios. Specifically, if nilfs2 detects corruption and falls back to read-only mode, it may improperly handle dirty buffer states. This leads to potential use-after-free conditions due to the forcible clearing of various buffer states at unexpected times. These inconsistencies can affect both data and metadata operations, making it essential to implement proper checks before state modifications to ensure buffer integrity.

Affected Version(s)

Linux 8c26c4e2694a163d525976e804d81cd955bbb40c < 19296737024cd220a1d6590bf4c092bca8c99497

Linux 8c26c4e2694a163d525976e804d81cd955bbb40c < 1098bb8d52419d262a3358d099a1598a920b730f

Linux 8c26c4e2694a163d525976e804d81cd955bbb40c < 557ccf5e49f1fb848a29698585bcab2e50a597ef

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.