From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f177.google.com (mail-dy1-f177.google.com [74.125.82.177]) (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 A1B36403EA5 for ; Fri, 2 Oct 2026 19:30:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790969428; cv=none; b=lZeHokSc3vPa5c6znfyYKHw2FWzQtMQOGRlUW+FO+AjfAXbIToTbovoS7p19+wVHXirBzI//Uh8wwDhf4H5C2v5gPX2ELo4Pu5C1pbXyao+m+yD7oGb+4gPtHQe07lKO8CzzbjDs7clfhqwBbxwJoy9sqG6dgpEUsuPrnaAX9Js= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790969428; c=relaxed/simple; bh=pLVNaTP9L662KDxDj0b3v3iNYRp0+xOAOWs+AVXQFYI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mfK9iYAh5BMGjZtJf+j5OXQVlC0uOyEsJBNMkirMSuuEONqB4jedU6AUJkfTc7tlOaLQk8VBcdolkRXaFCNipz7WfaYqqsiyfRs/ADAIHN/Fv5WkkJBogNKI4pE2a4m8Gq/olL2Bii9kX9AIJhs5f582JgBXtJM6REnnCbHegs4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=trailofbits.com; spf=pass smtp.mailfrom=trailofbits.com; dkim=pass (2048-bit key) header.d=trailofbits.com header.i=@trailofbits.com header.b=AypcrKKS; arc=none smtp.client-ip=74.125.82.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=trailofbits.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=trailofbits.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=trailofbits.com header.i=@trailofbits.com header.b="AypcrKKS" Received: by mail-dy1-f177.google.com with SMTP id 5a478bee46e88-33fb4680717so7068464eec.1 for ; Fri, 02 Oct 2026 12:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trailofbits.com; s=google; t=1790969425; x=1791574225; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=bp8EWYscaHenCl5GeCUCEIO11ZClZpcPuAQp7e588A4=; b=AypcrKKSdwDrZaMCBdZ5LLLGkCo6T5Q185BHhiy5AA6Xuae4D1ub8dAdecycjD1V4w sdq+HjICmovro/C+KpH/dpmoMwYBVrLqORmzBxQSZvbd7W9FNVzOBWJavnvITPvnkHQd WMxasEL+LUHdgfla3Yjmss656q1yPPFtJW+a4MMHzmSPbI+UHUSvtKWbQdlOsr1OUScl txDBKuQwXqZGbf9iABULBIJniY4Nu/UVtGUw0HnAAFevlA78Q3Q12F2iAJ1BmDX1PCI9 46LlmH8RLDMbL5Li4WTG4MLGhlQj4G9yyo19t4SI26RvP49o5DLSt4aCxPM27y7/GVdb 5YoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790969425; x=1791574225; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=bp8EWYscaHenCl5GeCUCEIO11ZClZpcPuAQp7e588A4=; b=vuYXFRQ8lfN1F6fLE5Zcf2FPYqiym60sw6/dgtI2efTJrcIO4C5mFZZbAoPkK6JKFb xz+Rbqno4RttvbzfqGGJpE9zcZp0Kq5E61Wr1Tu2597AKWLhzJH6ZkskoLI8T0nohzy5 jzCrDayTqr5r86bi3QGVU1MjUU8B8btd0KCUgUODNkjv1HHtvfd6WdJ24WZ/WxI4fcQb jYMeIggxKTAN7RfULOgY1kPBhjAgM2oTzhPnSn8nkhW+G6zuq6NwIElqv22NYpH3GvBA cThsEd0qh7qUvNZ4/ME4ZKrwxr3imaJQtShSxJsVtvbXecBx9X/09cqXU/SRqasznYow i++w== X-Forwarded-Encrypted: i=1; AKwUvByWEUtR5K92Ss5z3rThKOwCzKa8VbFw1GRXLvL4yPDk+4TbfTpobOnOELyAFtaEWVd5nmI=@vger.kernel.org X-Gm-Message-State: AFq9FYKAlR7mXFA8f46VkctvzAjuezBADo2WtBTJlqSB+Z0A5d1kPw23 mRKPZW7635cVXcyawlC8DbD7Fkh60ZQ3ACfQycpqMSiaREF0dyHp1vKC7rvlczl+X78= X-Gm-Gg: AYBFou2hO+feMw0ouhpRMH8zv084bwPqg76K94QTWtO1vaP7ih0F8BOTgQy9L+08qJM SEL9fLhzUipcfkehScg4eZvRQmoGX1aKNElRd1+WVXbTfVvORO8MvgilH0n0NXX+b8srtU5uBHj yF2JPwlVRcLBR52pZq1TSFcKz4306ce0GOgA4He26fAw7PzzYr75B2J81tVqCDIx/RlPmyvhH9+ /osO/aPVrW9jhv243OkBlqTJrwkYsMAXtnaSdBE+2ZPuHYEjFoo92irdynwTDqWHfrJZX3Ks6sX sc1b4GxNXlAz5Lcve/T2esiskE+DdjpKoZ59ICFbxz+xhnEDgNonoWH8fLRmh63p2lC/Nn4VoHN 5L26qKLt5vjJ5dkD6LeUgD9y78y5vl/Y3Wyp4Tc8nOtmjOlfkanrbL40NvZjstUQIHVYDD4m5sD GXP3ZQ4QqALqNrlaYFUDVxS03KnK1Sf/wcnDh8fILZdn0qFIGkgry/FjTeSM6qOA1+/9SfgxW22 gpAEJIhz+kgeu6sE4sdQJO3r2qQ87DfTozN495WnuVIIcKTByfhx/VfV4FkdClMUUKaqQC1 X-Received: by 2002:a05:7301:2203:b0:351:1282:3e88 with SMTP id 5a478bee46e88-351128240c1mr293459eec.20.1790969425493; Fri, 02 Oct 2026 12:30:25 -0700 (PDT) Received: from localhost.localdomain ([2603:8001:5f01:8bab:bcf9:6140:24a9:d1e7]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-34f14f660f1sm8427448eec.13.2026.10.02.12.30.23 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 02 Oct 2026 12:30:24 -0700 (PDT) From: Artem Dinaburg To: stable@vger.kernel.org Cc: Artem Dinaburg , Greg Kroah-Hartman , Sasha Levin , Kumar Kartikeya Dwivedi , Dohyun Kim , Neel Natu , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Eduard Zingerman , Emil Tsalapatis , Ihor Solodrai , netdev@vger.kernel.org, toke@redhat.com Subject: [PATCH 6.1.y 0/2] bpf: backport CVE-2024-41045 and CVE-2024-42239 fixes Date: Fri, 2 Oct 2026 15:30:15 -0400 Message-ID: <20261002193020.19392-1-artem@trailofbits.com> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Greg, Sasha, and bpf maintainers, These patches are the small, ordered backport for CVE-2024-41045 and CVE-2024-42239 on 6.1.y. The second patch depends on the first, so I kept the upstream ordering instead of folding either change into the other. The first patch is already present in 6.6.y. The 6.6.y backport of the second patch is queued (6.6.158-rc1). Both patches are already present in 6.12.y, 6.18.y, and 7.2.y. Could you please queue this series for 6.1.y? AI assistance: An LLM helped identify, adapt, and validate these backports; I reviewed the resulting code and validation evidence. Thanks, Artem Dinaburg Series: 1. bpf: Fail bpf_timer_cancel when callback is being cancelled 2. bpf: Defer work in bpf_timer_cancel_and_free