CVE-2024-47713

CVE-2024-47713

Medium · published October 21, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
16.6
In the wild
Unconfirmed
What it is

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

wifi: mac80211: use two-phase skb reclamation in ieee80211_do_stop()

Since '__dev_queue_xmit()' should be called with interrupts enabled,

the following backtrace:

ieee80211_do_stop()

...

spin_lock_irqsave(&local->queue_stop_reason_lock, flags)

...

ieee80211_free_txskb()

ieee80211_report_used_skb()

ieee80211_report_ack_skb()

cfg80211_mgmt_tx_status_ext()

nl80211_frame_tx_status()

genlmsg_multicast_netns()

genlmsg_multicast_netns_filtered()

nlmsg_multicast_filtered()

netlink_broadcast_filtered()

do_one_broadcast()

netlink_broadcast_deliver()

__netlink_sendskb()

netlink_deliver_tap()

__netlink_deliver_tap_skb()

dev_queue_xmit()

__dev_queue_xmit() ; with IRQS disabled

...

spin_unlock_irqrestore(&local->queue_stop_reason_lock, flags)

issues the warning (as reported by syzbot reproducer):

WARNING: CPU: 2 PID: 5128 at kernel/softirq.c:362 __local_bh_enable_ip+0xc3/0x120

Fix this by implementing a two-phase skb reclamation in

'ieee80211_do_stop()', where actual work is performed

outside of a section with interrupts disabled.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00258 · 16.6th percentile
Published
2024-10-21T16:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.32, < 5.10.2275.10.227
linux/linux_kernel≥ 5.11, < 5.15.1685.15.168
linux/linux_kernel≥ 5.16, < 6.1.1136.1.113
linux/linux_kernel≥ 6.2, < 6.6.546.6.54
linux/linux_kernel≥ 6.7, < 6.10.136.10.13
linux/linux_kernel≥ 6.11, < 6.11.26.11.2
References (13)
EPSS history
Timeline
  • 21 OCT 11:53Z
    wifi: mac80211: use two-phase skb reclamation in ieee80211_do_stop()
    cvelistv5