CVE-2025-38220
BaseFortify
Publication date: 2025-07-04
Last updated on: 2025-11-18
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a bug in the Linux kernel's ext4 filesystem where processing a symlink inode from the orphan list can cause a kernel crash due to a NULL pointer dereference. Specifically, the ext4_dirty_journalled_data() function calls folio_mark_dirty(), which calls a dirty_folio() operation that does not exist for symlink inodes because they lack an a_ops vector. This leads to a crash. The fix was to update ext4_dirty_journalled_data() to only mark folios dirty for regular files, which have the necessary a_ops vector, preventing the crash.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash (kernel NULL pointer dereference) when handling certain filesystem operations involving symlink inodes in ext4. Such crashes can lead to system instability, potential data loss, or denial of service as the system may become unresponsive or require a reboot.
What immediate steps should I take to mitigate this vulnerability?
Update the Linux kernel to a version where the ext4_dirty_journalled_data() helper function has been fixed to only mark folios dirty on regular files. This prevents the NULL pointer dereference crash when processing symlink inodes from the orphan list. Applying the official patch or upgrading to a kernel version released after 2025-07-04 that includes this fix is recommended.