Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-42296— f2fs: fix return value of f2fs_convert_inline_inode()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于f2fs在f2fs_convert_inline_inode函数中未能正确处理只读设备,导致返回值错误。

CVSS 7.8 · High EPSS 0.24% · P13

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 12

VendorProduct Version RangeStatus
Linux Linux 98e4da8ca301e062d79ae168c67e56f3c3de3ce4< 70f5ef5f33c333cfb286116fa3af74ac9bc84f1b affected
98e4da8ca301e062d79ae168c67e56f3c3de3ce4< 47a8ddcdcaccd9b891db4574795e46a33a121ac2 affected
98e4da8ca301e062d79ae168c67e56f3c3de3ce4< 077f0e24b27c4b44841593c7edbd1993be9eecb5 affected
98e4da8ca301e062d79ae168c67e56f3c3de3ce4< 1e7725814361c8c008d131db195cef8274ff26b8 affected
98e4da8ca301e062d79ae168c67e56f3c3de3ce4< a8eb3de28e7a365690c61161e7a07a4fc7c60bbf affected
3.8 affected
< 3.8 unaffected
5.15.165≤ 5.15.* unaffected
… +4 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-42296

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
f2fs: fix return value of f2fs_convert_inline_inode()
Source: CVE Program / CVE List V5
Vulnerability 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
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于f2fs在f2fs_convert_inline_inode函数中未能正确处理只读设备,导致返回值错误。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 ~ 70f5ef5f33c333cfb286116fa3af74ac9bc84f1b -
Linux Linux 3.8 -

II. Public POCs for CVE-2024-42296

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-42296

请登录查看更多情报信息。

Other References for CVE-2024-42296 (5)

Same Patch Batch · Linux · 2024-08-17 · 109 CVEs total

CVE-2024-42285 9.8 CRITICAL RDMA/iwcm: Fix a use-after-free related to destroying CM IDs
CVE-2024-42284 9.1 CRITICAL tipc: Return non-zero value from tipc_udp_addr2str() on error
CVE-2024-42318 8.8 HIGH landlock: Don't lose track of restrictions on cred_transfer
CVE-2024-42287 8.8 HIGH scsi: qla2xxx: Complete command early within lock
CVE-2024-43847 8.8 HIGH wifi: ath12k: fix invalid memory access while processing fragmented packets
CVE-2024-43848 8.8 HIGH wifi: mac80211: fix TTLM teardown work
CVE-2024-42279 7.8 HIGH spi: microchip-core: ensure TX and RX FIFOs are empty at start of a transfer
CVE-2024-42299 7.8 HIGH fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed
CVE-2024-42314 7.8 HIGH btrfs: fix extent map use-after-free when adding pages to compressed bio
CVE-2024-42297 7.8 HIGH f2fs: fix to don't dirty inode for readonly filesystem
CVE-2024-43840 7.8 HIGH bpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG
CVE-2024-43832 7.8 HIGH s390/uv: Don't call folio_wait_writeback() without a folio reference
CVE-2024-42293 7.8 HIGH arm64: mm: Fix lockless walks with static and dynamic page-table folding
CVE-2024-43830 7.8 HIGH leds: trigger: Unregister sysfs attributes before calling deactivate()
CVE-2024-42300 7.8 HIGH erofs: fix race in z_erofs_get_gbuf()
CVE-2024-43845 7.8 HIGH udf: Fix bogus checksum computation in udf_rename()
CVE-2024-42288 7.8 HIGH scsi: qla2xxx: Fix for possible memory corruption
CVE-2024-43846 7.8 HIGH lib: objagg: Fix general protection fault
CVE-2024-42280 7.8 HIGH mISDN: Fix a use after free in hfcmulti_tx()
CVE-2024-42311 7.8 HIGH hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()

Showing top 20 of 109 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-42296

No comments yet


Leave a comment