Bug 2320272 (CVE-2024-47757) - CVE-2024-47757 kernel: nilfs2: fix potential oob read in nilfs_btree_check_delete()
Summary: CVE-2024-47757 kernel: nilfs2: fix potential oob read in nilfs_btree_check_de...
Keywords:
Status: NEW
Alias: CVE-2024-47757
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320342
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 13:07 UTC by OSIDB Bzimport
Modified: 2024-10-21 20:35 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 13:07:18 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.