hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd · < 1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s hfsplus filesystem can hit BUG_ON() while creating an attributes file if a mounted volume has erroneous header values that misrepresent the filesystem’s state. Someone who can supply such a volume could trigger the failure when it is mounted; the input does not specify access or authentication requirements.
Engineers running Linux kernels with hfsplus support should check their affected kernel versions.