# CVE-2026-99584: f2fs: fix to avoid folio->mapping dereference in is_{meta, node}_folio()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-20T05:49:14.961Z
- Modified: 2026-11-20T06:17:49.773Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix to avoid folio->mapping dereference in is_{meta, node}_folio()

Otherwise, it may cause NULL pointer dereference in race condition:

Thread A			Thread B
				- f2fs_setattr
				 - f2fs_truncate
				  - f2fs_truncate_blocks
			    	   - f2fs_do_truncate_blocks
				    - f2fs_truncate_inode_blocks
				     - truncate_dnode
				      - truncate_node
				       - invalidate_mapping_pages
				        - folio->mapping = NULL
- folio_lock
- is_node_folio
 - F2FS_F_SB(folio): dereference on folio->mapping

(As written by CVE List.)

## Affected

- Linux Linux: from 019a8912425e231511042a4eae48b7a9e459453c before ecf2796547582f1518f36bba370904934e659a46; from 019a8912425e231511042a4eae48b7a9e459453c before f56399666631be3d755a16fa9658e088d81c99b7; from 019a8912425e231511042a4eae48b7a9e459453c before b5a71253c5c7e1139eab2f3e1e13e0bf2cbcaac7; 6.16 (not affected: before 6.16; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/ecf2796547582f1518f36bba370904934e659a46>
- <https://git.kernel.org/stable/c/f56399666631be3d755a16fa9658e088d81c99b7>
- <https://git.kernel.org/stable/c/b5a71253c5c7e1139eab2f3e1e13e0bf2cbcaac7>

## Sources

- CVE List: [CVE-2026-99584](https://www.cve.org/CVERecord?id=CVE-2026-99584), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-99584](https://nvd.nist.gov/vuln/detail/CVE-2026-99584), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-99584 · Whole record: https://cve.day/CVE-2026-99584.json · Rebuilt by cve.day 2026-11-25T22:59:52.270Z
