ocfs2: fix reflink preserve cleanup issue
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0fe9b66c65f3ff227da45381afe7612f91e32740 · < 3bdc3766aafb052aef4baadef455a84c1c0a059d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: fix reflink preserve cleanup issue
commit c06c303832ec ("ocfs2: fix xattr array entry __counted_by error") doesn't handle all cases and the cleanup job for preserved xattr entries still has bug: - the 'last' pointer should be shifted by one unit after cleanup an array entry. - current code logic doesn't cleanup the first entry when xh_count is 1.
Note, commit c06c303832ec is also a bug fix for 0fe9b66c65f3.
From the CVE record · Linux
The Linux kernel's ocfs2 reflink code can incorrectly clean up preserved extended-attribute entries, including failing to clean up the first entry when the count is one. The input does not describe an attacker outcome or specify access, authentication, or user-interaction requirements.
Engineers running Linux systems that use ocfs2 should check their kernel versions; affected versions are not specified.