CVE-2024-47757
nilfs2: fix potential oob read in nilfs_btree_check_delete()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < f3a9859767c7aea758976f5523903d247e585129; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < ed76d381dae125b81d09934e365391a656249da8; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < d20674f31626e0596ae4c1d9401dfb6739b81b58; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < c4f8554996e8ada3be872dfb8f60e93bcf15fb27; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < a8abfda768b9f33630cfbc4af6c4214f1e5681b0; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < 257f9e5185eb6de83377caea686c306e22e871f2; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < a33e967b681e088a125b979975c93e3453e686cd; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < c4cbcc64bb31e67e02940ce060cc77f7180564cf; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < f9c96351aa6718b42a9f42eaf7adce0356bdb5e8
- Anyone running Linux 2.6.30
Vulnerability facts
- Affected
- Linux >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < f3a9859767c7aea758976f5523903d247e585129; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < ed76d381dae125b81d09934e365391a656249da8; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < d20674f31626e0596ae4c1d9401dfb6739b81b58; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < c4f8554996e8ada3be872dfb8f60e93bcf15fb27; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < a8abfda768b9f33630cfbc4af6c4214f1e5681b0; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < 257f9e5185eb6de83377caea686c306e22e871f2; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < a33e967b681e088a125b979975c93e3453e686cd; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < c4cbcc64bb31e67e02940ce060cc77f7180564cf; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < f9c96351aa6718b42a9f42eaf7adce0356bdb5e8; Linux 2.6.30
- Fixed in
- Linux 257f9e5185eb6de83377caea686c306e22e871f2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
- CWE
- CWE-125
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < f3a9859767c7aea758976f5523903d247e585129; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < ed76d381dae125b81d09934e365391a656249da8; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < d20674f31626e0596ae4c1d9401dfb6739b81b58; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < c4f8554996e8ada3be872dfb8f60e93bcf15fb27; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < a8abfda768b9f33630cfbc4af6c4214f1e5681b0; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < 257f9e5185eb6de83377caea686c306e22e871f2; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < a33e967b681e088a125b979975c93e3453e686cd; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < c4cbcc64bb31e67e02940ce060cc77f7180564cf; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < f9c96351aa6718b42a9f42eaf7adce0356bdb5e8 | — | cvelist |
| Linux | 2.6.30 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-47757. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-47757.md Affected: Linux >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < f3a9859767c7aea758976f5523903d247e585129; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < ed76d381dae125b81d09934e365391a656249da8; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < d20674f31626e0596ae4c1d9401dfb6739b81b58; >= 17c76b0104e4a6513983777… Fixed in: Linux 257f9e5185eb6de83377caea686c306e22e871f2 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/d20674f31626e0596ae4c1d9401dfb6739b81b58
- https://git.kernel.org/stable/c/c4f8554996e8ada3be872dfb8f60e93bcf15fb27
- https://git.kernel.org/stable/c/a8abfda768b9f33630cfbc4af6c4214f1e5681b0
- https://git.kernel.org/stable/c/257f9e5185eb6de83377caea686c306e22e871f2
- https://git.kernel.org/stable/c/a33e967b681e088a125b979975c93e3453e686cd
- https://git.kernel.org/stable/c/c4cbcc64bb31e67e02940ce060cc77f7180564cf
- https://git.kernel.org/stable/c/f9c96351aa6718b42a9f42eaf7adce0356bdb5e8
FAQ
Is CVE-2024-47757 being exploited?
There is no confirmed exploitation: CVE-2024-47757 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-47757?
High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-47757?
Linux >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < f3a9859767c7aea758976f5523903d247e585129; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < ed76d381dae125b81d09934e365391a656249da8; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < d20674f31626e0596ae4c1d9401dfb6739b81b58; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < c4f8554996e8ada3be872dfb8f60e93bcf15fb27; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < a8abfda768b9f33630cfbc4af6c4214f1e5681b0; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < 257f9e5185eb6de83377caea686c306e22e871f2; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < a33e967b681e088a125b979975c93e3453e686cd; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < c4cbcc64bb31e67e02940ce060cc77f7180564cf; >= 17c76b0104e4a6513983777e1a17e0297a12b0c4, < f9c96351aa6718b42a9f42eaf7adce0356bdb5e8; Linux 2.6.30.
Is there a fix for CVE-2024-47757?
Yes. Fixed in Linux 257f9e5185eb6de83377caea686c306e22e871f2. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-47757?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.