From nobody Sat May 30 12:51:55 2026 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gSKqb6bc1z6gMBR for ; Sat, 30 May 2026 12:51:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gSKqb68M1z3RDl for ; Sat, 30 May 2026 12:51:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780145515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=88FGYow1XD6102xfSrO0mcAtnXunek4Ye7ksgYW1QmI=; b=AvwqqN1FII0tY70S8MmzmuwpdsJ3sSbef7DEIGSaETILCaSh2UOMpzE8Seox7aGMSijOnL xN0QW9mRVVZdTHAbQB+YHen8A0lxJ7q/eBLccf0Yj7yqmIKYfMPy26YUMtgbxKZLORM04s JDLYiNgksZYEn0w3Gug1IKIGzTm0Rx6kUIoNMNNGbX8s5WNrnkF/SJnebhM5h0wURkvAwp 69LBtwJUPWwZ1cRIwtnTYoM9+g3kupMr+93iuiaGiA/uLxPvmcOdKF1FYn2SQKCDNhy6e4 hAW8kt9QIGxi29OfDsUj0/aT14KGiXeWA8BYDxackbm0brmrj7MEbcb7zCBGZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780145515; a=rsa-sha256; cv=none; b=EIAfbeIlZUGIaBDsRf4iWrmb1vwrhR6lr/mXNAuRHs2KUuxHZj3QgT1G+szWcFDPqxPAkL zrEuiF9Am6ntatdzU086lk2ycpj7ugomE6oZLOS4dAf0Y/OOSET3lVx22dAZVcxUJS3ZL4 t3J+ruj2fNbeP92KRMWh+NtQl5hGsqc6NoVXjMitk2shVXK6jwe6xdEV3bGeoTmFOwU6I8 nCuE0+lW56Xs9/wKhrHGnTNnNmGMMjo9FnKOI605gYvblbhP7+dqDoj0YEiEtBzM05UJGq qR6WFZl5RX2X6q/rBEC90fCMbwM4tKkhlU4hgCpGHWCXQ5ohtaLiBLvo9NTUAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780145515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=88FGYow1XD6102xfSrO0mcAtnXunek4Ye7ksgYW1QmI=; b=q+9g/mT8uFn826uonmvjqrY7nNVCvNUhXoBEW2Kz/6SuJZJcMkB3cHA00OJrH36TO1i92g 52bX+DKF4oUGXTEoLS7QeGGRjUOSavucwDNcODxHNbQP+xC3qHwVwB+l0w3Qthi5wV8y8v H+bAr+cbQRTAYSWID+/jRSiYagueBAf9Um8T5YAOsj0XCQYK7+gMwJ/Di0xWxxEVrPovlu SSmS121hJZt8bq1SbPoKYYfuhn0hVaYrTil9UuBrkWQ5g80YVtWg81OLm11cVRrsHBzGOP Ui2XNJU3xBIwCmlE+0ZGRN+7jiO++si2uxdWm1eaa1TqV2hwO3gn8PZA5qVkKQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4gSKqb5j1tz1KFf for ; Sat, 30 May 2026 12:51:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 64UCpt48032190 for ; Sat, 30 May 2026 12:51:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 64UCptmC032189 for bugs@FreeBSD.org; Sat, 30 May 2026 12:51:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 295521] kexec subsystem panics on invalid/malformed arguments instead of returning EINVAL Date: Sat, 30 May 2026 12:51:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kbreddy.rpbc@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295521 Bharath Reddy changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kbreddy.rpbc@gmail.com --- Comment #1 from Bharath Reddy --- Raised PR for fixing this bug - https://github.com/freebsd/freebsd-src/pull/2246 Missing sanity checks in kexec_load(2) allowed malformed arguments to trigg= er a kernel panic during syscall execution. Added NULL pointer checks, integer overflow checks for size parameters (used in segment_fits), and segment ove= rlap checks for the mem parameter. --=20 You are receiving this mail because: You are the assignee for the bug.=