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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-47117— ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed

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 存在安全漏洞,该漏洞源于 ext4 模块的 ext4_es_cache_extent 方法中存在错误。

AI Predicted 4.0 Difficulty: Hard EPSS 0.24% · P14

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux adb2355104b2109e06ba5276485d187d023b2fd2< e33bafad30d34cfa5e9787cb099cab05e2677fcb affected
adb2355104b2109e06ba5276485d187d023b2fd2< 5b3a9a2be59478b013a430ac57b0f3d65471b071 affected
adb2355104b2109e06ba5276485d187d023b2fd2< d8116743ef5432336289256b2f7c117299213eb9 affected
adb2355104b2109e06ba5276485d187d023b2fd2< 569496aa3776eea1ff0d49d0174ac1b7e861e107 affected
adb2355104b2109e06ba5276485d187d023b2fd2< 920697b004e49cb026e2e15fe91be065bf0741b7 affected
adb2355104b2109e06ba5276485d187d023b2fd2< d3b668b96ad3192c0581a248ae2f596cd054792a affected
adb2355104b2109e06ba5276485d187d023b2fd2< 48105dc98c9ca35af418746277b087cb2bc6df7c affected
adb2355104b2109e06ba5276485d187d023b2fd2< 082cd4ec240b8734a82a89ffb890216ac98fec68 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-47117

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
ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed We got follow bug_on when run fsstress with injecting IO fault: [130747.323114] kernel BUG at fs/ext4/extents_status.c:762! [130747.323117] Internal error: Oops - BUG: 0 [#1] SMP ...... [130747.334329] Call trace: [130747.334553] ext4_es_cache_extent+0x150/0x168 [ext4] [130747.334975] ext4_cache_extents+0x64/0xe8 [ext4] [130747.335368] ext4_find_extent+0x300/0x330 [ext4] [130747.335759] ext4_ext_map_blocks+0x74/0x1178 [ext4] [130747.336179] ext4_map_blocks+0x2f4/0x5f0 [ext4] [130747.336567] ext4_mpage_readpages+0x4a8/0x7a8 [ext4] [130747.336995] ext4_readpage+0x54/0x100 [ext4] [130747.337359] generic_file_buffered_read+0x410/0xae8 [130747.337767] generic_file_read_iter+0x114/0x190 [130747.338152] ext4_file_read_iter+0x5c/0x140 [ext4] [130747.338556] __vfs_read+0x11c/0x188 [130747.338851] vfs_read+0x94/0x150 [130747.339110] ksys_read+0x74/0xf0 This patch's modification is according to Jan Kara's suggestion in: https://patchwork.ozlabs.org/project/linux-ext4/patch/20210428085158.3728201-1-yebin10@huawei.com/ "I see. Now I understand your patch. Honestly, seeing how fragile is trying to fix extent tree after split has failed in the middle, I would probably go even further and make sure we fix the tree properly in case of ENOSPC and EDQUOT (those are easily user triggerable). Anything else indicates a HW problem or fs corruption so I'd rather leave the extent tree as is and don't try to fix it (which also means we will not create overlapping extents)."
Source: CVE Program / CVE List V5
CVSS Information
N/A
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 存在安全漏洞,该漏洞源于 ext4 模块的 ext4_es_cache_extent 方法中存在错误。
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 adb2355104b2109e06ba5276485d187d023b2fd2 ~ e33bafad30d34cfa5e9787cb099cab05e2677fcb -
Linux Linux 3.9 -

II. Public POCs for CVE-2021-47117

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-47117

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

Other References for CVE-2021-47117 (8)

Same Patch Batch · Linux · 2024-03-15 · 26 CVEs total

CVE-2021-47111 8.8 HIGH xen-netback: take a reference to the RX task thread
CVE-2021-47131 8.1 HIGH net/tls: Fix use-after-free after the TLS device goes down and up
CVE-2021-47123 7.8 HIGH io_uring: fix ltout double free on completion race
CVE-2021-47135 7.8 HIGH mt76: mt7921: fix possible AOOB issue in mt7921_mcu_tx_rate_report
CVE-2021-47129 7.8 HIGH netfilter: nft_ct: skip expectations for confirmed conntrack
CVE-2021-47126 7.8 HIGH ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions
CVE-2021-47124 7.8 HIGH io_uring: fix link timeout refs
CVE-2021-47112 7.8 HIGH x86/kvm: Teardown PV features on boot CPU as well
CVE-2021-47132 7.5 HIGH mptcp: fix sk_forward_memory corruption on retransmission
CVE-2021-47109 7.5 HIGH neighbour: allow NUD_NOARP entries to be forced GCed
CVE-2021-47130 7.5 HIGH nvmet: fix freeing unallocated p2pmem
CVE-2021-47113 7.1 HIGH btrfs: abort in rename_exchange if we fail to insert the second ref
CVE-2021-47127 ice: track AF_XDP ZC enabled queues in bitmap
CVE-2021-47110 x86/kvm: Disable kvmclock on all CPUs on shutdown
CVE-2021-47134 efi/fdt: fix panic when no valid fdt found
CVE-2021-47133 HID: amd_sfh: Fix memory leak in amd_sfh_work
CVE-2021-47128 bpf, lockdown, audit: Fix buggy SELinux lockdown permission checks
CVE-2021-47118 pid: take a reference when initializing `cad_pid`
CVE-2021-47114 ocfs2: fix data corruption by fallocate
CVE-2021-47125 sch_htb: fix refcount leak in htb_parent_to_leaf_offload

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

IV. Related Vulnerabilities

V. Comments for CVE-2021-47117

No comments yet


Leave a comment