CVE-2025-38392 json
idpf: convert control queue mutex to a spinlock
published 2025-07-25 15 mo ago modified 2026-11-05 3 d ago also EUVD-2025-22611
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
idpf: convert control queue mutex to a spinlock
With VIRTCHNL2_CAP_MACFILTER enabled, the following warning is generated on module load:
[ 324.701677] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:578 [ 324.701684] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1582, name: NetworkManager [ 324.701689] preempt_count: 201, expected: 0 [ 324.701693] RCU nest depth: 0, expected: 0 [ 324.701697] 2 locks held by NetworkManager/1582: [ 324.701702] #0: ffffffff9f7be770 (rtnl_mutex){....}-{3:3}, at: rtnl_newlink+0x791/0x21e0 [ 324.701730] #1: ff1100216c380368 (_xmit_ETHER){....}-{2:2}, at: __dev_open+0x3f0/0x870 [ 324.701749] Preemption disabled at: [ 324.701752] [<ffffffff9cd23b9d>] __dev_open+0x3dd/0x870 [ 324.701765] CPU: 30 UID: 0 PID: 1582 Comm: NetworkManager Not tainted 6.15.0-rc5+ #2 PREEMPT(voluntary) [ 324.701771] Hardware name: Intel Corporation M50FCP2SBSTD/M50FCP2SBSTD, BIOS SE5C741.86B.01.01.0001.2211140926 11/14/2022 [ 324.701774] Call Trace: [ 324.701777] <TASK> [ 324.701779] dump_stack_lvl+0x5d/0x80 [ 324.701788] ? __dev_open+0x3dd/0x870 [ 324.701793] __might_resched.cold+0x1ef/0x23d <..> [ 324.701818] __mutex_lock+0x113/0x1b80 <..> [ 324.701917] idpf_ctlq_clean_sq+0xad/0x4b0 [idpf] [ 324.701935] ? kasan_save_track+0x14/0x30 [ 324.701941] idpf_mb_clean+0x143/0x380 [idpf] <..> [ 324.701991] idpf_send_mb_msg+0x111/0x720 [idpf] [ 324.702009] idpf_vc_xn_exec+0x4cc/0x990 [idpf] [ 324.702021] ? rcu_is_watching+0x12/0xc0 [ 324.702035] idpf_add_del_mac_filters+0x3ed/0xb50 [idpf] <..> [ 324.702122] __hw_addr_sync_dev+0x1cf/0x300 [ 324.702126] ? find_held_lock+0x32/0x90 [ 324.702134] idpf_set_rx_mode+0x317/0x390 [idpf] [ 324.702152] __dev_open+0x3f8/0x870 [ 324.702159] ? __pfx___dev_open+0x10/0x10 [ 324.702174] __dev_change_flags+0x443/0x650 <..> [ 324.702208] netif_change_flags+0x80/0x160 [ 324.702218] do_setlink.isra.0+0x16a0/0x3960 <..> [ 324.702349] rtnl_newlink+0x12fd/0x21e0
The sequence is as follows: rtnl_newlink()-> __dev_change_flags()-> __dev_open()-> dev_set_rx_mode() - > # disables BH and grabs "dev->addr_list_lock" idpf_set_rx_mode() -> # proceed only if VIRTCHNL2_CAP_MACFILTER is ON __dev_uc_sync() -> idpf_add_mac_filter -> idpf_add_del_mac_filters -> idpf_send_mb_msg() -> idpf_mb_clean() -> idpf_ctlq_clean_sq() # mutex_lock(cq_lock)
Fix by converting cq_lock to a spinlock. All operations under the new lock are safe except freeing the DMA memory, which may use vunmap(). Fix by requesting a contiguous physical memory for the DMA mapping.
Patch / fix
- Linux Linux 6.12.37, 6.15.6, 6.16
- linux Debian 14, Debian 13 6.12.37-1
debian advisories DEBIAN-CVE-2025-38392
- linux Ubuntu 24.04 LTS 6.8.0-100.100
- linux-aws Ubuntu 24.04 LTS 6.8.0-1046.49
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1047.50
- linux-gke Ubuntu 24.04 LTS 6.8.0-1043.48
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1044.44
- linux-azure Ubuntu 24.04 LTS 6.8.0-1046.52
- linux-gkeop Ubuntu 24.04 LTS 6.8.0-1030.33
- linux-raspi Ubuntu 24.04 LTS 6.8.0-1047.51
ubuntu advisories UBUNTU-CVE-2025-38392
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-553.75.1.el8_10
- perf RHEL 8 4.18.0-553.75.1.el8_10
- bpftool RHEL 8 4.18.0-553.75.1.el8_10
- kernel-core RHEL 8 4.18.0-553.75.1.el8_10
- kernel-tools RHEL 8 4.18.0-553.75.1.el8_10
- python3-perf RHEL 8 4.18.0-553.75.1.el8_10
- kernel-modules RHEL 8 4.18.0-553.75.1.el8_10
- kernel-zfcpdump RHEL 8 4.18.0-553.75.1.el8_10
red hat advisories RHSA-2025:17958RHSA-2025:15785RHSA-2025:15786RHSA-2025:15782RHSA-2025:15429
- kernel-rt Linux Micro 6.2 6.12.0-160000.6.1
- kernel-64kb SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1
- kernel-source SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1
- kernel-default SLES 16.0, SLE High Availability Extension 16.0, Linux Micro 6.2 +1 more 6.12.0-160000.6.1
- kernel-default-base SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1.160000.2.4
- kernel-syms SLES 16.0, Linux Micro Extras 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1
- kernel-obs-qa SLES for SAP applications 16.0, SLES 16.0 6.12.0-160000.6.1
- kernel-kvmsmall SLES for SAP applications 16.0, SLES 16.0 6.12.0-160000.6.1
suse advisories SUSE-SU-2025:21074-1SUSE-SU-2025:21139-1SUSE-SU-2026:20560-1SUSE-SU-2025:21179-1SUSE-SU-2025:03023-1SUSE-SU-2025:03011-1
- kernel-rt openSUSE Leap 16.0 6.12.0-160000.6.1
- dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-64kb openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-syms openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-source openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-default openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-kvmsmall openSUSE Leap 16.0 6.12.0-160000.6.1
opensuse advisories openSUSE-SU-2025:20081-1
- kernel-abi-stablelists AlmaLinux 10 6.12.0-55.33.1.el10_0
- kernel AlmaLinux 8 4.18.0-553.75.1.el8_10
- perf AlmaLinux 8 4.18.0-553.75.1.el8_10
- bpftool AlmaLinux 8 4.18.0-553.75.1.el8_10
- kernel-core AlmaLinux 8 4.18.0-553.75.1.el8_10
- kernel-tools AlmaLinux 8 4.18.0-553.75.1.el8_10
- python3-perf AlmaLinux 8 4.18.0-553.75.1.el8_10
- kernel-modules AlmaLinux 8 4.18.0-553.75.1.el8_10
almalinux advisories ALSA-2025:15782ALSA-2025:15785ALSA-2025:15786ALSA-2025:15429
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-38392 updated cvss 7.3
kernel: idpf: convert control queue mutex to a spinlock
-
Red Hat CodeReady Linux Builder EUS (v.9.4) libperf 5.14.0-427.94.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.94.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.94.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.94.1.el9_4, kernel-debuginfo-common-ppc64le 5.14.0-427.94.1.el9_4fixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:17958
-
Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-570.41.1.el9_6, perf 5.14.0-570.41.1.el9_6, rtla 5.14.0-570.41.1.el9_6, python3-perf 5.14.0-570.41.1.el9_6, kernel-devel-matched 5.14.0-570.41.1.el9_6, kernel-64k-devel-matched 5.14.0-570.41.1.el9_6, +7 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15429
-
Red Hat Enterprise Linux AppStream (v. 10) rv 6.12.0-55.33.1.el10_0, perf 6.12.0-55.33.1.el10_0, rtla 6.12.0-55.33.1.el10_0, python3-perf 6.12.0-55.33.1.el10_0, kernel-devel-matched 6.12.0-55.33.1.el10_0, kernel-64k-devel-matched 6.12.0-55.33.1.el10_0, +7 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15782
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) rv 5.14.0-427.94.1.el9_4, perf 5.14.0-427.94.1.el9_4, rtla 5.14.0-427.94.1.el9_4, kernel-devel-matched 5.14.0-427.94.1.el9_4, kernel-64k-devel-matched 5.14.0-427.94.1.el9_4, kernel-debug-devel-matched 5.14.0-427.94.1.el9_4, +6 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:17958
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.75.1.el8_10, kernel 4.18.0-553.75.1.el8_10, bpftool 4.18.0-553.75.1.el8_10, kernel-core 4.18.0-553.75.1.el8_10, kernel-tools 4.18.0-553.75.1.el8_10, python3-perf 4.18.0-553.75.1.el8_10, +15 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15785
-
Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-570.41.1.el9_6, kernel-64k 5.14.0-570.41.1.el9_6, kernel-core 5.14.0-570.41.1.el9_6, kernel-tools 5.14.0-570.41.1.el9_6, kernel-modules 5.14.0-570.41.1.el9_6, kernel-64k-core 5.14.0-570.41.1.el9_6, +27 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15429
-
Red Hat Enterprise Linux BaseOS (v. 10) kernel 6.12.0-55.33.1.el10_0, kernel-64k 6.12.0-55.33.1.el10_0, kernel-core 6.12.0-55.33.1.el10_0, kernel-tools 6.12.0-55.33.1.el10_0, kernel-modules 6.12.0-55.33.1.el10_0, kernel-64k-core 6.12.0-55.33.1.el10_0, +27 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15782
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool 7.3.0-427.94.1.el9_4, kernel 5.14.0-427.94.1.el9_4, kernel-64k 5.14.0-427.94.1.el9_4, kernel-core 5.14.0-427.94.1.el9_4, kernel-tools 5.14.0-427.94.1.el9_4, python3-perf 5.14.0-427.94.1.el9_4, +28 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:17958
show 12 moreshow fewer
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) libperf 5.14.0-570.41.1.el9_6, kernel-debuginfo-common-s390x 5.14.0-570.41.1.el9_6, kernel-debuginfo-common-x86_64 5.14.0-570.41.1.el9_6, kernel-debuginfo-common-aarch64 5.14.0-570.41.1.el9_6, kernel-debuginfo-common-ppc64le 5.14.0-570.41.1.el9_6fixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15429
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) libperf 6.12.0-55.33.1.el10_0, kernel-debuginfo-common-s390x 6.12.0-55.33.1.el10_0, kernel-debuginfo-common-x86_64 6.12.0-55.33.1.el10_0, kernel-debuginfo-common-aarch64 6.12.0-55.33.1.el10_0, kernel-debuginfo-common-ppc64le 6.12.0-55.33.1.el10_0fixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15782
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.75.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.75.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.75.1.el8_10fixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15785
-
Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.75.1.rt7.416.el8_10, kernel-rt-kvm 4.18.0-553.75.1.rt7.416.el8_10, kernel-rt-core 4.18.0-553.75.1.rt7.416.el8_10, kernel-rt-modules 4.18.0-553.75.1.rt7.416.el8_10, kernel-rt-debug-kvm 4.18.0-553.75.1.rt7.416.el8_10, kernel-rt-debug-core 4.18.0-553.75.1.rt7.416.el8_10, +4 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15786
-
Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-570.41.1.el9_6, kernel-rt-64k 5.14.0-570.41.1.el9_6, kernel-rt-core 5.14.0-570.41.1.el9_6, kernel-rt-modules 5.14.0-570.41.1.el9_6, kernel-rt-64k-core 5.14.0-570.41.1.el9_6, kernel-rt-debug-core 5.14.0-570.41.1.el9_6, +14 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15429
-
Red Hat Enterprise Linux Real Time (v. 10) kernel-rt 6.12.0-55.33.1.el10_0, kernel-rt-64k 6.12.0-55.33.1.el10_0, kernel-rt-core 6.12.0-55.33.1.el10_0, kernel-rt-modules 6.12.0-55.33.1.el10_0, kernel-rt-64k-core 6.12.0-55.33.1.el10_0, kernel-rt-debug-core 6.12.0-55.33.1.el10_0, +14 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15782
-
Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt 5.14.0-427.94.1.el9_4, kernel-rt-core 5.14.0-427.94.1.el9_4, kernel-rt-modules 5.14.0-427.94.1.el9_4, kernel-rt-debug-core 5.14.0-427.94.1.el9_4, kernel-rt-modules-core 5.14.0-427.94.1.el9_4, kernel-rt-debug-modules 5.14.0-427.94.1.el9_4, +4 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:17958
-
Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-570.41.1.el9_6, kernel-rt-kvm 5.14.0-570.41.1.el9_6, kernel-rt-core 5.14.0-570.41.1.el9_6, kernel-rt-modules 5.14.0-570.41.1.el9_6, kernel-rt-debug-kvm 5.14.0-570.41.1.el9_6, kernel-rt-debug-core 5.14.0-570.41.1.el9_6, +6 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15429
-
Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt 6.12.0-55.33.1.el10_0, kernel-rt-kvm 6.12.0-55.33.1.el10_0, kernel-rt-core 6.12.0-55.33.1.el10_0, kernel-rt-modules 6.12.0-55.33.1.el10_0, kernel-rt-debug-kvm 6.12.0-55.33.1.el10_0, kernel-rt-debug-core 6.12.0-55.33.1.el10_0, +6 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15782
-
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt 5.14.0-427.94.1.el9_4, kernel-rt-kvm 5.14.0-427.94.1.el9_4, kernel-rt-core 5.14.0-427.94.1.el9_4, kernel-rt-modules 5.14.0-427.94.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.94.1.el9_4, kernel-rt-debug-core 5.14.0-427.94.1.el9_4, +6 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:17958
-
Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.75.1.rt7.416.el8_10, kernel-rt-core 4.18.0-553.75.1.rt7.416.el8_10, kernel-rt-modules 4.18.0-553.75.1.rt7.416.el8_10, kernel-rt-debug-core 4.18.0-553.75.1.rt7.416.el8_10, kernel-rt-debug-modules 4.18.0-553.75.1.rt7.416.el8_10, kernel-rt-modules-extra 4.18.0-553.75.1.rt7.416.el8_10, +2 morefixed: vendor fix “To mitigate this issue, prevent module idpf from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:15786
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 d ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
Sources
- CVE List CVE-2025-38392
- NVD CVE-2025-38392
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.