CVE-2025-38712
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-04

Last updated on: 2026-03-17

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file() When the volume header contains erroneous values that do not reflect the actual state of the filesystem, hfsplus_fill_super() assumes that the attributes file is not yet created, which later results in hitting BUG_ON() when hfsplus_create_attributes_file() is called. Replace this BUG_ON() with -EIO error with a message to suggest running fsck tool.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-04
Last Modified
2026-03-17
Generated
2026-05-07
AI Q&A
2025-09-04
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel 6.1.153-1
linux linux_kernel 5.10.244-1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability occurs in the Linux kernel's hfsplus filesystem code. When the volume header contains incorrect values that do not match the actual filesystem state, the function hfsplus_fill_super() mistakenly assumes that the attributes file has not been created yet. This leads to a call to hfsplus_create_attributes_file(), which triggers a BUG_ON() condition, causing a kernel crash. The fix replaces this BUG_ON() with an error return (-EIO) and a message suggesting to run the fsck tool to repair the filesystem.


How can this vulnerability impact me? :

This vulnerability can cause the Linux kernel to crash (kernel panic) when mounting or accessing an hfsplus filesystem with a corrupted volume header. This can lead to system instability, potential data loss, or denial of service until the filesystem is repaired using fsck.


What immediate steps should I take to mitigate this vulnerability?

The vulnerability is related to the hfsplus filesystem in the Linux kernel where erroneous volume header values cause a BUG_ON() panic. The immediate mitigation step is to run the fsck tool on the affected filesystem to check and repair filesystem inconsistencies, as suggested by the error message replacing BUG_ON().


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart