PoC Monitor
← All CVEs
CVE-2025-21811published 27 Feb 2025 20:01 UTCData: JSON · API

Linux

nilfs2: protect access to buffers with no active references

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CISA ADP · CWE-416
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < e1fc4a90a90ea8514246c45435662531975937d9
  • >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 72cf688d0ce7e642b12ddc9b2a42524737ec1b4a
  • >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < d8ff250e085a4c4cdda4ad1cdd234ed110393143
  • >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 58c27fa7a610b6e8d44e6220e7dbddfbaccaf439
  • >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 8e1b9201c9a24638cf09c6e1c9f224157328010b
  • >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4b08d23d7d1917bef4fbee8ad81372f49b006656
  • >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < c437dfac9f7a5a46ac2a5e6d6acd3059e9f68188
  • >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 367a9bffabe08c04f6d725032cce3d891b2b9e1a

Fixed in e1fc4a90a90ea8514246c45435662531975937d9, 72cf688d0ce7e642b12ddc9b2a42524737ec1b4a, d8ff250e085a4c4cdda4ad1cdd234ed110393143, 58c27fa7a610b6e8d44e6220e7dbddfbaccaf439, 8e1b9201c9a24638cf09c6e1c9f224157328010b, 4b08d23d7d1917bef4fbee8ad81372f49b006656, c437dfac9f7a5a46ac2a5e6d6acd3059e9f68188, 367a9bffabe08c04f6d725032cce3d891b2b9e1a

Linux Linux
  • 3.10

Fixed in 0, 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2, 6.14

Mitigation

Upgrade Linux to e1fc4a90a90ea8514246c45435662531975937d9 or 72cf688d0ce7e642b12ddc9b2a42524737ec1b4a or d8ff250e085a4c4cdda4ad1cdd234ed110393143 or 58c27fa7a610b6e8d44e6220e7dbddfbaccaf439 or 8e1b9201c9a24638cf09c6e1c9f224157328010b or 4b08d23d7d1917bef4fbee8ad81372f49b006656 or c437dfac9f7a5a46ac2a5e6d6acd3059e9f68188 or 367a9bffabe08c04f6d725032cce3d891b2b9e1a or later.

Upgrade Linux to 0 or 5.4.291 or 5.10.235 or 5.15.179 or 6.1.129 or 6.6.76 or 6.12.13 or 6.13.2 or 6.14 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published27 Feb 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.