Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 0fe9b66c65f3ff227da45381afe7612f91e32740 before c44d86ca949cb1e5566ad14510cc26fa1a17e2d8; affected 0fe9b66c65f3ff227da45381afe7612f91e32740 before 02acc9f72365e50eb45a56b7dacb9114ca3b503c; affected 0fe9b66c65f3ff227da45381afe7612f91e32740 before 8ff329353134280b203cb2bce95311cb8f7cbd8a; affected 0fe9b66c65f3ff227da45381afe7612f91e32740 before bb273b68c1719c2925e05557f7e7099edb066680; affected 0fe9b66c65f3ff227da45381afe7612f91e32740 before b2952dbeac2c3c527cb0519d5ffaeb95b062466a; affected 0fe9b66c65f3ff227da45381afe7612f91e32740 before 3bdc3766aafb052aef4baadef455a84c1c0a059d; affected 0fe9b66c65f3ff227da45381afe7612f91e32740 before 2f4daccd9d9b8b2952df7878df8c2e8ba6439398; affected 0fe9b66c65f3ff227da45381afe7612f91e32740 before 5138c936c2c82c9be8883921854bc6f7e1177d8c |
| Linux / Linux | affected 2.6.32; unaffected 0 before 2.6.32; unaffected 5.10.252 through 5.10.*; unaffected 5.15.202 through 5.15.*; unaffected 6.1.165 through 6.1.*; unaffected 6.6.128 through 6.6.*; unaffected 6.12.75 through 6.12.*; unaffected 6.18.16 through 6.18.*; unaffected 6.19.6 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/c44d86ca949cb1e5566ad14510cc26fa1a17e2d8
- https://git.kernel.org/stable/c/02acc9f72365e50eb45a56b7dacb9114ca3b503c
- https://git.kernel.org/stable/c/8ff329353134280b203cb2bce95311cb8f7cbd8a
- https://git.kernel.org/stable/c/bb273b68c1719c2925e05557f7e7099edb066680
- https://git.kernel.org/stable/c/b2952dbeac2c3c527cb0519d5ffaeb95b062466a
- https://git.kernel.org/stable/c/3bdc3766aafb052aef4baadef455a84c1c0a059d
- https://git.kernel.org/stable/c/2f4daccd9d9b8b2952df7878df8c2e8ba6439398
- https://git.kernel.org/stable/c/5138c936c2c82c9be8883921854bc6f7e1177d8c