Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2025-38643

HIGH · 8.8 CVSS Gepubliceerd: CWE-667

Beschrijving NL

In the Linux kernel, the following vulnerability has been resolved:

wifi: cfg80211: Add missing lock in cfg80211_check_and_end_cac()

Callers of wdev_chandef() must hold the wiphy mutex. But the worker cfg80211_propagate_cac_done_wk() never takes the lock. Which triggers the warning below with the mesh_peer_connected_dfs
test from hostapd and not (yet) released mac80211 code changes:

WARNING: CPU: 0 PID: 495 at net/wireless/chan.c:1552 wdev_chandef+0x60/0x165
Modules linked in:
CPU: 0 UID: 0 PID: 495 Comm: kworker/u4:2 Not tainted 6.14.0-rc5-wt-g03960e6f9d47 #33 13c287eeabfe1efea01c0bcc863723ab082e17cf
Workqueue: cfg80211 cfg80211_propagate_cac_done_wk
Stack:
00000000 00000001 ffffff00 6093267c
00000000 6002ec30 6d577c50 600 37608
00000000 67e8d108 6063717b 00000000
Call Trace:
[] ? _printk+0x0/0x98
[] show_stack+0x10e/0x11a
[] ? _printk+0x0/0x98
[] dump_stack_lvl+0x71/0xb8
[] ? wdev_chandef+0x60/0x165
[] dump_stack+0x1e/0x20
[] __warn+0x101/0x20f
[] warn_slowpath_fmt+0xe3/0x15d
[] ? mark_lock.part.0+0x0/0x4ec
[] ? __this_cpu_preempt_check+0x0/0x16
[] ? mark_held_locks+0x5a/0x6e
[] ? warn_slowpath_fmt+0x0/0x15d
[] ? unblock_signals+0x3a/0xe7
[] ? um_set_signals+0x2d/0x43
[] ? __this_cpu_preempt_check+0x0/0x16
[] ? lock_is_held_type+0x207/0x21f
[] wdev_chandef+0x60/0x165
[] regulatory_propagate_dfs_state+0x247/0x43f
[] ? um_set_signals+0x0/0x43
[] cfg80211_propagate_cac_done_wk+0x3a/0x4a
[] process_scheduled_works+0x3bc/0x60e
[] ? move_linked_works+0x4d/0x81
[] ? assign_work+0x0/0xaa
[] worker_thread+0x220/0x2dc
[] ? set_pf_worker+0x0/0x57
[] ? to_kthread+0x0/0x43
[] kthread+0x2d3/0x2e2
[] ? worker_thread+0x0/0x2dc
[] ? calculate_sigpending+0x0/0x56
[] new_thread_handler+0x4a/0x64
irq event stamp: 614611
hardirqs last enabled at (614621): [] __up_console_sem+0x82/0xaf
hardirqs last disabled at (614630): [] __up_console_sem+0x43/0xaf
softirqs last enabled at (614268): [] __ieee80211_wake_queue+0x933/0x985
softirqs last disabled at (614266): [] __ieee80211_wake_queue+0x643/0x985

Origineel (Engels) tonen

In the Linux kernel, the following vulnerability has been resolved:

wifi: cfg80211: Add missing lock in cfg80211_check_and_end_cac()

Callers of wdev_chandef() must hold the wiphy mutex.

But the worker cfg80211_propagate_cac_done_wk() never takes the lock.
Which triggers the warning below with the mesh_peer_connected_dfs
test from hostapd and not (yet) released mac80211 code changes:

WARNING: CPU: 0 PID: 495 at net/wireless/chan.c:1552 wdev_chandef+0x60/0x165
Modules linked in:
CPU: 0 UID: 0 PID: 495 Comm: kworker/u4:2 Not tainted 6.14.0-rc5-wt-g03960e6f9d47 #33 13c287eeabfe1efea01c0bcc863723ab082e17cf
Workqueue: cfg80211 cfg80211_propagate_cac_done_wk
Stack:
00000000 00000001 ffffff00 6093267c
00000000 6002ec30 6d577c50 60037608
00000000 67e8d108 6063717b 00000000
Call Trace:
[] ? _printk+0x0/0x98
[] show_stack+0x10e/0x11a
[] ? _printk+0x0/0x98
[] dump_stack_lvl+0x71/0xb8
[] ? wdev_chandef+0x60/0x165
[] dump_stack+0x1e/0x20
[] __warn+0x101/0x20f
[] warn_slowpath_fmt+0xe3/0x15d
[] ? mark_lock.part.0+0x0/0x4ec
[] ? __this_cpu_preempt_check+0x0/0x16
[] ? mark_held_locks+0x5a/0x6e
[] ? warn_slowpath_fmt+0x0/0x15d
[] ? unblock_signals+0x3a/0xe7
[] ? um_set_signals+0x2d/0x43
[] ? __this_cpu_preempt_check+0x0/0x16
[] ? lock_is_held_type+0x207/0x21f
[] wdev_chandef+0x60/0x165
[] regulatory_propagate_dfs_state+0x247/0x43f
[] ? um_set_signals+0x0/0x43
[] cfg80211_propagate_cac_done_wk+0x3a/0x4a
[] process_scheduled_works+0x3bc/0x60e
[] ? move_linked_works+0x4d/0x81
[] ? assign_work+0x0/0xaa
[] worker_thread+0x220/0x2dc
[] ? set_pf_worker+0x0/0x57
[] ? to_kthread+0x0/0x43
[] kthread+0x2d3/0x2e2
[] ? worker_thread+0x0/0x2dc
[] ? calculate_sigpending+0x0/0x56
[] new_thread_handler+0x4a/0x64
irq event stamp: 614611
hardirqs last enabled at (614621): [] __up_console_sem+0x82/0xaf
hardirqs last disabled at (614630): [] __up_console_sem+0x43/0xaf
softirqs last enabled at (614268): [] __ieee80211_wake_queue+0x933/0x985
softirqs last disabled at (614266): [] __ieee80211_wake_queue+0x643/0x985

Vendors

Linux

Affected products

Linux Kernel

References