CVE-2025-39773

Source
https://cve.org/CVERecord?id=CVE-2025-39773
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39773.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-39773
Downstream
Related
Published
2025-09-11T16:56:26.820Z
Modified
2026-03-20T12:43:02.799849Z
Summary
net: bridge: fix soft lockup in br_multicast_query_expired()
Details

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

net: bridge: fix soft lockup in brmulticastquery_expired()

When set multicastqueryinterval to a large value, the local variable 'time' in brmulticastsendquery() may overflow. If the time is smaller than jiffies, the timer will expire immediately, and then call modtimer() again, which creates a loop and may trigger the following soft lockup issue.

watchdog: BUG: soft lockup - CPU#1 stuck for 221s! [rbconsumer:66] CPU: 1 UID: 0 PID: 66 Comm: rbconsumer Not tainted 6.16.0+ #259 PREEMPT(none) Call Trace: <IRQ> __netdevallocskb+0x2e/0x3a0 brip6multicastallocquery+0x212/0x1b70 __brmulticastsendquery+0x376/0xac0 brmulticastsendquery+0x299/0x510 brmulticastqueryexpired.constprop.0+0x16d/0x1b0 calltimer_fn+0x3b/0x2a0 __runtimers+0x619/0x950 runtimersoftirq+0x11c/0x220 handlesoftirqs+0x18e/0x560 _irqexitrcu+0x158/0x1a0 sysvecapictimerinterrupt+0x76/0x90 </IRQ>

This issue can be reproduced with: ip link add br0 type bridge echo 1 > /sys/class/net/br0/bridge/multicastquerier echo 0xffffffffffffffff > /sys/class/net/br0/bridge/multicastquery_interval ip link set dev br0 up

The multicaststartupquery_interval can also cause this issue. Similar to the commit 99b40610956a ("net: bridge: mcast: add and enforce query interval minimum"), add check for the query interval maximum to fix this issue.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39773.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d902eee43f1951b358d7347d9165c6af21cf7b1b
Fixed
34171b9e53bd1dc264f5556579f2b04f04435c73
Fixed
43e281fde5e76a866a4d10780c35023f16c0e432
Fixed
96476b043efb86a94f2badd260f7f99c97bd5893
Fixed
bdb19cd0de739870bb3494c815138b9dc30875c4
Fixed
5bf5fce8a0c2a70d063af778fdb5b27238174cdd
Fixed
d1547bf460baec718b3398365f8de33d25c5f36f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39773.json"