CVE-2025-38150
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability has been identified and assigned CVE-2025-38150. The issue involves the afpacket subsystem where the notifier's packetdev_mc function needs to be moved out of the RCU critical section. This vulnerability was discovered through Syzkaller testing and was reported on July 3, 2025 (NVD).

Technical details

The vulnerability occurs when calling PACKETADDMEMBERSHIP on an ops-locked device, which can trigger the NETDEV_UNREGISTER notifier. This operation may require disabling promiscuous and/or allmulti mode, both of which need to acquire the netdev instance lock. The issue manifests as a sleeping function being called from an invalid context at kernel/locking/mutex.c:578. The mclist modifications (add, del, flush, unregister) are protected by the RTNL, not the RCU, while RCU only protects the sklist and its associated sks (NVD).

Impact

When triggered, this vulnerability can cause kernel locking issues due to improper handling of mutex locks in the af_packet subsystem. This could potentially lead to system instability or crashes when network device operations are performed under specific conditions (NVD).

Mitigation and workarounds

The fix involves moving the call to packetdevmc outside of the RCU critical section, as the mclist modifications are protected by RTNL rather than RCU. The delayed operation on the mclist entry remains within the RTNL (NVD).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management