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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-36966— erofs: reliably distinguish block based and fscache mode

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 存在安全漏洞,该漏洞源于 erofs 中存在安全问题。

AI Predicted 5.5 Difficulty: Easy EPSS 0.21% · P10

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 8

VendorProduct Version RangeStatus
Linux Linux aca740cecbe57b12bd9c1fc632092af5ebacda0c< f9b877a7ee312ec8ce17598a7ef85cb820d7c371 affected
aca740cecbe57b12bd9c1fc632092af5ebacda0c< dcdd49701e429c55b3644fd70fc58d85745f8cfe affected
aca740cecbe57b12bd9c1fc632092af5ebacda0c< 7af2ae1b1531feab5d38ec9c8f472dc6cceb4606 affected
6.6 affected
< 6.6 unaffected
6.6.32≤ 6.6.* unaffected
6.8.11≤ 6.8.* unaffected
6.9≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-36966

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
erofs: reliably distinguish block based and fscache mode
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: erofs: reliably distinguish block based and fscache mode When erofs_kill_sb() is called in block dev based mode, s_bdev may not have been initialised yet, and if CONFIG_EROFS_FS_ONDEMAND is enabled, it will be mistaken for fscache mode, and then attempt to free an anon_dev that has never been allocated, triggering the following warning: ============================================ ida_free called for id=0 which is not allocated. WARNING: CPU: 14 PID: 926 at lib/idr.c:525 ida_free+0x134/0x140 Modules linked in: CPU: 14 PID: 926 Comm: mount Not tainted 6.9.0-rc3-dirty #630 RIP: 0010:ida_free+0x134/0x140 Call Trace: <TASK> erofs_kill_sb+0x81/0x90 deactivate_locked_super+0x35/0x80 get_tree_bdev+0x136/0x1e0 vfs_get_tree+0x2c/0xf0 do_new_mount+0x190/0x2f0 [...] ============================================ Now when erofs_kill_sb() is called, erofs_sb_info must have been initialised, so use sbi->fsid to distinguish between the two modes.
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 存在安全漏洞,该漏洞源于 erofs 中存在安全问题。
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 aca740cecbe57b12bd9c1fc632092af5ebacda0c ~ f9b877a7ee312ec8ce17598a7ef85cb820d7c371 -
Linux Linux 6.6 -

II. Public POCs for CVE-2024-36966

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

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

Other References for CVE-2024-36966 (3)

Same Patch Batch · Linux · 2024-06-08 · 6 CVEs total

CVE-2024-36965 7.8 HIGH remoteproc: mediatek: Make sure IPI buffer fits in L2TCM
CVE-2024-36968 7.6 HIGH Bluetooth: L2CAP: Fix div-by-zero in l2cap_le_flowctl_init()
CVE-2024-36967 KEYS: trusted: Fix memory leak in tpm2_key_encode()
CVE-2024-36969 drm/amd/display: Fix division by zero in setup_dsc_config
CVE-2024-36970 wifi: iwlwifi: Use request_module_nowait

IV. Related Vulnerabilities

V. Comments for CVE-2024-36966

No comments yet


Leave a comment