f2fs: fix to avoid folio->mapping dereference in is_{meta, node}_folio()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b5a71253c5c7e1139eab2f3e1e13e0bf2cbcaac7, Kernel ecf2796547582f1518f36bba370904934e659a46, Kernel f56399666631be3d755a16fa9658e088d81c99b7 and 2 more.
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
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.16, >=019a8912425e231511042a4eae48b7a9e459453c <b5a71253c5c7e1139eab2f3e1e13e0bf2cbcaac7, >=019a8912425e231511042a4eae48b7a9e459453c <ecf2796547582f1518f36bba370904934e659a46, >=019a8912425e231511042a4eae48b7a9e459453c <f56399666631be3d755a16fa9658e088d81c99b7 | b5a71253c5c7e1139eab2f3e1e13e0bf2cbcaac7, ecf2796547582f1518f36bba370904934e659a46, f56399666631be3d755a16fa9658e088d81c99b7 |
| linux-kernel: Kernel | >=6.16.0 <6.18.64, >=6.19.0 <7.3.5 | 6.18.64, 7.3.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket