n the Linux kernel, the following vulnerability has been resolved: erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails If z_erofs_gbuf_growsize() partially fails on a global buffer due to memory allocation failure or fault injection (as reported by syzbot [1]), new pages need to be freed by comparing to the existing pages to avoid memory leaks. However, the old gbuf->pages[] array may not be large enough, which can lead to null-ptr-deref or out-of-bound access. Fix this by checking against gbuf->nrpages in advance. [1] https://lore.kernel.org/r/[email protected]
Configuration 1 (hide)
|
19 Sep 2024, 18:01
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
| First Time |
Linux
Linux linux Kernel |
|
| CWE | CWE-787 | |
| References | () https://git.kernel.org/stable/c/0005e01e1e875c5e27130c5e2ed0189749d1e08a - Patch | |
| References | () https://git.kernel.org/stable/c/49c0e081998008cde0c872c0ff9affa1ece4b878 - Patch |
13 Sep 2024, 14:06
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
13 Sep 2024, 06:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Published : 2024-09-13 06:15
Updated : 2024-09-19 18:01
NVD link : CVE-2024-46688
Mitre link : CVE-2024-46688
CVE.ORG link : CVE-2024-46688
JSON object : View
Out-of-bounds Write