Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7E59377EC5 for ; Thu, 28 May 2026 09:37:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961065; cv=none; b=m4RN/dvWh4d3zj+cLqlwfENHEhnGhSuHP/yKv4lW/yDoeJtm54anNRWN5VQcEmdyoH2z2TGV/jpX3Hd8qVMGCupUY077Xp2ySsu1ambtA3FT4FTNdsyFZ5+rRoWhOMzstX8n3EKkpQ5RdpmXM8+S9NiZkomwud7Y2cto4NcjdIo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961065; c=relaxed/simple; bh=h5uU1AT7+M1FDO9okULJXR0ltXQVNhhWoBIbcv7h7YY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=o6CeDd+BbB0gXjssHyFcGvqt/b2m/VO4ysUeTdaJrt/SWlqzaUGv443Ra9VsDunYUXVaIz1Hms36Q0mT6TkjxDQIjlLOtoQJftNZLqn5yn1LO0yoVaCxJtSpu6aOOCEJ43o+uutmlG/0jYaEz8sOBNwLJ7X+e9AyxZvue4fpwjE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=z6OqonJN; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="z6OqonJN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E79231F00A3A; Thu, 28 May 2026 09:37:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961063; bh=pZn7iVbNomj/dqGSWw9ZMTQzRw+/IEHQIIlWsKIpe3Q=; h=From:To:Cc:Subject:Date:Reply-To; b=z6OqonJNDMLzk25fDUtRrNJm2sLzHAyCPcklru9IetrFYOGBWj+Xv1/yCR1spBjpr k5PzqTXVJ0g7lzCK/eJiHekl8lUbJV6Svc+mFF1aoWLVEeL69wjoBPeZG29WQnF+7p eLKD8p6I2T653yEzlqnMOu0J1k0DN8jA9/Lfkfhg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46115: block: add pgmap check to biovec_phys_mergeable Date: Thu, 28 May 2026 11:36:20 +0200 Message-ID: <2026052813-CVE-2026-46115-6be3@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3280; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oCbH53CGjCLRn3TajhmI6XvNst6lby5z5u/SH4WOeHQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPH2ae1Vagvk911i97ApZ1tanG3z5XZL/rt6FT0xcr iqxfX7UEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNpU2KYX/FgjrlCgU31kdsP ozk9ZyXWPNT3Ypin9X3u3xPfUwuuTX8tHc8g2Mp/Uv4vAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: block: add pgmap check to biovec_phys_mergeable biovec_phys_mergeable() is used by the request merge, DMA mapping, and integrity merge paths to decide if two physically contiguous bvec segments can be coalesced into one. It currently has no check for whether the segments belong to different dev_pagemaps. When zone device memory is registered in multiple chunks, each chunk gets its own dev_pagemap. A single bio can legitimately contain bvecs from different pgmaps -- iov_iter_extract_bvecs() breaks at pgmap boundaries but the outer loop in bio_iov_iter_get_pages() continues filling the same bio. If such bvecs are physically contiguous, biovec_phys_mergeable() will coalesce them, making it impossible to recover the correct pgmap for the merged segment via page_pgmap(). Add a zone_device_pages_have_same_pgmap() check to prevent merging bvec segments that span different pgmaps. The Linux kernel CVE team has assigned CVE-2026-46115 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 49580e690755d0e51ed7aa2c33225dd884fa738a and fixed in 6.6.140 with commit 3d2ecbd444b01d6500671d1a582b7393943cf539 Issue introduced in 6.2 with commit 49580e690755d0e51ed7aa2c33225dd884fa738a and fixed in 6.12.88 with commit a7f3aa8c9df3905fe820ae36b67ba56b81587574 Issue introduced in 6.2 with commit 49580e690755d0e51ed7aa2c33225dd884fa738a and fixed in 6.18.30 with commit f17d521075325b8afc42d1baa1c28a5e9aca111f Issue introduced in 6.2 with commit 49580e690755d0e51ed7aa2c33225dd884fa738a and fixed in 7.0.7 with commit f632dab4b841554cd6416058c61886d7db176581 Issue introduced in 6.2 with commit 49580e690755d0e51ed7aa2c33225dd884fa738a and fixed in 7.1-rc1 with commit 13920e4b7b784b40cf4519ff1f0f3e513476a499 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-46115 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: block/blk.h Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/3d2ecbd444b01d6500671d1a582b7393943cf539 https://git.kernel.org/stable/c/a7f3aa8c9df3905fe820ae36b67ba56b81587574 https://git.kernel.org/stable/c/f17d521075325b8afc42d1baa1c28a5e9aca111f https://git.kernel.org/stable/c/f632dab4b841554cd6416058c61886d7db176581 https://git.kernel.org/stable/c/13920e4b7b784b40cf4519ff1f0f3e513476a499