Bug 2569112

Summary: CVE-2026-88833 busybox: busybox: udhcpc integer underflow in DHCP packet length calculation causes denial of service [fedora-all]
Product: [Fedora] Fedora Reporter: Vladimir Vasilev <vvasilev>
Component: busyboxAssignee: Tom "spot" Callaway <spotrh>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: admiller, davide, dvlasenk, epel-packagers-sig, spotrh, suraj.ghimire7
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["d40813a4-ee31-4492-8236-865fc67b11f8"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2531347    

Description Vladimir Vasilev 2026-11-09 12:27:21 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

BusyBox udhcpc DHCP client contains an integer underflow in d4_recv_raw_packet() (networking/udhcp/dhcpc.c). In LISTEN_RAW mode the function reads raw IP/UDP packets from a PF_PACKET socket. After validating minimum captured size (line 903, >= 269 bytes), the partial-read guard at line 913 (if (bytes < ntohs(packet.ip.tot_len))) rejects only when captured bytes are less than claimed tot_len; a small attacker-controlled tot_len (e.g. 20) passes because captured bytes remain larger. At line 920, bytes is replaced with tot_len, discarding the earlier floor. No check enforces bytes >= 28 before line 977 subtracts sizeof(IP+UDP). For tot_len 0-27 the subtraction underflows; memcpy at line 979 uses the value as size_t and crashes the client (reliable DoS). Attacker must set udp.len consistent with tot_len (line 928); udp.check=0 bypasses UDP checksum (RFC 768). Upstream maintainer disputed reachability (misread line 913 as requiring tot_len >= 28). Independent static verification (2026-10-13, Kaiden/Opus) confirms the reporter: upstream inverted the comparison. Reported by Shubham Raj, Causal Security (PSIRTSUPT-23314). Affects BusyBox master and 1_38_0. No upstream fix committed.