ocfs2: validate l_tree_depth to avoid out-of-bounds access
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ccd979bdbce9fba8412beb3f1de68a9d0171b12c · < 49d2a2ea9d30991bae82107f9523915b91637683| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: validate l_tree_depth to avoid out-of-bounds access
The l_tree_depth field is 16-bit (__le16), but the actual maximum depth is limited to OCFS2_MAX_PATH_DEPTH.
Add a check to prevent out-of-bounds access if l_tree_depth has an invalid value, which may occur when reading from a corrupted mounted disk [1].
From the CVE record · Linux
The Linux kernel's ocfs2 filesystem did not validate the l_tree_depth field against its maximum supported depth. An invalid value on a corrupted mounted disk can cause an out-of-bounds access. The input does not specify whether an attacker can trigger this remotely or what access or user interaction would be required.
Engineers running Linux kernels with ocfs2 support should check their versions; affected versions are not specified.