# CVE-2024-47670: ocfs2: add bounds checking to 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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-10-09T14:49:11.938Z
- Modified: 2026-08-05T11:39:19.716Z
- Weaknesses: CWE-787
- 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: add bounds checking to ocfs2_xattr_find_entry()

Add a paranoia check to make sure it doesn't stray beyond valid memory
region containing ocfs2 xattr entries when scanning for a match.  It will
prevent out-of-bound access in case of crafted images.

(As written by CVE List.)

## Affected

- Linux Linux: from cf1d6c763fbcb115263114302485ad17e7933d87 before b49a786beb11ff740cb9e0c20b999c2a0e1729c2; from cf1d6c763fbcb115263114302485ad17e7933d87 before 60c0d36189bad58b1a8e69af8781d90009559ea1; from cf1d6c763fbcb115263114302485ad17e7933d87 before 34759b7e4493d7337cbc414c132cef378c492a2c; from cf1d6c763fbcb115263114302485ad17e7933d87 before 5bbe51eaf01a5dd6fb3f0dea81791e5dbc6dc6dd; from cf1d6c763fbcb115263114302485ad17e7933d87 before 9b32539590a8e6400ac2f6e7cf9cbb8e08711a2f; from cf1d6c763fbcb115263114302485ad17e7933d87 before 1f6e167d6753fe3ea493cdc7f7de8d03147a4d39; from cf1d6c763fbcb115263114302485ad17e7933d87 before 8e7bef408261746c160853fc27df3139659f5f77; from cf1d6c763fbcb115263114302485ad17e7933d87 before 9e3041fecdc8f78a5900c3aa51d3d756e73264d6; 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 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 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/b49a786beb11ff740cb9e0c20b999c2a0e1729c2>
- <https://git.kernel.org/stable/c/60c0d36189bad58b1a8e69af8781d90009559ea1>
- <https://git.kernel.org/stable/c/34759b7e4493d7337cbc414c132cef378c492a2c> (patch)
- <https://git.kernel.org/stable/c/5bbe51eaf01a5dd6fb3f0dea81791e5dbc6dc6dd> (patch)
- <https://git.kernel.org/stable/c/9b32539590a8e6400ac2f6e7cf9cbb8e08711a2f> (patch)
- <https://git.kernel.org/stable/c/1f6e167d6753fe3ea493cdc7f7de8d03147a4d39> (patch)
- <https://git.kernel.org/stable/c/8e7bef408261746c160853fc27df3139659f5f77> (patch)
- <https://git.kernel.org/stable/c/9e3041fecdc8f78a5900c3aa51d3d756e73264d6> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

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