CVE-2024-47757

Source
https://cve.org/CVERecord?id=CVE-2024-47757
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47757.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-47757
Downstream
Related
Published
2024-10-21T12:14:20.419Z
Modified
2026-03-20T12:39:14.663933Z
Summary
nilfs2: fix potential oob read in nilfs_btree_check_delete()
Details

In the Linux kernel, the following vulnerability has been resolved:

nilfs2: fix potential oob read in nilfsbtreecheck_delete()

The function nilfsbtreecheck_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47757.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
17c76b0104e4a6513983777e1a17e0297a12b0c4
Fixed
f3a9859767c7aea758976f5523903d247e585129
Fixed
ed76d381dae125b81d09934e365391a656249da8
Fixed
d20674f31626e0596ae4c1d9401dfb6739b81b58
Fixed
c4f8554996e8ada3be872dfb8f60e93bcf15fb27
Fixed
a8abfda768b9f33630cfbc4af6c4214f1e5681b0
Fixed
257f9e5185eb6de83377caea686c306e22e871f2
Fixed
a33e967b681e088a125b979975c93e3453e686cd
Fixed
c4cbcc64bb31e67e02940ce060cc77f7180564cf
Fixed
f9c96351aa6718b42a9f42eaf7adce0356bdb5e8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47757.json"