Skip to main content
Network Thinking Solutions Logo

CVE-2024-46781

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.

All CVEs
CVE-2024-46781Published 9/18/2024

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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
9/18/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.30, < 4.19.322

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.284

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.226

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.167

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.110

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.51

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.10.10

Verify advisory

Source
linux kernel
linux
6.11

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 35a9a7a7d94662146396199b0cfd95f9517cdd14

Verify advisory

Source
Linux
Linux
≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < da02f9eb333333b2e4f25d2a14967cff785ac82e

Verify advisory

Source
Linux
Linux
≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 07e4dc2fe000ab008bcfe90be4324ef56b5b4355

Verify advisory

Source
Linux
Linux
≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 8e2d1e9d93c4ec51354229361ac3373058529ec4

Verify advisory

Source
Linux
Linux
≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < ca92c4bff2833cb30d493b935168d6cccd5c805d

Verify advisory

Source
Linux
Linux
≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 9d8c3a585d564d776ee60d4aabec59b404be7403

Verify advisory

Source
Linux
Linux
≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 1cf1f7e8cd47244fa947d357ef1f642d91e219a3

Verify advisory

Source
Linux
Linux
≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 5787fcaab9eb5930f5378d6a1dd03d916d146622

Verify advisory

Source
Linux
Linux
2.6.30

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.