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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-26893— firmware: arm_scmi: Fix double free in SMC transport cleanup path

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存在安全漏洞,该漏洞源于内存双重释放。

AI Predicted 4.9 Difficulty: Moderate EPSS 0.23% · P12

Possible ATT&CK Techniques 1 AI

T1055 · Process Injection

Affected Version Matrix 12

VendorProduct Version RangeStatus
Linux Linux 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2< 0d276d9f335f41d6524258d58c0c0241ef9a83a4 affected
1dc6558062dadfabd2fb3bd885fa6e92ec7196f2< 857f56db8c3a71f9871922b6984ff74ad588cb2c affected
1dc6558062dadfabd2fb3bd885fa6e92ec7196f2< 8ffaa17ccb1eb1b65cf85db63225a3581c303773 affected
1dc6558062dadfabd2fb3bd885fa6e92ec7196f2< ead445dd3d681020af333649a27306160eee761d affected
1dc6558062dadfabd2fb3bd885fa6e92ec7196f2< f1d71576d2c9ec8fdb822173fa7f3de79475e9bd affected
5.8 affected
< 5.8 unaffected
6.1.83≤ 6.1.* unaffected
… +4 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-26893

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
firmware: arm_scmi: Fix double free in SMC transport cleanup path
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: firmware: arm_scmi: Fix double free in SMC transport cleanup path When the generic SCMI code tears down a channel, it calls the chan_free callback function, defined by each transport. Since multiple protocols might share the same transport_info member, chan_free() might want to clean up the same member multiple times within the given SCMI transport implementation. In this case, it is SMC transport. This will lead to a NULL pointer dereference at the second time: | scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16 | arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. | arm-scmi firmware:scmi: unable to communicate with SCMI | Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 | Mem abort info: | ESR = 0x0000000096000004 | EC = 0x25: DABT (current EL), IL = 32 bits | SET = 0, FnV = 0 | EA = 0, S1PTW = 0 | FSC = 0x04: level 0 translation fault | Data abort info: | ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 | CM = 0, WnR = 0, TnD = 0, TagAccess = 0 | GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 | user pgtable: 4k pages, 48-bit VAs, pgdp=0000000881ef8000 | [0000000000000000] pgd=0000000000000000, p4d=0000000000000000 | Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP | Modules linked in: | CPU: 4 PID: 1 Comm: swapper/0 Not tainted 6.7.0-rc2-00124-g455ef3d016c9-dirty #793 | Hardware name: FVP Base RevC (DT) | pstate: 61400009 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--) | pc : smc_chan_free+0x3c/0x6c | lr : smc_chan_free+0x3c/0x6c | Call trace: | smc_chan_free+0x3c/0x6c | idr_for_each+0x68/0xf8 | scmi_cleanup_channels.isra.0+0x2c/0x58 | scmi_probe+0x434/0x734 | platform_probe+0x68/0xd8 | really_probe+0x110/0x27c | __driver_probe_device+0x78/0x12c | driver_probe_device+0x3c/0x118 | __driver_attach+0x74/0x128 | bus_for_each_dev+0x78/0xe0 | driver_attach+0x24/0x30 | bus_add_driver+0xe4/0x1e8 | driver_register+0x60/0x128 | __platform_driver_register+0x28/0x34 | scmi_driver_init+0x84/0xc0 | do_one_initcall+0x78/0x33c | kernel_init_freeable+0x2b8/0x51c | kernel_init+0x24/0x130 | ret_from_fork+0x10/0x20 | Code: f0004701 910a0021 aa1403e5 97b91c70 (b9400280) | ---[ end trace 0000000000000000 ]--- Simply check for the struct pointer being NULL before trying to access its members, to avoid this situation. This was found when a transport doesn't really work (for instance no SMC service), the probe routines then tries to clean up, and triggers a crash.
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存在安全漏洞,该漏洞源于内存双重释放。
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 1dc6558062dadfabd2fb3bd885fa6e92ec7196f2 ~ 0d276d9f335f41d6524258d58c0c0241ef9a83a4 -
Linux Linux 5.8 -

II. Public POCs for CVE-2024-26893

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

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

Patches & Fixes for CVE-2024-26893 (1)

Other References for CVE-2024-26893 (4)

Same Patch Batch · Linux · 2024-04-17 · 100 CVEs total

CVE-2024-26877 9.8 CRITICAL crypto: xilinx - call finalize with bh disabled
CVE-2024-26853 9.8 CRITICAL igc: avoid returning frame twice in XDP_REDIRECT
CVE-2024-26828 9.4 CRITICAL cifs: fix underflow in parse_server_interfaces()
CVE-2024-26856 8.8 HIGH net: sparx5: Fix use after free inside sparx5_del_mact_entry
CVE-2024-26822 8.7 HIGH smb: client: set correct id, uid and cruid for multiuser automounts
CVE-2024-26830 8.4 HIGH i40e: Do not allow untrusted VF to remove administratively set MAC
CVE-2024-26914 7.8 HIGH drm/amd/display: fix incorrect mpc_combine array size
CVE-2024-26898 7.8 HIGH aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts
CVE-2024-26852 7.8 HIGH net/ipv6: avoid possible UAF in ip6_route_mpath_notify()
CVE-2024-26895 7.8 HIGH wifi: wilc1000: prevent use-after-free on vif when cleaning up all interfaces
CVE-2024-26890 7.8 HIGH Bluetooth: btrtl: fix out of bounds memory access
CVE-2024-26864 7.8 HIGH tcp: Fix refcnt handling in __inet_hash_connect().
CVE-2024-26865 7.8 HIGH rds: tcp: Fix use-after-free of net in reqsk_timer_handler().
CVE-2024-26869 7.8 HIGH f2fs: fix to truncate meta inode pages forcely
CVE-2024-26870 7.8 HIGH NFSv4.2: fix nfs4_listxattr kernel BUG at mm/usercopy.c:102
CVE-2024-26885 7.8 HIGH bpf: Fix DEVMAP_HASH overflow check on 32-bit arches
CVE-2024-26872 7.8 HIGH RDMA/srpt: Do not register event handler until srpt device is fully setup
CVE-2024-26884 7.8 HIGH bpf: Fix hashtab overflow check on 32-bit arches
CVE-2024-26883 7.8 HIGH bpf: Fix stackmap overflow check on 32-bit arches
CVE-2024-26880 7.8 HIGH dm: call the resume method on internal suspend

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-26893

No comments yet


Leave a comment