{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-47757","id":"CVE-2024-47757","title":"nilfs2: fix potential oob read in nilfs_btree_check_delete()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix potential oob read in nilfs_btree_check_delete()\n\nThe function nilfs_btree_check_delete(), which checks whether degeneration\nto direct mapping occurs before deleting a b-tree entry, causes memory\naccess outside the block buffer when retrieving the maximum key if the\nroot node has no entries.\n\nThis does not usually hap","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix potential oob read in nilfs_btree_check_delete()\n\nThe function nilfs_btree_check_delete(), which checks whether degeneration\nto direct mapping occurs before deleting a b-tree entry, causes memory\naccess outside the block buffer when retrieving the maximum key if the\nroot node has no entries.\n\nThis does not usually happen because b-tree mappings with 0 child nodes\nare never created by mkfs.nilfs2 or nilfs2 itself.  However, it can happen\nif the b-tree root node read from a device is configured that way, so fix\nthis potential issue by adding a check for that case.","published":"2024-10-21T12:14:20.419Z","updated":"2026-10-28T02:31:13.026129647Z","reserved":"2024-09-30T16:00:12.962Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"17c76b0104e4a6513983777e1a17e0297a12b0c4","lessThan":"f3a9859767c7aea758976f5523903d247e585129","status":"affected","versionType":"git"},{"version":"17c76b0104e4a6513983777e1a17e0297a12b0c4","lessThan":"ed76d381dae125b81d09934e365391a656249da8","status":"affected","versionType":"git"},{"version":"17c76b0104e4a6513983777e1a17e0297a12b0c4","lessThan":"d20674f31626e0596ae4c1d9401dfb6739b81b58","status":"affected","versionType":"git"},{"version":"17c76b0104e4a6513983777e1a17e0297a12b0c4","lessThan":"c4f8554996e8ada3be872dfb8f60e93bcf15fb27","status":"affected","versionType":"git"},{"version":"17c76b0104e4a6513983777e1a17e0297a12b0c4","lessThan":"a8abfda768b9f33630cfbc4af6c4214f1e5681b0","status":"affected","versionType":"git"},{"version":"17c76b0104e4a6513983777e1a17e0297a12b0c4","lessThan":"257f9e5185eb6de83377caea686c306e22e871f2","status":"affected","versionType":"git"},{"version":"17c76b0104e4a6513983777e1a17e0297a12b0c4","lessThan":"a33e967b681e088a125b979975c93e3453e686cd","status":"affected","versionType":"git"},{"version":"17c76b0104e4a6513983777e1a17e0297a12b0c4","lessThan":"c4cbcc64bb31e67e02940ce060cc77f7180564cf","status":"affected","versionType":"git"},{"version":"17c76b0104e4a6513983777e1a17e0297a12b0c4","lessThan":"f9c96351aa6718b42a9f42eaf7adce0356bdb5e8","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.30","status":"affected"},{"version":"0","lessThan":"2.6.30","status":"unaffected","versionType":"semver"},{"version":"4.19.323","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.285","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.227","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.168","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.113","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.54","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.10.13","lessThanOrEqual":"6.10.*","status":"unaffected","versionType":"semver"},{"version":"6.11.2","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f3a9859767c7aea758976f5523903d247e585129","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ed76d381dae125b81d09934e365391a656249da8","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d20674f31626e0596ae4c1d9401dfb6739b81b58","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c4f8554996e8ada3be872dfb8f60e93bcf15fb27","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a8abfda768b9f33630cfbc4af6c4214f1e5681b0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/257f9e5185eb6de83377caea686c306e22e871f2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a33e967b681e088a125b979975c93e3453e686cd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c4cbcc64bb31e67e02940ce060cc77f7180564cf","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f9c96351aa6718b42a9f42eaf7adce0356bdb5e8","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47757.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47757","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00239,"epssPercentile":0.15177,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-47757","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47757","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-47757","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-47757","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}