# CVE-2024-41016: ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-07-29T06:37:02.530Z
- Modified: 2026-10-15T01:18:41.447Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()

xattr in ocfs2 maybe 'non-indexed', which saved with additional space
requested.  It's better to check if the memory is out of bound before
memcmp, although this possibility mainly comes from crafted poisonous
images.

(As written by CVE List.)

## Affected

- Linux Linux: from cf1d6c763fbcb115263114302485ad17e7933d87 before e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090; from cf1d6c763fbcb115263114302485ad17e7933d87 before e8f9c4af7af7e9e4cd09c0251c7936593147419f; from cf1d6c763fbcb115263114302485ad17e7933d87 before 57a3d89831fcaa2cdbe024b47c7c36d5a56c3637; from cf1d6c763fbcb115263114302485ad17e7933d87 before c031d286eceb82f72f8623b7f4abd2aa491bfb5e; from cf1d6c763fbcb115263114302485ad17e7933d87 before cfb926051fab19b10d1e65976211f364aa820180; from cf1d6c763fbcb115263114302485ad17e7933d87 before c726dea9d0c806d64c26fcef483b1fb9474d8c5e; from cf1d6c763fbcb115263114302485ad17e7933d87 before e4ffea01adf3323c821b6f37e9577d2d400adbaa; from cf1d6c763fbcb115263114302485ad17e7933d87 before af77c4fc1871847b528d58b7fdafb4aa1f6a9262; 2.6.28 (not affected: before 2.6.28; from 4.19.323 up to 4.19.*; from 5.4.285 up to 5.4.*; from 5.10.227 up to 5.10.*; from 5.15.168 up to 5.15.*; from 6.1.112 up to 6.1.*; from 6.6.53 up to 6.6.*; from 6.10.12 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 4.19.323; from 4.20 before 5.4.285; from 5.5 before 5.10.227; from 5.11 before 5.15.168; from 5.16 before 6.1.112; from 6.2 before 6.6.53; from 6.7 before 6.10.12

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090> (patch)
- <https://git.kernel.org/stable/c/e8f9c4af7af7e9e4cd09c0251c7936593147419f> (patch)
- <https://git.kernel.org/stable/c/57a3d89831fcaa2cdbe024b47c7c36d5a56c3637> (patch)
- <https://git.kernel.org/stable/c/c031d286eceb82f72f8623b7f4abd2aa491bfb5e> (patch)
- <https://git.kernel.org/stable/c/cfb926051fab19b10d1e65976211f364aa820180> (patch)
- <https://git.kernel.org/stable/c/c726dea9d0c806d64c26fcef483b1fb9474d8c5e> (patch)
- <https://git.kernel.org/stable/c/e4ffea01adf3323c821b6f37e9577d2d400adbaa> (patch)
- <https://git.kernel.org/stable/c/af77c4fc1871847b528d58b7fdafb4aa1f6a9262> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-41016](https://www.cve.org/CVERecord?id=CVE-2024-41016), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-41016](https://nvd.nist.gov/vuln/detail/CVE-2024-41016), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-41016 · Whole record: https://cve.day/CVE-2024-41016.json · Rebuilt by cve.day 2026-11-25T22:58:43.275Z
