cveboard RSS feed

CVE-2026-46031

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2026
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

net: ks8851: Reinstate disabling of BHs around IRQ handler

In the Linux kernel, the following vulnerability has been resolved: net: ks8851: Reinstate disabling of BHs around IRQ handler If the driver executes ks8851_irq() AND a TX packet has been sent, then the driver enables TX queue via netif_wake_queue() which schedules TX softirq to queue packets for this device. If CONFIG_PREEMPT_RT=y is set AND a packet has also been received by the MAC, then ks8851_rx_pkts() calls netdev_alloc_skb_ip_align() to allocate SKBs for the received packets. If netdev_alloc_skb_ip_align() is called with BH enabled, then local_bh_enable() at the end of netdev_alloc_skb_ip_align() will trigger the pending softirq processing, which may ultimately call the .xmit callback ks8851_start_xmit_par(). The ks8851_start_xmit_par() will try to lock struct ks8851_net_par .lock spinlock, which is already locked by ks8851_irq() from which ks8851_start_xmit_par() was called. This leads to a deadlock, which is reported by the kernel, including a trace listed below. If CONFIG_PREEMPT_RT is not set, then since commit 0913ec336a6c0 ("net: ks8851: Fix deadlock with the SPI chip variant") the deadlock can also be triggered without received packet in the RX FIFO. The pending softirqs will be processed on return from spin_unlock_bh(&ks->statelock) in ks8851_irq(), which triggers the deadlock as well. Fix the problem by disabling BH around critical sections, including the IRQ handler, thus preventing the net_tx_action() softirq from triggering during these critical sections. The net_tx_action() softirq is triggered once BH are re-enabled and at the end of the IRQ handler, once all the other IRQ handler actions have been completed. __schedule from schedule_rtlock+0x1c/0x34 schedule_rtlock from rtlock_slowlock_locked+0x548/0x904 rtlock_slowlock_locked from rt_spin_lock+0x60/0x9c rt_spin_lock from ks8851_start_xmit_par+0x74/0x1a8 ks8851_start_xmit_par from netdev_start_xmit+0x20/0x44 netdev_start_xmit from dev_hard_start_xmit+0xd0/0x188 dev_hard_start_xmit from sch_direct_xmit+0xb8/0x25c sch_direct_xmit from __qdisc_run+0x1f8/0x4ec __qdisc_run from qdisc_run+0x1c/0x28 qdisc_run from net_tx_action+0x1f0/0x268 net_tx_action from handle_softirqs+0x1a4/0x270 handle_softirqs from __local_bh_enable_ip+0xcc/0xe0 __local_bh_enable_ip from __alloc_skb+0xd8/0x128 __alloc_skb from __netdev_alloc_skb+0x3c/0x19c __netdev_alloc_skb from ks8851_irq+0x388/0x4d4 ks8851_irq from irq_thread_fn+0x24/0x64 irq_thread_fn from irq_thread+0x178/0x28c irq_thread from kthread+0x12c/0x138 kthread from ret_from_fork+0x14/0x28

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
8a3ff43dcbab7c96f9e8cf2bd1049ab8d6e59545affectedgit1962027a6d223f90df8b372929f9d1a8d321ad6aUnavailableNone listed
ae87f661f3c1a3134a7ed86ab69bf9f12af88993affectedgit640a7631d31db87d5fa1b34cea44a99b6e78854bUnavailableNone listed
e0863634bf9f7cf36291ebb5bfa2d16632f79c49affectedgit518040324067d8efaa2da1992297b7e7bf5640f4UnavailableNone listed
e0863634bf9f7cf36291ebb5bfa2d16632f79c49affectedgitbe8aad558b4675f45b43080f81a9ffdeddea73a5UnavailableNone listed
e0863634bf9f7cf36291ebb5bfa2d16632f79c49affectedgit21f1707a8e978558dcb11b053855521e32ac0eecUnavailableNone listed
e0863634bf9f7cf36291ebb5bfa2d16632f79c49affectedgit5c9fcac3c872224316714d0d8914d9af16c76a6dUnavailableNone listed
7e2901a2a9195da76111f351584bf77552a038f0affectedgitUnavailableUnavailableNone listed
6.1.91affectedsemver6.1.175UnavailableNone listed
6.6.31affectedsemver6.6.140UnavailableNone listed
6.8.10affectedsemver6.9UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
6.9affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver6.9UnavailableNone listed
6.1.175unaffectedsemverUnavailable6.1.*None listed
6.6.140unaffectedsemverUnavailable6.6.*None listed
6.12.86unaffectedsemverUnavailable6.12.*None listed
6.18.27unaffectedsemverUnavailable6.18.*None listed
7.0.4unaffectedsemverUnavailable7.0.*None listed
7.1unaffectedoriginal_commit_for_fixUnavailable*None listed