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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-47669— nilfs2: fix state management in error path of log writing function

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存在安全漏洞,该漏洞源于在写入日志函数中的错误路径管理不当,导致在失败时未清除写回标志和NILFS_I_COLLECTED标志。

CVSS 7.3 · High EPSS 0.21% · P11

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux a694291a6211537189c6080f77f63cdabfc9b63e< 40a2757de2c376ef8a08d9ee9c81e77f3c750adf affected
a694291a6211537189c6080f77f63cdabfc9b63e< 036441e8438b29111fa75008f0ce305fb4e83c0a affected
a694291a6211537189c6080f77f63cdabfc9b63e< efdde00d4a1ef10bb71e09ebc67823a3d3ad725b affected
a694291a6211537189c6080f77f63cdabfc9b63e< 3e349d7191f0688fc9808ef24fd4e4b4ef5ca876 affected
a694291a6211537189c6080f77f63cdabfc9b63e< 30562eff4a6dd35c4b5be9699ef61ad9f5f20a06 affected
a694291a6211537189c6080f77f63cdabfc9b63e< 0a1a961bde4351dc047ffdeb2f1311ca16a700cc affected
a694291a6211537189c6080f77f63cdabfc9b63e< 74866c16ea2183f52925fa5d76061a1fe7f7737b affected
a694291a6211537189c6080f77f63cdabfc9b63e< 6576dd6695f2afca3f4954029ac4a64f82ba60ab affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-47669

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
nilfs2: fix state management in error path of log writing function
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix state management in error path of log writing function After commit a694291a6211 ("nilfs2: separate wait function from nilfs_segctor_write") was applied, the log writing function nilfs_segctor_do_construct() was able to issue I/O requests continuously even if user data blocks were split into multiple logs across segments, but two potential flaws were introduced in its error handling. First, if nilfs_segctor_begin_construction() fails while creating the second or subsequent logs, the log writing function returns without calling nilfs_segctor_abort_construction(), so the writeback flag set on pages/folios will remain uncleared. This causes page cache operations to hang waiting for the writeback flag. For example, truncate_inode_pages_final(), which is called via nilfs_evict_inode() when an inode is evicted from memory, will hang. Second, the NILFS_I_COLLECTED flag set on normal inodes remain uncleared. As a result, if the next log write involves checkpoint creation, that's fine, but if a partial log write is performed that does not, inodes with NILFS_I_COLLECTED set are erroneously removed from the "sc_dirty_files" list, and their data and b-tree blocks may not be written to the device, corrupting the block mapping. Fix these issues by uniformly calling nilfs_segctor_abort_construction() on failure of each step in the loop in nilfs_segctor_do_construct(), having it clean up logs and segment usages according to progress, and correcting the conditions for calling nilfs_redirty_inodes() to ensure that the NILFS_I_COLLECTED flag is cleared.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/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存在安全漏洞,该漏洞源于在写入日志函数中的错误路径管理不当,导致在失败时未清除写回标志和NILFS_I_COLLECTED标志。
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 a694291a6211537189c6080f77f63cdabfc9b63e ~ 40a2757de2c376ef8a08d9ee9c81e77f3c750adf -
Linux Linux 2.6.33 -

II. Public POCs for CVE-2024-47669

# 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-47669

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

Patches & Fixes for CVE-2024-47669 (5)

Same Patch Batch · Linux · 2024-10-09 · 17 CVEs total

CVE-2024-47659 9.1 CRITICAL smack: tcp: ipv4, fix incorrect labeling
CVE-2024-47668 7.8 HIGH lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
CVE-2024-47670 7.8 HIGH ocfs2: add bounds checking to ocfs2_xattr_find_entry()
CVE-2024-47658 7.5 HIGH crypto: stm32/cryp - call finalize with bh disabled
CVE-2024-47667 7.3 HIGH PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0)
CVE-2024-46870 drm/amd/display: Disable DMCUB timeout for DCN35
CVE-2024-46871 drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX
CVE-2024-47660 fsnotify: clear PARENT_WATCHED flags lazily
CVE-2024-47662 drm/amd/display: Remove register from DCN35 DMCUB diagnostic collection
CVE-2024-47661 drm/amd/display: Avoid overflow from uint32_t to uint8_t
CVE-2024-47663 staging: iio: frequency: ad9834: Validate frequency parameter value
CVE-2024-47664 spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware
CVE-2024-47665 i3c: mipi-i3c-hci: Error out instead on BUG_ON() in IBI DMA setup
CVE-2024-47666 scsi: pm80xx: Set phy->enable_completion only when we wait for it
CVE-2024-47671 USB: usbtmc: prevent kernel-usb-infoleak
CVE-2024-47673 wifi: iwlwifi: mvm: pause TCM when the firmware is stopped

IV. Related Vulnerabilities

V. Comments for CVE-2024-47669

No comments yet


Leave a comment