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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-56766— mtd: rawnand: fix double free in atmel_pmecc_create_user()

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存在安全漏洞,该漏洞源于在mtd模块的rawnand子模块中,atmel_pmecc_create_user函数中将“user”指针的分配方式从kzalloc改为devm_kzalloc后,调用kfree(user)会导致双重释放错误,影响NAND闪存的正常操作和数据完整性。

AI Predicted 4.3 Difficulty: Moderate EPSS 0.22% · P12

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 17

VendorProduct Version RangeStatus
Linux Linux 22fbbc37edb840fd420fadf670366be9bf028426< ca9818554b0f33e87f38e4bfa2dac056692d46cc affected
54cb5fa850f9306d84e49a3db44b7a7eb5536cd1< 1562871ef613fa9492aa0310933eff785166a90e affected
5fe7709251e334cc27618473299c48340cecd3c8< 3d825a241e65f7e3072978729e79d735ec40b80e affected
24cbc37e837fd9e31e5024480b779207d1d99f1d< 6ea15205d7e2b811fbbdf79783f686f58abfb4b7 affected
f1290871c8aaeb13029390a2b6e5c05733a1be6f< dd45c87782738715d5e7c167f8dabf0814a7394a affected
8ac19ec818c548c5788da5926dcc8af96fad4bb1< d2f090ea57f8d6587e09d4066f740a8617767b3d affected
6d734f1bfc336aaea91313a5632f2f197608fadd< d8e4771f99c0400a1873235704b28bb803c83d17 affected
2014fcea19ec27df033359a0f42db0e8ed4290a8 affected
… +9 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-56766

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
mtd: rawnand: fix double free in atmel_pmecc_create_user()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: fix double free in atmel_pmecc_create_user() The "user" pointer was converted from being allocated with kzalloc() to being allocated by devm_kzalloc(). Calling kfree(user) will lead to a double free.
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存在安全漏洞,该漏洞源于在mtd模块的rawnand子模块中,atmel_pmecc_create_user函数中将“user”指针的分配方式从kzalloc改为devm_kzalloc后,调用kfree(user)会导致双重释放错误,影响NAND闪存的正常操作和数据完整性。
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 22fbbc37edb840fd420fadf670366be9bf028426 ~ ca9818554b0f33e87f38e4bfa2dac056692d46cc -
Linux Linux 5.4.287 ~ 5.4.289 -

II. Public POCs for CVE-2024-56766

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

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

Patches & Fixes for CVE-2024-56766 (7)

Same Patch Batch · Linux · 2025-01-06 · 12 CVEs total

CVE-2024-56757 7.8 HIGH Bluetooth: btusb: mediatek: add intf release flow when usb disconnect
CVE-2024-56759 7.8 HIGH btrfs: fix use-after-free when COWing tree bock and tracing is enabled
CVE-2024-56764 7.8 HIGH ublk: detach gendisk from ublk device if add_disk() fails
CVE-2024-56765 7.8 HIGH powerpc/pseries/vas: Add close() callback in vas_vm_ops struct
CVE-2024-56758 btrfs: check folio mapping after unlock in relocate_one_folio()
CVE-2024-56760 PCI/MSI: Handle lack of irqdomain gracefully
CVE-2024-56761 x86/fred: Clear WFE in missing-ENDBRANCH #CPs
CVE-2024-56763 tracing: Prevent bad count for tracing_cpumask_write
CVE-2024-56767 dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset
CVE-2024-56768 bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP
CVE-2024-56769 media: dvb-frontends: dib3000mb: fix uninit-value in dib3000_write_reg

IV. Related Vulnerabilities

V. Comments for CVE-2024-56766

No comments yet


Leave a comment