7.8

CVE-2024-46781: nilfs2: fix missing cleanup on rollforward recovery error

Modified
AliasesUBUNTU-CVE-2024-46781DEBIAN-CVE-2024-46781
Published 18-09-2024Last modified 05-08-2026

Vulnerability summary

CVE-2024-46781 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.25%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 30 · Related 25

Timeline

  1. 18-09-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

16%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.25% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu129 products
  • linuxAll versions (No fix recorded) | < 5.4.0-200.220 | < 5.15.0-125.135 | < 6.8.0-50.51
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1135.145 | < 5.15.0-1072.78 | < 6.8.0-1020.22
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 35a9a7a7d94662146396199b0cfd95f9517cdd14 | ≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < da02f9eb333333b2e4f25d2a14967cff785ac82e | ≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 07e4dc2fe000ab008bcfe90be4324ef56b5b4355 | ≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 8e2d1e9d93c4ec51354229361ac3373058529ec4 | ≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < ca92c4bff2833cb30d493b935168d6cccd5c805d | ≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 9d8c3a585d564d776ee60d4aabec59b404be7403 | ≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 1cf1f7e8cd47244fa947d357ef1f642d91e219a3 | ≥ 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, < 5787fcaab9eb5930f5378d6a1dd03d916d146622 | 2.6.30
  • linux_kernel≥ 2.6.30, < 4.19.322 | ≥ 4.20, < 5.4.284 | ≥ 5.5, < 5.10.226 | ≥ 5.11, < 5.15.167 | ≥ 5.16, < 6.1.110 | ≥ 6.2, < 6.6.51 | ≥ 6.7, < 6.10.10 | 6.11:rc1 | 6.11:rc2 | 6.11:rc3 | 6.11:rc4 | 6.11:rc5 | 6.11:rc6
Debian1 product
  • linux< 6.1.112-1 | < 6.10.11-1

3 vendors · 132 products

References

31 links
Show all 31 references