From patchwork Fri Jun 28 20:03:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magali Lemes X-Patchwork-Id: 1954156 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W9mb12qnHz1yhT for ; Sat, 29 Jun 2024 06:03:24 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sNHoS-0006gW-MV; Fri, 28 Jun 2024 20:03:16 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sNHoR-0006gO-G2 for kernel-team@lists.ubuntu.com; Fri, 28 Jun 2024 20:03:15 +0000 Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 301633F738 for ; Fri, 28 Jun 2024 20:03:15 +0000 (UTC) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-2c933e2426cso458590a91.2 for ; Fri, 28 Jun 2024 13:03:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719604993; x=1720209793; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eMlFF4G72Uxzn/BjHOFe1c2gL9t5lQl7H/sK1zQVUVs=; b=Cn45MSPAY9Z2pqvsXgJKx9U7xEnntPpV+FUIoXHBfR67LLG3JEumqjUO2lEmLZpgbm 3fk7AE49UAKuolNWGBKW+ktO7y5hSO5xrjzFr0bQakZFmfZWG1V01uq1LoWPPKKvX7gZ QpPmPr0oin9km6h/q4pZV3IeArPS7RAz+x0wnULm5FXvA9XDzeTSye+SEghJPgbL/lCR d10YCDz8tpLQ+gMP4vcNWJmNc6ZqPQ7twvxFLWf7UCEJn2wx3ZE8ffj5MMwgt1+xwjZ6 N6YmjM0k5+AKJNN5unz57XMQzC4NE8yTXFCRETk/W/kzAj1G35StYk8KnHBo8md0irj4 b0NQ== X-Gm-Message-State: AOJu0YzarxUgehaXBbSVulB6EGRyE7KDPtlbhfDgjO/fIZ93luE9N5Dl 50cwDlvNplCQxxWbgIEPmR/cbPN85YnW09U2zsRVgjQ2+W4IXQbhaX1o9ZeZlByLZ87RbA9m1HB ZwRL/Q70g+kRlnnc/BUPn1qqJY+jglNu/yB8D5C1b8QZIS1bZWM5XpXyKw2FEE0P/jSCalHwihm mX9trBcYHULA== X-Received: by 2002:a17:90a:c256:b0:2c3:37e7:aaa8 with SMTP id 98e67ed59e1d1-2c86143547fmr14132025a91.46.1719604992784; Fri, 28 Jun 2024 13:03:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfz4DbxmhgO3PielrTj3rH7xay8IMAiG4t2JdDSUSUfgVb8RX1ezmBl1gGs3KAHA71xZUrPw== X-Received: by 2002:a17:90a:c256:b0:2c3:37e7:aaa8 with SMTP id 98e67ed59e1d1-2c86143547fmr14132011a91.46.1719604992369; Fri, 28 Jun 2024 13:03:12 -0700 (PDT) Received: from magali.. ([2804:14c:14a:8141:6db4:643:4d34:e9cd]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c939ccb226sm45187a91.0.2024.06.28.13.03.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jun 2024 13:03:11 -0700 (PDT) From: Magali Lemes To: kernel-team@lists.ubuntu.com Subject: [SRU][F/J][PATCH 0/1] CVE-2024-26886 Date: Fri, 28 Jun 2024 17:03:05 -0300 Message-Id: <20240628200307.72936-1-magali.lemes@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" [Impact] lock_sock on bt_sock_recvmsg() from net/bluetooth/af_bluetooth.c may cause a deadlock. [Backport] Due to the lack of f4b41f062c42 ("net: remove noblock parameter from skb_recv_datagram()"), Jammy and Focal had a small context conflict. Focal also had another context conflict due to it not having b8ddc3b14c7a ("Bluetooth: fix indentation and alignment reported by checkpatch"). [Test] Compile tested. [Where problems could occur] Any issues here would direcly impact Bluetooth usage. [Other info] This is also a follow-up fix to CVE-2023-51779. Luiz Augusto von Dentz (1): Bluetooth: af_bluetooth: Fix deadlock net/bluetooth/af_bluetooth.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) Acked-by: Manuel Diewald Acked-by: Thibault Ferrante