Overview
About vulnerability
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.
Details
- Affected product:
- AlmaLinux 9.2 ESU , CentOS 6 ELS , CentOS 7 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , CloudLinux 7 ELS , Oracle Linux 6 ELS , Oracle Linux 7 ELS , RHEL 7 ELS , TuxCare 9.6 ESU , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 5.14.0 (+15 more)
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.