CVE-2024-46781
"Linux Kernel Nilfs2 UAF Vulnerability"
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix missing cleanup on rollforward recovery error In an error injection test of a routine for mount-time recovery, KASAN found a use-after-free bug. It turned out that if data recovery was performed using partial logs created by dsync writes, but an error occurred before starting the log writer to create a recovered checkpoint, the inodes whose data had been recovered were left in the ns_dirty_files list of the nilfs object and were not freed. Fix this issue by cleaning up inodes that have read the recovery data if the recovery routine fails midway before the log writer starts.
INFO
Published Date :
Sept. 18, 2024, 8:15 a.m.
Last Modified :
Sept. 23, 2024, 4:37 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
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-46781
.
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-46781
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-46781
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]
Sep. 23, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/07e4dc2fe000ab008bcfe90be4324ef56b5b4355 No Types Assigned https://git.kernel.org/stable/c/07e4dc2fe000ab008bcfe90be4324ef56b5b4355 Patch Changed Reference Type https://git.kernel.org/stable/c/1cf1f7e8cd47244fa947d357ef1f642d91e219a3 No Types Assigned https://git.kernel.org/stable/c/1cf1f7e8cd47244fa947d357ef1f642d91e219a3 Patch Changed Reference Type https://git.kernel.org/stable/c/35a9a7a7d94662146396199b0cfd95f9517cdd14 No Types Assigned https://git.kernel.org/stable/c/35a9a7a7d94662146396199b0cfd95f9517cdd14 Patch Changed Reference Type https://git.kernel.org/stable/c/5787fcaab9eb5930f5378d6a1dd03d916d146622 No Types Assigned https://git.kernel.org/stable/c/5787fcaab9eb5930f5378d6a1dd03d916d146622 Patch Changed Reference Type https://git.kernel.org/stable/c/8e2d1e9d93c4ec51354229361ac3373058529ec4 No Types Assigned https://git.kernel.org/stable/c/8e2d1e9d93c4ec51354229361ac3373058529ec4 Patch Changed Reference Type https://git.kernel.org/stable/c/9d8c3a585d564d776ee60d4aabec59b404be7403 No Types Assigned https://git.kernel.org/stable/c/9d8c3a585d564d776ee60d4aabec59b404be7403 Patch Changed Reference Type https://git.kernel.org/stable/c/ca92c4bff2833cb30d493b935168d6cccd5c805d No Types Assigned https://git.kernel.org/stable/c/ca92c4bff2833cb30d493b935168d6cccd5c805d Patch Changed Reference Type https://git.kernel.org/stable/c/da02f9eb333333b2e4f25d2a14967cff785ac82e No Types Assigned https://git.kernel.org/stable/c/da02f9eb333333b2e4f25d2a14967cff785ac82e Patch Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.30 up to (excluding) 4.19.322 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.284 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.226 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.167 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.110 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.51 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.10 *cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* *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:6.11:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 18, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix missing cleanup on rollforward recovery error In an error injection test of a routine for mount-time recovery, KASAN found a use-after-free bug. It turned out that if data recovery was performed using partial logs created by dsync writes, but an error occurred before starting the log writer to create a recovered checkpoint, the inodes whose data had been recovered were left in the ns_dirty_files list of the nilfs object and were not freed. Fix this issue by cleaning up inodes that have read the recovery data if the recovery routine fails midway before the log writer starts. Added Reference kernel.org https://git.kernel.org/stable/c/35a9a7a7d94662146396199b0cfd95f9517cdd14 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/da02f9eb333333b2e4f25d2a14967cff785ac82e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/07e4dc2fe000ab008bcfe90be4324ef56b5b4355 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/8e2d1e9d93c4ec51354229361ac3373058529ec4 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ca92c4bff2833cb30d493b935168d6cccd5c805d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/9d8c3a585d564d776ee60d4aabec59b404be7403 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1cf1f7e8cd47244fa947d357ef1f642d91e219a3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/5787fcaab9eb5930f5378d6a1dd03d916d146622 [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-46781
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-46781
weaknesses.