CVE
CVE-2024-47757
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- ≥ 6.11, < 6.11.2Fixed in 6.11.2
- ≥ 6.7, < 6.10.13Fixed in 6.10.13
- ≥ 6.2, < 6.6.54Fixed in 6.6.54
- ≥ 5.16, < 6.1.113Fixed in 6.1.113
- ≥ 5.11, < 5.15.168Fixed in 5.15.168
- ≥ 2.6.30, < 5.10.227Fixed in 5.10.227
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/257f9e5185eb6de83377caea686c306e22e871f2 · Patch
- git.kernel.org/stable/c/a33e967b681e088a125b979975c93e3453e686cd · Patch
- git.kernel.org/stable/c/a8abfda768b9f33630cfbc4af6c4214f1e5681b0 · Patch
- git.kernel.org/stable/c/c4cbcc64bb31e67e02940ce060cc77f7180564cf · Patch
- git.kernel.org/stable/c/c4f8554996e8ada3be872dfb8f60e93bcf15fb27 · Patch
- git.kernel.org/stable/c/d20674f31626e0596ae4c1d9401dfb6739b81b58 · Patch
- git.kernel.org/stable/c/f9c96351aa6718b42a9f42eaf7adce0356bdb5e8 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.