PT-2026-166635

CVE-2026-142898

·

تاريخ النشر

2026-12-03

·

تاريخ التحديث

2026-12-03

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
ibmveth: step past bad RX correlators instead of spinning or oopsing
ibmveth poll() mishandles a bad RX correlator from PHYP in two ways.
If harvest fails or ibmveth rxq get buffer() returns NULL, poll breaks out without advancing the ring and restarts on the same slot forever. For an out-of-range correlator it also fires a WARN ON() and schedules a reset each pass, but the reset is queued on that CPU and never runs, and the CPU stalls RCU, so RTNL holders hang too. This dates from the first commit in Fixes:, which turned the BUG ON()s here into WARN ON() plus a reset.
The range check also accepts a correlator naming an inactive buffer pool (pools 2 and 3 by default), whose skbuff array is NULL, so the lookup dereferences NULL in softirq. Pools became inactive with the second commit in Fixes:.
Validate the correlator in one helper that also rejects a pool with no skbuff array. On a bad slot, advance the ring, count the drop in rx dropped and still schedule the reset, which rebuilds the pools. The slot has moved, so stay in the budget loop and count it in frames processed. Breaking out would complete NAPI, re-arm, and napi schedule() with budget left. When the final check finds more work, queue the NAPI and return instead of going back to restart poll: after napi complete done() the NAPI is no longer this call's, and with threaded NAPI and busy polling the kthread can already be polling it on another CPU. frames processed is below budget there, so busy poll stop() does not queue it a second time. Mask the interrupt before queueing, as ibmveth interrupt() does; masking after napi schedule() could land after that kthread has finished and unmasked, leaving RX masked with nothing scheduled.
Drop a frame whose offset + length does not fit the pool buffer: copybreak would read past the RX buffer and skb put() would BUG(). Also drop one shorter than an Ethernet header, which eth type trans() would read past. Read the correlator once per slot and use that value for the lookup, the bound and the harvest.
The base driver never checked frame bounds, and they have not been seen in the field, so they have no Fixes: tag of their own. The tags below are for the correlator hang.
The correlator comes from PHYP, and with the ring advancing a burst of bad slots would WARN once per slot (and panic with panic on warn), so use a ratelimited netdev err() instead. Also free the rx copybreak skb if harvest fails there.
Add a KUnit case for harvest advancing on errors and extend the existing cases to an inactive pool. Run against the unfixed driver, with the calls changed back to its signatures, the first fails and the others oops.
Found in review of the ibmveth multi-queue RX series (the frame bound by the Sashiko review of v2 of this series) and confirmed by code inspection and the KUnit cases above. Hitting either correlator bug needs PHYP to return a bad correlator, so neither was reproduced on hardware. Tested with KUnit on qemu pseries (ppc64le), and on a POWER10 LPAR with a ping flood and MTU changes under traffic. No kernel selftests cover ibmveth.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾