CVE Database›Document archive›CVE-2024-42105

CVE-2024-42105

kernel: nilfs2: fix inode number range checks

Loading…

Severity

Moderate

Red Hat Product Security

5.8

CVSS 3.1

Review impact separately from score.

Published · July 30, 2024

Updated · August 5, 2026

Description

A vulnerability was found in the Linux kernel in the nilfs2 filesystem where the first non-reserved inode number, read from the superblock, does not have proper checks on its lower limit. If this number overlaps with the inode range of reserved inodes (ex. the root directory) set in the super block parameter, the inode number test macros will not function properly. Additionally, the test macros use left bit-shift calculations with the inode number, but the result of the calculations may exceed the bit width of an integer, creating malfunctions depending on the environment. This vulnerability could result in use-after-free operations causing memory corruption or crashes.

Statement

Red Hat Enterprise Linux is not impacted by this CVE, as the vulnerability in question does not affect the specific versions or configurations of the Linux kernel used in its distributions. This ensures that users of Red Hat Enterprise Linux are not exposed to the potential risks associated with this issue, and no further action or mitigation is necessary for systems running this operating system.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H

CWE-416 · Use After Free