CVE-2024-46781

nilfs2: fix missing cleanup on rollforward recovery error

MEDIUM
5.5
CVSS Score
Published: September 18, 2024 at 07:12 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.30 ≤ v < 4.19.3222.6.30 ≤ v < 5.10.2262.6.30 ≤ v < 5.15.1672.6.30 ≤ v < 5.4.2842.6.30 ≤ v < 6.1.1102.6.30 ≤ v < 6.10.102.6.30 ≤ v < 6.112.6.30 ≤ v < 6.6.514.20 ≤ v < 5.4.2845.11 ≤ v < 5.15.1675.16 ≤ v < 6.1.1105.5 ≤ v < 5.10.2266.2 ≤ v < 6.6.516.7 ≤ v < 6.10.100f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b6.11 rc16.11 rc26.11 rc36.11 rc46.11 rc56.11 rc6
Vendor states this is fixed in 07e4dc2fe000ab008bcfe90be4324ef56b5b4355 (fixed)
Vendor states this is fixed in 1cf1f7e8cd47244fa947d357ef1f642d91e219a3 (fixed)
Vendor states this is fixed in 35a9a7a7d94662146396199b0cfd95f9517cdd14 (fixed)
Vendor states this is fixed in 5787fcaab9eb5930f5378d6a1dd03d916d146622 (fixed)
Vendor states this is fixed in 8e2d1e9d93c4ec51354229361ac3373058529ec4 (fixed)
Vendor states this is fixed in 9d8c3a585d564d776ee60d4aabec59b404be7403 (fixed)
Vendor states this is fixed in ca92c4bff2833cb30d493b935168d6cccd5c805d (fixed)
Vendor states this is fixed in da02f9eb333333b2e4f25d2a14967cff785ac82e (fixed)
Vendor states this is fixed in 2.6.30 (unaffected)
Vendor states this is fixed in 4.19.322 (unaffected)
Vendor states this is fixed in 5.10.226 (unaffected)
Vendor states this is fixed in 5.15.167 (unaffected)
Vendor states this is fixed in 5.4.284 (unaffected)
Vendor states this is fixed in 6.1.110 (unaffected)
Vendor states this is fixed in 6.10.10 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.51 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/07e4dc2fe000ab008bcfe90be4324ef56b5b4355
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1cf1f7e8cd47244fa947d357ef1f642d91e219a3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/35a9a7a7d94662146396199b0cfd95f9517cdd14
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5787fcaab9eb5930f5378d6a1dd03d916d146622
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8e2d1e9d93c4ec51354229361ac3373058529ec4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9d8c3a585d564d776ee60d4aabec59b404be7403
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ca92c4bff2833cb30d493b935168d6cccd5c805d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/da02f9eb333333b2e4f25d2a14967cff785ac82e

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card