CVE-2024-42295: nilfs2: handle inconsistent state in nilfs_btnode_create_block()

Published Aug 17, 2024
·
Updated

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

nilfs2: handle inconsistent state in nilfsbtnodecreateblock()

Syzbot reported that a buffer state inconsistency was detected in nilfsbtnodecreateblock(), 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 nilfsbtnodecreateblock() and its callers to treat it as a possible filesystem error, rather than triggering a kernel bug.

Affected Software

9 affected componentsFixes available
debian/linux<=5.10.223-1
5.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
Linux Linux kernel>=2.6.30<4.19.320
Linux Linux kernel>=4.20<5.4.282
Linux Linux kernel>=5.5<5.10.224
Linux Linux kernel>=5.11<5.15.165
Linux Linux kernel>=5.16<6.1.103
Linux Linux kernel>=6.2<6.6.44
Linux Linux kernel>=6.7<6.10.3

Event History

Aug 17, 2024
CVE Published
via MITRE·09:09 AM
Data Sourced
via MITRE·09:09 AM
Description
Data Sourced
via NVD·09:15 AM
Description
Data Sourced
via NVD·09:15 AM
RemedySeverityAffected Software
Apr 27, 2025
Data Sourced
via Ubuntu·12:34 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-42295?

CVE-2024-42295 has been classified with a high severity level due to its potential to cause kernel instability.

2

How do I fix CVE-2024-42295?

To fix CVE-2024-42295, upgrade to the recommended versions of the Linux kernel: 5.10.226-1, 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.13-1.

3

Which software packages are affected by CVE-2024-42295?

CVE-2024-42295 affects specific versions of the Linux kernel and linux-6.1 package from Debian.

4

Who reported the CVE-2024-42295 vulnerability?

The CVE-2024-42295 vulnerability was reported by Syzbot.

5

What is the main issue addressed in CVE-2024-42295?

CVE-2024-42295 addresses a buffer state inconsistency detected in the nilfs_btnode_create_block() function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203