# CVE-2024-39467: linux: In the Linux kernel, the following vulnerability has been resolved:  f2fs: fix to do sanity check on i_xattr_nid in s...

CVE-2024-39467 is fixed in 12 products on 1 platform, first by DEBIAN-CVE-2024-39467, released June 25, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-39467
- Priority: High
- CVSS: 7.1 (high)
- EPSS: 0.0024
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 25, 2024

## Description

In the Linux kernel, the following vulnerability has been resolved:  f2fs: fix to do sanity check on i_xattr_nid in sanity_check_inode()  syzbot reports a kernel bug as below:  F2FS-fs (loop0): Mounted with checkpoint version = 48b305e4 ================================================================== BUG: KASAN: slab-out-of-bounds in f2fs_test_bit fs/f2fs/f2fs.h:2933 [inline] BUG: KASAN: slab-out-of-bounds in current_nat_addr fs/f2fs/node.h:213 [inline] BUG: KASAN: slab-out-of-bounds in f2fs_get_node_info+0xece/0x1200 fs/f2fs/node.c:600 Read of size 1 at addr ffff88807a58c76c by task syz-executor280/5076  CPU: 1 PID: 5076 Comm: syz-executor280 Not tainted 6.9.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace:  <TASK>  __dump_stack lib/dump_stack.c:88 [inline]  dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114  print_address_description mm/kasan/report.c:377 [inline]  print_report+0x169/0x550 mm/kasan/report.c:488  kasan_report+0x143/0x180 mm/kasan/report.c:601  f2fs_test_bit fs/f2fs/f2fs.h:2933 [inline]  current_nat_addr fs/f2fs/node.h:213 [inline]  f2fs_get_node_info+0xece/0x1200 fs/f2fs/node.c:600  f2fs_xattr_fiemap fs/f2fs/data.c:1848 [inline]  f2fs_fiemap+0x55d/0x1ee0 fs/f2fs/data.c:1925  ioctl_fiemap fs/ioctl.c:220 [inline]  do_vfs_ioctl+0x1c07/0x2e50 fs/ioctl.c:838  __do_sys_ioctl fs/ioctl.c:902 [inline]  __se_sys_ioctl+0x81/0x170 fs/ioctl.c:890  do_syscall_x64 arch/x86/entry/common.c:52 [inline]  do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83  entry_SYSCALL_64_after_hwframe+0x77/0x7f  The root cause is we missed to do sanity check on i_xattr_nid during f2fs_iget(), so that in fiemap() path, current_nat_addr() will access nat_bitmap w/ offset from invalid i_xattr_nid, result in triggering kasan bug report, fix it.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | kernel-uek ol 8 | 0:5.4.17-2136.334.6.el7uek | [ELSA-2024-12581](https://patchblox.com/security/data/fix/linux/elsa-2024-12581.md) | Aug 12, 2024 |
| Linux | kernel-uek-container ol 8 | 0:5.4.17-2136.334.6.el8 | [ELSA-2024-12584](https://patchblox.com/security/data/fix/linux/elsa-2024-12584.md) | Aug 12, 2024 |
| Linux | kernel-uek-container-debug ol 8 | 0:5.4.17-2136.334.6.el8 | [ELSA-2024-12584](https://patchblox.com/security/data/fix/linux/elsa-2024-12584.md) | Aug 12, 2024 |
| Linux | kernel-uek-debug ol 8 | 0:5.4.17-2136.334.6.el7uek | [ELSA-2024-12581](https://patchblox.com/security/data/fix/linux/elsa-2024-12581.md) | Aug 12, 2024 |
| Linux | kernel-uek-debug-devel ol 8 | 0:5.4.17-2136.334.6.el7uek | [ELSA-2024-12581](https://patchblox.com/security/data/fix/linux/elsa-2024-12581.md) | Aug 12, 2024 |
| Linux | kernel-uek-devel ol 8 | 0:5.4.17-2136.334.6.el7uek | [ELSA-2024-12581](https://patchblox.com/security/data/fix/linux/elsa-2024-12581.md) | Aug 12, 2024 |
| Linux | kernel-uek-doc ol 8 | 0:5.4.17-2136.334.6.el7uek | [ELSA-2024-12581](https://patchblox.com/security/data/fix/linux/elsa-2024-12581.md) | Aug 12, 2024 |
| Linux | kernel-uek-tools ol 8 | 0:5.4.17-2136.334.6.el7uek | [ELSA-2024-12581](https://patchblox.com/security/data/fix/linux/elsa-2024-12581.md) | Aug 12, 2024 |
| Linux | kernel-uek-tools-libs ol 8 | 0:5.4.17-2136.334.6.el7uek | [ELSA-2024-12581](https://patchblox.com/security/data/fix/linux/elsa-2024-12581.md) | Aug 12, 2024 |
| Linux | linux Debian 12.15 (bookworm) | 6.1.94-1 | [DEBIAN-CVE-2024-39467](https://patchblox.com/security/data/fix/linux/debian-cve-2024-39467.md) | Jun 25, 2024 |
| Linux | linux Debian 13.5 (trixie) | 6.9.7-1 | [DEBIAN-CVE-2024-39467](https://patchblox.com/security/data/fix/linux/debian-cve-2024-39467.md) | Jun 25, 2024 |
| Linux | linux Debian 14 | 6.9.7-1 | [DEBIAN-CVE-2024-39467](https://patchblox.com/security/data/fix/linux/debian-cve-2024-39467.md) | Jun 25, 2024 |
| Linux | perf ol 8 | 0:5.4.17-2136.334.6.el7uek | [ELSA-2024-12581](https://patchblox.com/security/data/fix/linux/elsa-2024-12581.md) | Aug 12, 2024 |
| Linux | python-perf ol 8 | 0:5.4.17-2136.334.6.el7uek | [ELSA-2024-12581](https://patchblox.com/security/data/fix/linux/elsa-2024-12581.md) | Aug 12, 2024 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
