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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-53158— misc: fastrpc: Fix NULL pointer dereference in rpmsg callback

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 5.1版本存在安全漏洞,该漏洞源于fastrpc驱动中dev_set_drvdata在spin_lock_init和idr_init之前被调用,并且rpmsg通道在驱动绑定后立即激活,导致fastrpc_rpmsg_callback触发时cctx为空指针,可能造成空指针取消引用。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.12% · P2

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux f6f9279f2bf0e37e2f1fb119d8832b8568536a04< a3d91218ccca1e990bfb737b5a6da23f0afba22b affected
f6f9279f2bf0e37e2f1fb119d8832b8568536a04< 0d8c64511fd45690c5326f013710efcb4f73a97e affected
f6f9279f2bf0e37e2f1fb119d8832b8568536a04< 150bf6f1193c69252580c19d3b3cd631ddce61d7 affected
f6f9279f2bf0e37e2f1fb119d8832b8568536a04< 8fb4a23df5b7c02929b62e5dbc270ec7c42b8134 affected
f6f9279f2bf0e37e2f1fb119d8832b8568536a04< 4bfdf0a9855df55e9e031ca6a25b855820590c70 affected
f6f9279f2bf0e37e2f1fb119d8832b8568536a04< d5de9cb5355db36438edc621dde3673e3f235767 affected
f6f9279f2bf0e37e2f1fb119d8832b8568536a04< d77583ca33299fede0c194744ef2284e7ba5b763 affected
f6f9279f2bf0e37e2f1fb119d8832b8568536a04< 5401fb4fe10fac6134c308495df18ed74aebb9c4 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53158

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
misc: fastrpc: Fix NULL pointer dereference in rpmsg callback
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Fix NULL pointer dereference in rpmsg callback A NULL pointer dereference was observed on Hawi at boot when the DSP sends a glink message before fastrpc_rpmsg_probe() has completed initialization: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000178 pc : _raw_spin_lock_irqsave+0x34/0x8c lr : fastrpc_rpmsg_callback+0x3c/0xcc [fastrpc] ... Call trace: _raw_spin_lock_irqsave+0x34/0x8c (P) fastrpc_rpmsg_callback+0x3c/0xcc [fastrpc] qcom_glink_native_rx+0x538/0x6a4 qcom_glink_smem_intr+0x14/0x24 [qcom_glink_smem] The faulting address 0x178 corresponds to the lock variable inside struct fastrpc_channel_ctx, confirming that cctx is NULL when fastrpc_rpmsg_callback() attempts to take the spinlock. There are two issues here. First, dev_set_drvdata() is called before spin_lock_init() and idr_init(), leaving a window where the callback can retrieve a valid cctx pointer but operate on an uninitialized spinlock. Second, the rpmsg channel becomes live as soon as the driver is bound, so fastrpc_rpmsg_callback() can fire before dev_set_drvdata() is called at all, resulting in dev_get_drvdata() returning NULL. Fix both issues by moving all cctx initialization ahead of dev_set_drvdata() so the structure is fully initialized before it becomes visible to the callback, and add a NULL check in fastrpc_rpmsg_callback() as a guard against any remaining window.
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 5.1版本存在安全漏洞,该漏洞源于fastrpc驱动中dev_set_drvdata在spin_lock_init和idr_init之前被调用,并且rpmsg通道在驱动绑定后立即激活,导致fastrpc_rpmsg_callback触发时cctx为空指针,可能造成空指针取消引用。
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 f6f9279f2bf0e37e2f1fb119d8832b8568536a04 ~ a3d91218ccca1e990bfb737b5a6da23f0afba22b -
Linux Linux 5.1 -

II. Public POCs for CVE-2026-53158

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-53158

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

Patches & Fixes for CVE-2026-53158 (7)

Same Patch Batch · Linux · 2026-06-25 · 146 CVEs total

CVE-2026-53247 9.8 CRITICAL net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown
CVE-2026-53215 9.8 CRITICAL net: mvpp2: refill RX buffers before XDP or skb use
CVE-2026-53216 9.8 CRITICAL net: mvpp2: limit XDP frame size to the RX buffer
CVE-2026-53246 9.8 CRITICAL sctp: validate cached peer INIT chunk length in COOKIE_ECHO processing
CVE-2026-53151 9.8 CRITICAL rxrpc: Fix the ACK parser to extract the SACK table for parsing
CVE-2026-53221 9.8 CRITICAL ip6_vti: fix incorrect tunnel matching in vti6_tnl_lookup()
CVE-2026-53260 9.8 CRITICAL tcp: Add preempt_{disable,enable}_nested() in reqsk_queue_hash_req().
CVE-2026-53175 9.8 CRITICAL inet: frags: fix use-after-free caused by the fqdir_pre_exit() flush
CVE-2026-53176 9.8 CRITICAL IB/isert: Reject login PDUs shorter than ISER_HEADERS_LEN
CVE-2026-53228 9.8 CRITICAL ipv6: sit: reload inner IPv6 header after GSO offloads
CVE-2026-53131 9.4 CRITICAL netfilter: require Ethernet MAC header before using eth_hdr()
CVE-2026-53225 9.1 CRITICAL sctp: fix uninit-value in __sctp_rcv_asconf_lookup()
CVE-2026-53224 9.1 CRITICAL sctp: validate embedded INIT chunk and address list lengths in cookie
CVE-2026-53186 9.1 CRITICAL RDMA/srp: bound SRP_RSP sense copy by the received length
CVE-2026-53240 8.8 HIGH xfrm: iptfs: fix use-after-free on first_skb in __input_process_payload
CVE-2026-53170 8.8 HIGH accel/ethosu: reject DMA commands with uninitialized length
CVE-2026-53248 8.8 HIGH net: airoha: Fix use-after-free in metadata dst teardown
CVE-2026-53200 8.8 HIGH KVM: arm64: nv: Fix handling of XN[0] when !FEAT_XNX
CVE-2026-53198 8.8 HIGH ksmbd: fix use-after-free of a deferred file_lock on double SMB2_CANCEL
CVE-2026-53188 8.8 HIGH RDMA/core: Validate the passed in fops for ib_get_ucaps()

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-53158

No comments yet


Leave a comment