CVE-2024-46781
Last modified
CVE-2024-46781 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 2.6.30, < 4.19.322 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.284 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.226 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.167 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.110 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.51 | — |
| Linux | Linux Kernel | >= 6.7, < 6.10.10 | — |
| Linux | Linux Kernel | 6.11 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-46781?
How severe is CVE-2024-46781?
How do I fix CVE-2024-46781?
Are you affected by CVE-2024-46781?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
