Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38677

published high CVSS 3.1 · 7.8

f2fs: fix to avoid out-of-boundary access in dnode page

Published
30 Aug 2025, 09:19:02 UTC
Updated
05 Aug 2026, 12:03:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < ee4d13f5407cbdf1216cc258f45492075713889a · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < a650654365c57407413e9b1f6ff4d539bf2e99ca · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 6b7784ea07e6aa044f74b39d6b5af5e28746fc81 · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 901f62efd6e855f93d8b1175540f29f4dc45ba55 · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 92ef491b506a0f4dd971a3a76f86f2d8f5370180 · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 888aa660144bcb6ec07839da756ee46bfcf7fc53 · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < f1d5093d9fe9f3c74c123741c88666cc853b79c5 · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 77de19b6867f2740cdcb6c9c7e50d522b47847a4 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 5.4.297 through 5.4.* (unaffected · semver) · 5.10.241 through 5.10.* (unaffected · semver) · 5.15.190 through 5.15.* (unaffected · semver) · 6.1.149 through 6.1.* (unaffected · semver) · 6.6.103 through 6.6.* (unaffected · semver) · 6.12.44 through 6.12.* (unaffected · semver) · 6.16.4 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC CN 41000 to < V5.0 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.153-1 DSA-6009-1
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bullseye linux Advisory build 5.10.244-1 DLA-4327-1
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Debian trixie linux Advisory build 6.12.48-1 DSA-6008-1
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1097 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-aws-5.15-headers-5.15.0-1097 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-aws-5.15-tools-5.15.0-1097 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1102 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1102 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1102 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-buildinfo-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1049-nvidia-tegra-rt Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-buildinfo-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-generic-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-generic-lpae Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-lowlatency-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-cloud-tools-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1097 Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1097 Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1049-nvidia-tegra-rt Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-headers-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-generic-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-generic-lpae Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-lowlatency-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1091 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1091 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-image-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-5.15.0-163-generic-lpae Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1049-nvidia-tegra-rt Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-image-unsigned-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-163-generic-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-163-lowlatency-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1092 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1092 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1092 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid out-of-boundary access in dnode page As Jiaming Zhang reported: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x1c1/0x2a0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x17e/0x800 mm/kasan/report.c:480 kasan_report+0x147/0x180 mm/kasan/report.c:593 data_blkaddr fs/f2fs/f2fs.h:3053 [inline] f2fs_data_blkaddr fs/f2fs/f2fs.h:3058 [inline] f2fs_get_dnode_of_data+0x1a09/0x1c40 fs/f2fs/node.c:855 f2fs_reserve_block+0x53/0x310 fs/f2fs/data.c:1195 prepare_write_begin fs/f2fs/data.c:3395 [inline] f2fs_write_begin+0xf39/0x2190 fs/f2fs/data.c:3594 generic_perform_write+0x2c7/0x910 mm/filemap.c:4112 f2fs_buffered_write_iter fs/f2fs/file.c:4988 [inline] f2fs_file_write_iter+0x1ec8/0x2410 fs/f2fs/file.c:5216 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x546/0xa90 fs/read_write.c:686 ksys_write+0x149/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x3d0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The root cause is in the corrupted image, there is a dnode has the same node id w/ its inode, so during f2fs_get_dnode_of_data(), it tries to access block address in dnode at offset 934, however it parses the dnode as inode node, so that get_dnode_addr() returns 360, then it tries to access page address from 360 + 934 * 4 = 4096 w/ 4 bytes. To fix this issue, let's add sanity check for node id of all direct nodes during f2fs_get_dnode_of_data().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

34

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is reached through a local `write(2)`/`vfs_write` syscall on a file of a mounted f2fs filesystem, with no network component. Local access to the mount is required, so Attack Vector is Local. AC:L - Given a crafted f2fs image (a direct-node nid equal to the inode's own nid), the out-of-bounds access is fully deterministic — the attacker selects the OOB offset simply by choosing the file offset to write, and there is no race or unpredictable memory-layout precondition. PR:L - No capability or privilege check exists between the write syscall and `f2fs_get_dnode_of_data()`; any unprivileged user with access to the mounted (attacker-supplied or corrupted) f2fs volume can trigger it, matching the Android/removable-media deployment model where f2fs volumes are user-accessible. UI:N - Once the crafted image is present/mounted — commonly automatic via udisks2/vold-style auto-mount of removable media — the attacker triggers the bug entirely on their own with ordinary file writes, requiring no action from another user. S:U - The out-of-bounds access corrupts kernel memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - `data_blkaddr()` performs an out-of-bounds read of up to ~336 bytes past the node page at 84 attacker-chosen 4-byte offsets, and the leaked values are surfaced to userspace as block addresses via FIBMAP/FIEMAP (`f2fs_bmap`); the accompanying heap corruption further enables information disclosure. I:H - `__set_data_blkaddr()` writes 4 bytes (`NEW_ADDR`, and later real block addresses) at the same out-of-bounds offset, giving an out-of-bounds write into memory adjacent to a page-cache page at attacker-selected offsets — a heap-corruption primitive suitable for control-flow hijacking. A:H - The bug reproduces as a KASAN-reported out-of-bounds access; corrupting adjacent kernel page/slab memory readily causes an oops or panic, and the condition is repeatedly triggerable.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < ee4d13f5407cbdf1216cc258f45492075713889a (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < a650654365c57407413e9b1f6ff4d539bf2e99ca (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 6b7784ea07e6aa044f74b39d6b5af5e28746fc81 (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 901f62efd6e855f93d8b1175540f29f4dc45ba55 (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 92ef491b506a0f4dd971a3a76f86f2d8f5370180 (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 888aa660144bcb6ec07839da756ee46bfcf7fc53 (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < f1d5093d9fe9f3c74c123741c88666cc853b79c5 (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 77de19b6867f2740cdcb6c9c7e50d522b47847a4 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.8 (affected)0 to < 3.8 (unaffected · semver)5.4.297 through 5.4.* (unaffected · semver)5.10.241 through 5.10.* (unaffected · semver)5.15.190 through 5.15.* (unaffected · semver)6.1.149 through 6.1.* (unaffected · semver)6.6.103 through 6.6.* (unaffected · semver)6.12.44 through 6.12.* (unaffected · semver)6.16.4 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC CN 4100 0 to < V5.0 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

11

Provider assertions

3

Linux · cna

f2fs: fix to avoid out-of-boundary access in dnode page

siemens-SADP · adp

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
3186c2dbbf0f2345bec7c91e17217414e34e8d7eb088418d5b51d5098481be40
Ingested
23 Sep 2026, 08:46:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected