Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential oob read in nilfs_btree_check_delete() The function nilfs_btree_check_delete(), which checks whether degeneration to direct mapping occurs before deleting a b-tree entry, causes memory access outside the block buffer when retrieving the maximum key if the root node has no entries. This does not usually happen because b-tree mappings with 0 child nodes are never created by mkfs.nilfs2 or nilfs2 itself. However, it can happen if the b-tree root node read from a device is configured that way, so fix this potential issue by adding a check for that case.
References (11)
Core 11
Core References
Scores
CVSS v3
7.1
EPSS
0.0001
EPSS Percentile
2.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-125
Status
published
Products (9)
linux/Kernel
2.6.30 - 4.19.323linux
linux/Kernel
4.20.0 - 5.4.285linux
linux/Kernel
5.11.0 - 5.15.168linux
linux/Kernel
5.16.0 - 6.1.113linux
linux/Kernel
5.5.0 - 5.10.227linux
linux/Kernel
6.11.0 - 6.11.2linux
linux/Kernel
6.2.0 - 6.6.54linux
linux/Kernel
6.7.0 - 6.10.13linux
linux/linux_kernel
2.6.30 - 5.10.227
Published
Oct 21, 2024
Tracked Since
Feb 18, 2026