From nobody Sun Dec 14 05:53:41 2025 Received: from mail-oa1-f71.google.com (mail-oa1-f71.google.com [209.85.160.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FFCF3BB4A for ; Sat, 13 Dec 2025 20:43:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.71 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765658590; cv=none; b=RHpoZwyDyCF9CRQ69sEPH/wUxwDURXvXfwMI1kXQh+mimgmxShzPJfgeQBJPG1vk/uA6JwoWU6Khd5PDpuEl3ZVpsbWzNnIp3/rd2A729EVUBOQeMSG4TY78OaSjmQZMtXixqqt0+5xc9yIScm1USz9p0RFh4hiU7y7SxB3dXAc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765658590; c=relaxed/simple; bh=J318szNHpSf/FUtryBYP8Utd12fbkBMhNpFrv6/dAKA=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=OC0KRS52sXIfcKLpZfYzfGVsfD5kOBkRRtfTT0s4ZbDNFVlmx7XYM6gCXgN+Tf9zDmWuGkhkaDk5G0CsWJEeMlHs+ONE65IXk+jC4hjEWSZ8plJc9h0zFi0+Z6lqnqfNbqs/JNR/PTvJN7NtDjgM6YSnbHoi4j9KuL5v/PTLO2A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.160.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oa1-f71.google.com with SMTP id 586e51a60fabf-3ed1786c92cso1860260fac.2 for ; Sat, 13 Dec 2025 12:43:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765658588; x=1766263388; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KmJq3mz3YHGMRp0XUBLBljmSsBvFS8u9dX97hWZ7je0=; b=nG/cRwQXw0k1ZMO/zk1xaq4+saFOz4rxRUlblvkBw4OOeWr8ETHPQaig7JrDsLyZ7S 2wA3zzIJfYI6op4n5VaTOSwlQUMhL6QR0Jr/e9hoob6Wcbmrq8O5KGbH27htrbih+jDp jxvc9qenwBxeWoWA8mLAM1uaUfeXkrCAHc/HA5fVuJAUaR1wzni27MFF3GePP1D16jZH ZN41Xby+vKaCTKAv5h9N+d6+m13jOoXNmBoAbsl7EhbFL4QCdJFcXeX9kmmb3WzT7jrI 3nVrAZ+Q1lAnvwHOJzu6Vb25agLsVAotIReEJGTDFzvY8Qgv6ogfNqwA7FsiyWNF+GqP 9HDQ== X-Gm-Message-State: AOJu0YymAmoMbHRsrbkpaFAevhTk8mAStRUvhOmjAC/6npUU1y2KZxW+ BAApXIlEK1dMn5i3WGPjKynQa/C4VEkNuwtDbbN66jU9XtACfAXjcQKGfl2FI7P8x5qkTZ5bZ6h sgQwmB7Gg/EwMbDeB3NcJbUNvOiJizqvWqT4JCcdAItoK1idmnrP2Nbu5dqY= X-Google-Smtp-Source: AGHT+IHzS/U0XNFeUR3hjtiYeFTXqyOmSZZohZd+YRCtCSMj6X+93DkyKTw19zUxIS9uI4ec6orSdBa3YwTN6vzZURVyOx5EHu2N Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:210b:b0:657:6f7c:e5de with SMTP id 006d021491bc7-65b450e84cbmr3025868eaf.5.1765658588373; Sat, 13 Dec 2025 12:43:08 -0800 (PST) Date: Sat, 13 Dec 2025 12:43:08 -0800 In-Reply-To: <000000000000708723060df6ab96@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <693dcfdc.050a0220.326d2b.0007.GAE@google.com> Subject: Forwarded: [PATCH] mac802154: test patch for security parameter handling From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com. *** Subject: [PATCH] mac802154: test patch for security parameter handling Author: katharasasikumar007@gmail.com Signed-off-by: Kathara Sasikumar #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git= master --- net/mac802154/iface.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/net/mac802154/iface.c b/net/mac802154/iface.c index 9e4631fade90..48220e645e4f 100644 --- a/net/mac802154/iface.c +++ b/net/mac802154/iface.c @@ -328,8 +328,14 @@ static int mac802154_set_header_security(struct ieee80= 2154_sub_if_data *sdata, =20 mac802154_llsec_get_params(&sdata->sec, ¶ms); =20 - if (!params.enabled && cb->secen_override && cb->secen) - return -EINVAL; + if (!cb->secen_override) { + if (!params.enabled) + return 0; + } else { + if (cb->secen && !params.enabled) + return -EINVAL; + } + if (!params.enabled || (cb->secen_override && !cb->secen) || !params.out_level) --=20 2.51.0