CVE-2024-50230
"Vulnerability in Linux Kernel Nilfs2 Filesystem Triggers Kernel Bug"
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix kernel bug due to missing clearing of checked flag Syzbot reported that in directory operations after nilfs2 detects filesystem corruption and degrades to read-only, __block_write_begin_int(), which is called to prepare block writes, may fail the BUG_ON check for accesses exceeding the folio/page size, triggering a kernel bug. This was found to be because the "checked" flag of a page/folio was not cleared when it was discarded by nilfs2's own routine, which causes the sanity check of directory entries to be skipped when the directory page/folio is reloaded. So, fix that. This was necessary when the use of nilfs2's own page discard routine was applied to more than just metadata files.
INFO
Published Date :
Nov. 9, 2024, 11:15 a.m.
Last Modified :
Nov. 13, 2024, 6:31 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-50230
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-50230
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-50230
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 13, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://git.kernel.org/stable/c/41e192ad2779cae0102879612dfe46726e4396aa No Types Assigned https://git.kernel.org/stable/c/41e192ad2779cae0102879612dfe46726e4396aa Patch Changed Reference Type https://git.kernel.org/stable/c/56c6171932a7fb267ac6cb4ff8759b93ee1d0e2e No Types Assigned https://git.kernel.org/stable/c/56c6171932a7fb267ac6cb4ff8759b93ee1d0e2e Patch Changed Reference Type https://git.kernel.org/stable/c/64afad73e4623308d8943645e5631f2c7a2d7971 No Types Assigned https://git.kernel.org/stable/c/64afad73e4623308d8943645e5631f2c7a2d7971 Patch Changed Reference Type https://git.kernel.org/stable/c/994b2fa13a6c9cf3feca93090a9c337d48e3d60d No Types Assigned https://git.kernel.org/stable/c/994b2fa13a6c9cf3feca93090a9c337d48e3d60d Patch Changed Reference Type https://git.kernel.org/stable/c/aa0cee46c5d3fd9a39575a4c8a4f65f25f095b89 No Types Assigned https://git.kernel.org/stable/c/aa0cee46c5d3fd9a39575a4c8a4f65f25f095b89 Patch Changed Reference Type https://git.kernel.org/stable/c/cd0cdb51b15203fa27d4b714be83b7dfffa0b752 No Types Assigned https://git.kernel.org/stable/c/cd0cdb51b15203fa27d4b714be83b7dfffa0b752 Patch Changed Reference Type https://git.kernel.org/stable/c/f05dbebb8ee34882505d53d83af7d18f28a49248 No Types Assigned https://git.kernel.org/stable/c/f05dbebb8ee34882505d53d83af7d18f28a49248 Patch Changed Reference Type https://git.kernel.org/stable/c/f2f1fa446676c21edb777e6d2bc4fa8f956fab68 No Types Assigned https://git.kernel.org/stable/c/f2f1fa446676c21edb777e6d2bc4fa8f956fab68 Patch Added CWE NIST CWE-787 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.10 up to (excluding) 4.19.323 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.285 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.229 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.171 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.116 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.60 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.11.7 *cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 09, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix kernel bug due to missing clearing of checked flag Syzbot reported that in directory operations after nilfs2 detects filesystem corruption and degrades to read-only, __block_write_begin_int(), which is called to prepare block writes, may fail the BUG_ON check for accesses exceeding the folio/page size, triggering a kernel bug. This was found to be because the "checked" flag of a page/folio was not cleared when it was discarded by nilfs2's own routine, which causes the sanity check of directory entries to be skipped when the directory page/folio is reloaded. So, fix that. This was necessary when the use of nilfs2's own page discard routine was applied to more than just metadata files. Added Reference kernel.org https://git.kernel.org/stable/c/994b2fa13a6c9cf3feca93090a9c337d48e3d60d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/64afad73e4623308d8943645e5631f2c7a2d7971 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/aa0cee46c5d3fd9a39575a4c8a4f65f25f095b89 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f05dbebb8ee34882505d53d83af7d18f28a49248 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/cd0cdb51b15203fa27d4b714be83b7dfffa0b752 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f2f1fa446676c21edb777e6d2bc4fa8f956fab68 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/56c6171932a7fb267ac6cb4ff8759b93ee1d0e2e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/41e192ad2779cae0102879612dfe46726e4396aa [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-50230
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-50230
weaknesses.