VDB

CVE-2024-47757

CVE-2024-47757 PUBLISHED

nilfs2: fix potential oob read in nilfs_btree_check_delete()

Reported by linux · Published October 21, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux4.14.355-276.639.amzn2
kernel-headersAmazon Linux4.14.355-276.639.amzn2
kernel-toolsAmazon Linux4.14.355-276.639.amzn2
linux_kernellinux6.11.2, 6.10.13, 6.6.54, 6.1.113, 5.15.168, 5.10.227
LinuxLinuxf9c96351aa6718b42a9f42eaf7adce0356bdb5e8, ed76d381dae125b81d09934e365391a656249da8, d20674f31626e0596ae4c1d9401dfb6739b81b58, c4f8554996e8ada3be872dfb8f60e93bcf15fb27, c4cbcc64bb31e67e02940ce060cc77f7180564cf, a8abfda768b9f33630cfbc4af6c4214f1e5681b0, a33e967b681e088a125b979975c93e3453e686cd, 257f9e5185eb6de83377caea686c306e22e871f2

Affected products

VendorProductVersions
LinuxLinux17c76b0104e4a6513983777e1a17e0297a12b0c4, 17c76b0104e4a6513983777e1a17e0297a12b0c4, 17c76b0104e4a6513983777e1a17e0297a12b0c4
LinuxLinux2.6.30, 0, 4.19.323
amazon:2kernel-tools-devel0
amazon:2kernel-headers0
amazon:2kernel-tools0
LinuxLinux6.10.13, 17c76b0104e4a6513983777e1a17e0297a12b0c4, 17c76b0104e4a6513983777e1a17e0297a12b0c4
amazon:2kernel0
amazon:2kernel-livepatch-4.14.355-276.6390
amazon:2kernel-devel0
linuxlinux_kernel2.6.30, 2.6.30, 2.6.30
amazon:2perf0
amazon:2python-perf0

Timeline

  • Oct 21, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Oct 21, 2024 CVE Published
  • Oct 22, 2024 EPSS Score (30 in total, the first dated here)
  • Jan 3, 2026 Security Advisory (449 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (381 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-47757
vulnetix vdb fixes CVE-2024-47757

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47757/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›