Message ID | 20230516000458.254067-2-cengiz.can@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> 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=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=bmtYEiV3; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (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 4QKxMm4J1Tz20dg for <incoming@patchwork.ozlabs.org>; Tue, 16 May 2023 10:05:40 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1pyiC5-00006F-Kc; Tue, 16 May 2023 00:05:33 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <cengiz.can@canonical.com>) id 1pyiC4-00005Y-BP for kernel-team@lists.ubuntu.com; Tue, 16 May 2023 00:05:32 +0000 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.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 D4BB13F177 for <kernel-team@lists.ubuntu.com>; Tue, 16 May 2023 00:05:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1684195531; bh=MxhE0agzwEdcSp9m5zmkq8iFJJjbztW9Ndnmwfyc0uU=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=bmtYEiV3K7tadr9i5p5skmuRwBzf2mH28yjyfjmps/M1BMEN5JebloacAPQr7Xc+b zZHZHDsYYvKw2j5mAvF1X1ACg9XA/wcoyw4udHv5UUrI65Io13YQgeYxTd5awjevxz HyrdXFvGxsXFCQftMQsROcfaCucPy3qUx7RY1z+iO9/tp9eBbeW1oDlszR4UZlAsKH Zmv829KLp+0vWAGcDXAp/itkxmI0OHFpn+7m/yAu6Zj2FI1WBBoXsHJruPMSCh/PTS PrFDyt6XNAq0Zu05ViHi7gPDtaEmSGmxpsiTArpWCiNb20WLaanptk0PbjXRZMoFci FwbYbFInMtxzA== Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-3f453ff4cdfso25116135e9.2 for <kernel-team@lists.ubuntu.com>; Mon, 15 May 2023 17:05:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684195531; x=1686787531; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MxhE0agzwEdcSp9m5zmkq8iFJJjbztW9Ndnmwfyc0uU=; b=LYgXP7zyI1v+verqmJVXAV5T+HdbhwCfaSVVODVmbIdQakcAFstfvB/upuei5KbRyM yCaXuP1ttF5wk+mfAd8AbyY0U96mH6AinJRsRcMZMLSFO1XePMnDO8fs24WPoViB4tTR nKc+4+MQaBYp6JWCGlKD2wllhICeohPSoK0U1u1YFjojKPgA/kSwt3/708oPxT8gFz5d OB3wRhqG4dxc36AM1SSFn1czG5rUat/qu6HyHo04+YOprjFHRsHWKKW364+oBEXuCh6R LMfXPEpQjne14BHqMUSEyXLJ8iRAOrCErmF+UYmJLGMH1IQMEqGMzvkO4SdOB33dDx8c izeQ== X-Gm-Message-State: AC+VfDwGBVQdD2H9cDXXMJ6gMDyhOcwEdEN8XqmbcHLRYBjdhS+a9I1g VuCd5gEC7nkp+3JNeod3JrR1xE02LIv05skgkh8k6plUjUuS/AV8DUdvvq9T8BelwXHcYsNlky1 9CR5uSC6FV9pMd5y8krCCpB0Ey/G+W4WfLNsh8dNXFkcLJPs4u3Qp X-Received: by 2002:a05:600c:3782:b0:3f4:5058:a033 with SMTP id o2-20020a05600c378200b003f45058a033mr14146366wmr.24.1684195531003; Mon, 15 May 2023 17:05:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5CIDOAw0UgNtQvDqKsyPHyV9HnId8Kq+Bkuql/GtvjIdWOOess4M8DkIS19jNoYGPk/3Aslg== X-Received: by 2002:a05:600c:3782:b0:3f4:5058:a033 with SMTP id o2-20020a05600c378200b003f45058a033mr14146361wmr.24.1684195530813; Mon, 15 May 2023 17:05:30 -0700 (PDT) Received: from localhost ([82.222.124.85]) by smtp.gmail.com with ESMTPSA id u15-20020a05600c00cf00b003f4f89bc48dsm425308wmm.15.2023.05.15.17.05.30 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 17:05:30 -0700 (PDT) From: Cengiz Can <cengiz.can@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU OEM-6.0 PATCH 1/1] fs/ntfs3: Fix slab-out-of-bounds read in ntfs_trim_fs Date: Tue, 16 May 2023 03:05:00 +0300 Message-Id: <20230516000458.254067-2-cengiz.can@canonical.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516000458.254067-1-cengiz.can@canonical.com> References: <20230516000458.254067-1-cengiz.can@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
CVE-2023-26606
|
expand
|
diff --git a/fs/ntfs3/bitmap.c b/fs/ntfs3/bitmap.c index 5d44ceac855b..087282cb130b 100644 --- a/fs/ntfs3/bitmap.c +++ b/fs/ntfs3/bitmap.c @@ -1424,7 +1424,7 @@ int ntfs_trim_fs(struct ntfs_sb_info *sbi, struct fstrim_range *range) down_read_nested(&wnd->rw_lock, BITMAP_MUTEX_CLUSTERS); - for (; iw < wnd->nbits; iw++, wbit = 0) { + for (; iw < wnd->nwnd; iw++, wbit = 0) { CLST lcn_wnd = iw * wbits; struct buffer_head *bh;