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-2024-42296

published high CVSS 3.1 · 7.8

f2fs: fix return value of f2fs_convert_inline_inode()

Published
17 Aug 2024, 09:09:04 UTC
Updated
05 Aug 2026, 11:36:26 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 70f5ef5f33c333cfb286116fa3af74ac9bc84f1b · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 47a8ddcdcaccd9b891db4574795e46a33a121ac2 · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 077f0e24b27c4b44841593c7edbd1993be9eecb5 · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 1e7725814361c8c008d131db195cef8274ff26b8 · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < a8eb3de28e7a365690c61161e7a07a4fc7c60bbf · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 5.15.165 through 5.15.* (unaffected · semver) · 6.1.103 through 6.1.* (unaffected · semver) · 6.6.44 through 6.6.* (unaffected · semver) · 6.10.3 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
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 bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1072 Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-aws-5.15-headers-5.15.0-1072 Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-aws-5.15-tools-5.15.0-1072 Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1078 Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1078 Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1078 Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-buildinfo-5.15.0-1055-gkeop Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-1065-ibm Advisory build 5.15.0-1065.68~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-1067-intel-iotg Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-buildinfo-5.15.0-1070-oracle Advisory build 5.15.0-1070.76~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-1071-gcp Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-1072-aws Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-1078-azure Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-buildinfo-5.15.0-125-generic Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-125-generic-64k Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-125-generic-lpae Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-125-lowlatency Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-125-lowlatency-64k Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-cloud-tools-5.15.0-1055-gkeop Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-cloud-tools-5.15.0-1067-intel-iotg Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-cloud-tools-5.15.0-1072-aws Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-cloud-tools-5.15.0-1078-azure Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-cloud-tools-5.15.0-125-generic Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-cloud-tools-5.15.0-125-lowlatency Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1071 Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1071 Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-gkeop-5.15 Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-gkeop-5.15-cloud-tools-5.15.0-1055 Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-gkeop-5.15-headers-5.15.0-1055 Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-gkeop-5.15-tools-5.15.0-1055 Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1055-gkeop Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1065-ibm Advisory build 5.15.0-1065.68~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1067-intel-iotg Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-headers-5.15.0-1070-oracle Advisory build 5.15.0-1070.76~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1071-gcp Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1072-aws Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1078-azure Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-headers-5.15.0-125-generic Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-125-generic-64k Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-125-generic-lpae Advisory build 5.15.0-125.135~20.04.1 USN-7100-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 return value of f2fs_convert_inline_inode() If device is readonly, make f2fs_convert_inline_inode() return EROFS instead of zero, otherwise it may trigger panic during writeback of inline inode's dirty page as below: f2fs_write_single_data_page+0xbb6/0x1e90 fs/f2fs/data.c:2888 f2fs_write_cache_pages fs/f2fs/data.c:3187 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3342 [inline] f2fs_write_data_pages+0x1efe/0x3a90 fs/f2fs/data.c:3369 do_writepages+0x359/0x870 mm/page-writeback.c:2634 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] file_write_and_wait_range+0x1aa/0x290 mm/filemap.c:788 f2fs_do_sync_file+0x68a/0x1ae0 fs/f2fs/file.c:276 generic_write_sync include/linux/fs.h:2806 [inline] f2fs_file_write_iter+0x7bd/0x24e0 fs/f2fs/file.c:4977 call_write_iter include/linux/fs.h:2114 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 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

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

18

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 bug is reached entirely through local filesystem syscalls — `write()`/`fsync()` or an `mmap(MAP_SHARED)` store — against a file on a locally mounted f2fs. No network or physical component is involved in triggering it. AC:L - Once the f2fs is in the affected state (backing device read-only while mounted rw — a real steady state on wear-out eMMC/UFS, write-protected SD/USB media, RO dm tables, or a multi-device f2fs with one RO member), the trigger is deterministic and single-threaded: create a file small enough to stay inline, then mmap-write it or write past `MAX_INLINE_DATA` and fsync. There is no race to win and no memory layout to groom, and the attacker can repeat it at will. PR:L - Any unprivileged local user holding a writable fd to a file on the affected f2fs — their own file in a home directory, /tmp, or /data/local/tmp — can reach both `f2fs_vm_page_mkwrite()` and the writeback path. No capability, ioctl gate, or mount privilege is required. UI:N - No victim action is needed; the attacker performs the write or page fault entirely on their own file. The read-only device condition is a pre-existing system/hardware state, not an interaction solicited from a user. S:U - The BUG_ON, the corrupted `i_addr[]`/inline region, and any resulting data access all live inside the kernel and the same f2fs instance. No VM, IOMMU, or sandbox boundary is crossed. C:H - The resulting inode state (F2FS_INLINE_DATA set with real block addresses in the overlapping `i_addr[]` array) is the same corruption class as CVE-2024-44942; on-disk block addresses become readable as file content, and once the inline flag is cleared via `f2fs_convert_inline_page()`'s `clear_out` path without truncating the region, the user controls their file's block map and can read data blocks belonging to other files on the filesystem. I:H - `f2fs_get_block_locked()` stamps block addresses over the inline data area while `f2fs_write_inline_data()`'s `memcpy_from_page()` stamps user-controlled bytes over the block address array, giving mutually corrupting writes to inode metadata; on a multi-device f2fs with one RO member the rest of the volume stays writable, so this inconsistent inode can be committed to disk and later drive GC/truncate down attacker-influenced block addresses. A:H - The commit states it "may trigger panic," and the shared syzbot report shows `kernel BUG at fs/f2fs/inline.c:258` in `f2fs_write_inline_data()`; with CONFIG_F2FS_CHECK_FS the `f2fs_bug_on()` at fs/f2fs/file.c:105 and fs/f2fs/inline.c:258 are BUG_ON, and without it the WARN_ON panics under panic_on_warn and otherwise leaves the filesystem flagged NEED_FSCK.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 70f5ef5f33c333cfb286116fa3af74ac9bc84f1b (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 47a8ddcdcaccd9b891db4574795e46a33a121ac2 (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 077f0e24b27c4b44841593c7edbd1993be9eecb5 (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < 1e7725814361c8c008d131db195cef8274ff26b8 (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < a8eb3de28e7a365690c61161e7a07a4fc7c60bbf (affected · git)Default: unaffected Linux · cna
Linux Linux 3.8 (affected)0 to < 3.8 (unaffected · semver)5.15.165 through 5.15.* (unaffected · semver)6.1.103 through 6.1.* (unaffected · semver)6.6.44 through 6.6.* (unaffected · semver)6.10.3 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

3

Linux · cna

f2fs: fix return value of f2fs_convert_inline_inode()

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
f71a2434c6f8fa62997916b2c43d4b3dedf65b09e7e77aa0a190fcdb0dd6e341
Ingested
23 Sep 2026, 08:26:31 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