5.5medium
ocfs2: handle a symlink read error correctly
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ocfs2: handle a symlink read error correctly Patch series "Convert ocfs2 to use folios". Mark did a conversion of ocfs2 to use folios and sent it to me as a giant patch for review ;-) So I've redone it as individual patches, and credited Mark for the patches where his code is substantially the same. It's not a bad way to do it; his patch had some bugs and my patches had some bugs. Hopefully all our bugs were different from each other. And hopefully Mark likes all the changes I made to his code! This patch (of 23): If we can't read the buffer, be sure to unlock the page before returning.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1 before cd3e22b206189cbb4a94229002141e1529f83746, from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1 before afa8003f8db62e46c4b171cbf4cec2824148b4f7, from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1 before 8aee4184c5b79e486598c15aa80687c77f6f6e6e, from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1 before 6e143eb4ab83c24e7ad3e3d8e7daa241d9c38377, from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1 before b6833b38984d1e9f20dd80f9ec9050c10d687f30, from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1 before 52a326f93ceb9348264fddf7bab6e345db69e08c, from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1 before 5e3b3ec7c3cb5ba5629a766e4f0926db72cf0a1f, from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1 before 2b4c2094da6d84e69b843dd3317902e977bf64bd and 1 more Not affected: before 3.5, from 5.4.291 up to 5.4.*, from 5.10.235 up to 5.10.*, from 5.15.179 up to 5.15.*, from 6.1.129 up to 6.1.*, from 6.6.78 up to 6.6.* | CVE List |
| linux linux_kernel | before 5.4.291, from 5.5 before 5.10.235, from 5.11 before 5.15.179, from 5.16 before 6.1.129, from 6.2 before 6.6.78, from 6.7 before 6.12.14, from 6.13 before 6.13.3 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ocfs2: handle a symlink read error correctly Patch series "Convert ocfs2 to use folios". Mark did a conversion of ocfs2 to use folios and sent it to me as a giant patch for review ;-) So I've redone it as individual patches, and credited Mark for the patches where his code is substantially the same. It's not a bad way to do it; his patch had some bugs and my patches had some bugs. Hopefully all our bugs were different from each other. And hopefully Mark likes all the changes I made to his code! This patch (of 23): If we can't read the buffer, be sure to unlock the page before returning.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ocfs2: gestiona correctamente un error de lectura de enlace simbólico Serie de parches "Convertir ocfs2 para usar folios". Mark hizo una conversión de ocfs2 para usar folios y me lo envió como un parche gigante para revisión ;-) Así que lo rehice como parches individuales y le di crédito a Mark por los parches donde su código es sustancialmente el mismo. No es una mala forma de hacerlo; su parche tenía algunos errores y mis parches tenían algunos errores. Con suerte, todos nuestros errores fueron diferentes entre sí. ¡Y con suerte a Mark le gustan todos los cambios que hice en su código! Este parche (de 23): Si no podemos leer el búfer, asegúrese de desbloquear la página antes de regresar.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-58001 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-58001 changed 2026-06-17 | Public domain |