CVE-2024-42295

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42295
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42295.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42295
Downstream
Related
Published
2024-08-17T09:15:10Z
Modified
2025-08-09T19:01:28Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

nilfs2: handle inconsistent state in nilfsbtnodecreate_block()

Syzbot reported that a buffer state inconsistency was detected in nilfsbtnodecreate_block(), triggering a kernel bug.

It is not appropriate to treat this inconsistency as a bug; it can occur if the argument block address (the buffer index of the newly created block) is a virtual block number and has been reallocated due to corruption of the bitmap used to manage its allocation state.

So, modify nilfsbtnodecreate_block() and its callers to treat it as a possible filesystem error, rather than triggering a kernel bug.

References

Affected packages