# CVE-2026-46289: lib/scatterlist: fix length calculations in extract_kvec_to_sg

CVE-2026-46289 is fixed in 53 products on 1 platform, first by ALAS2023-2026-1753, released May 25, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-46289
- Priority: High
- CVSS: 9.8 (Moderate)
- EPSS: 0.0046
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 25, 2026
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-46289

## Description

In the Linux kernel, the following vulnerability has been resolved:  lib/scatterlist: fix length calculations in extract_kvec_to_sg  Patch series "Fix bugs in extract_iter_to_sg()", v3.  Fix bugs in the kvec and user variants of extract_iter_to_sg.  This series is growing due to useful remarks made by sashiko.dev.  The main bugs are: - The length for an sglist entry when extracting from   a kvec can exceed the number of bytes in the page. This   is obviously not intended. - When extracting a user buffer the sglist is temporarily   used as a scratch buffer for extracted page pointers.   If the sglist already contains some elements this scratch   buffer could overlap with existing entries in the sglist.  The series adds test cases to the kunit_iov_iter test that demonstrate all of these bugs.  Additionally, there is a memory leak fix for the test itself.  The bugs were orignally introduced into kernel v6.3 where the function lived in fs/netfs/iterator.c.  It was later moved to lib/scatterlist.c in v6.5.  Thus the actual fix is only marked for backports to v6.5+.   This patch (of 5):  When extracting from a kvec to a scatterlist, do not cross page boundaries.  The required length was already calculated but not used as intended.  Adjust the copied length if the loop runs out of sglist entries without extracting everything.  While there, return immediately from extract_iter_to_sg if there are no sglist entries at all.  A subsequent commit will add kunit test cases that demonstrate that the patch is necessary.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool6.12 amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | bpftool6.12-debuginfo amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | bpftool6.18 amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | bpftool6.18-debuginfo amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | dtb-aarch64 opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-64kb opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-64kb sles 15.7 | 6.4.0-150700.53.66.1 | [SUSE-SU-2026:2800-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2800-1.md) | Jul 8, 2026 |
| Linux | kernel-64kb sles 16.0 | 6.12.0-160000.36.1 | [SUSE-SU-2026:22835-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22835-1.md) | Jul 21, 2026 |
| Linux | kernel-azure opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-azure sles 15.7 | 6.4.0-150700.53.66.1 | [SUSE-SU-2026:2800-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2800-1.md) | Jul 8, 2026 |
| Linux | kernel-azure sles 16.0 | 6.12.0-160000.36.1 | [SUSE-SU-2026:22835-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22835-1.md) | Jul 21, 2026 |
| Linux | kernel-default opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-default sles 15.6 | 6.4.0-150600.23.125.1 | [SUSE-SU-2026:3156-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3156-1.md) | Jul 21, 2026 |
| Linux | kernel-default sles 15.7 | 6.4.0-150700.53.66.1 | [SUSE-SU-2026:2800-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2800-1.md) | Jul 8, 2026 |
| Linux | kernel-default sles 16.0 | 6.12.0-160000.36.1 | [SUSE-SU-2026:22835-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22835-1.md) | Jul 21, 2026 |
| Linux | kernel-default-base opensuse-leap 16.0 | 6.12.0-160000.36.1.160000.2.17 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-default-base sles 15.6 | 6.4.0-150600.23.125.1.150600.12.58.3 | [SUSE-SU-2026:3156-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3156-1.md) | Jul 21, 2026 |
| Linux | kernel-default-base sles 15.7 | 6.4.0-150700.53.66.1.150700.17.39.1 | [SUSE-SU-2026:2800-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2800-1.md) | Jul 8, 2026 |
| Linux | kernel-default-base sles 16.0 | 6.12.0-160000.36.1.160000.2.17 | [SUSE-SU-2026:22835-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22835-1.md) | Jul 21, 2026 |
| Linux | kernel-docs opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-docs sles 15.6 | 6.4.0-150600.23.125.1 | [SUSE-SU-2026:3156-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3156-1.md) | Jul 21, 2026 |
| Linux | kernel-docs sles 15.7 | 6.4.0-150700.53.66.2 | [SUSE-SU-2026:2800-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2800-1.md) | Jul 8, 2026 |
| Linux | kernel-docs sles 16.0 | 6.12.0-160000.36.1 | [SUSE-SU-2026:22835-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22835-1.md) | Jul 21, 2026 |
| Linux | kernel-kvmsmall opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-kvmsmall sles 16.0 | 6.12.0-160000.36.1 | [SUSE-SU-2026:22835-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22835-1.md) | Jul 21, 2026 |
| Linux | kernel-livepatch-6.12.88-119.157 amzn 2023 | 1:1.0-0.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel-livepatch-6.18.30-61.116 amzn 2023 | 1:1.0-0.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | kernel-livepatch-SLE15-SP6_Update_29 sles 15.6 | 1-150600.13.7.1 | [SUSE-SU-2026:3156-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3156-1.md) | Jul 21, 2026 |
| Linux | kernel-livepatch-SLE15-SP7-RT_Update_17 sles 15.7 | 1-150700.1.3.1 | [SUSE-SU-2026:2799-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2799-1.md) | Jul 8, 2026 |
| Linux | kernel-livepatch-SLE15-SP7_Update_18 sles 15.7 | 1-150700.15.3.1 | [SUSE-SU-2026:2800-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2800-1.md) | Jul 8, 2026 |
| Linux | kernel-obs-build opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-obs-build sles 15.6 | 6.4.0-150600.23.125.1 | [SUSE-SU-2026:3156-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3156-1.md) | Jul 21, 2026 |
| Linux | kernel-obs-build sles 15.7 | 6.4.0-150700.53.66.1 | [SUSE-SU-2026:2800-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2800-1.md) | Jul 8, 2026 |
| Linux | kernel-obs-qa opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-obs-qa sles 16.0 | 6.12.0-160000.36.1 | [SUSE-SU-2026:22835-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22835-1.md) | Jul 21, 2026 |
| Linux | kernel-rt opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-source opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-source sles 15.6 | 6.4.0-150600.23.125.1 | [SUSE-SU-2026:3156-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3156-1.md) | Jul 21, 2026 |
| Linux | kernel-source sles 15.7 | 6.4.0-150700.53.66.1 | [SUSE-SU-2026:2800-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2800-1.md) | Jul 8, 2026 |
| Linux | kernel-source sles 16.0 | 6.12.0-160000.36.1 | [SUSE-SU-2026:22835-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22835-1.md) | Jul 21, 2026 |
| Linux | kernel-syms opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-syms sles 15.6 | 6.4.0-150600.23.125.1 | [SUSE-SU-2026:3156-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3156-1.md) | Jul 21, 2026 |
| Linux | kernel-syms sles 15.7 | 6.4.0-150700.53.66.1 | [SUSE-SU-2026:2800-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2800-1.md) | Jul 8, 2026 |
| Linux | kernel-syms sles 16.0 | 6.12.0-160000.36.1 | [SUSE-SU-2026:22835-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22835-1.md) | Jul 21, 2026 |
| Linux | kernel-zfcpdump opensuse-leap 16.0 | 6.12.0-160000.36.1 | [OPENSUSE-SU-2026:21388-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21388-1.md) | Jul 21, 2026 |
| Linux | kernel-zfcpdump sles 15.7 | 6.4.0-150700.53.66.1 | [SUSE-SU-2026:2800-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2800-1.md) | Jul 8, 2026 |
| Linux | kernel-zfcpdump sles 16.0 | 6.12.0-160000.36.1 | [SUSE-SU-2026:22835-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22835-1.md) | Jul 21, 2026 |
| Linux | kernel6.12 amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel6.12-debuginfo amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel6.12-debuginfo-common-aarch64 amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel6.12-debuginfo-common-x86_64 amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel6.12-devel amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel6.12-headers amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel6.12-modules-extra amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel6.12-modules-extra-common amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel6.12-tools amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel6.12-tools-debuginfo amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel6.12-tools-devel amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | kernel6.18 amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | kernel6.18-debuginfo amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | kernel6.18-debuginfo-common-aarch64 amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | kernel6.18-debuginfo-common-x86_64 amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | kernel6.18-devel amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | kernel6.18-headers amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | kernel6.18-modules-extra amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | kernel6.18-modules-extra-common amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | kernel6.18-tools amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | kernel6.18-tools-debuginfo amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | kernel6.18-tools-devel amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | linux Debian 13.5 (trixie) | 6.12.88-1 | [DEBIAN-CVE-2026-46289](https://patchblox.com/security/data/fix/linux/debian-cve-2026-46289.md) | Jun 24, 2026 |
| Linux | linux Debian 14 | 7.0.7-1 | [DEBIAN-CVE-2026-46289](https://patchblox.com/security/data/fix/linux/debian-cve-2026-46289.md) | Jun 24, 2026 |
| Linux | perf6.12 amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | perf6.12-debuginfo amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | perf6.18 amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | perf6.18-debuginfo amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | python3-perf6.12 amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | python3-perf6.12-debuginfo amzn 2023 | 1:6.12.88-119.157.amzn2023 | [ALAS2023-2026-1753](https://patchblox.com/security/data/fix/linux/alas2023-2026-1753.md) | May 25, 2026 |
| Linux | python3-perf6.18 amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |
| Linux | python3-perf6.18-debuginfo amzn 2023 | 1:6.18.30-61.116.amzn2023 | [ALAS2023-2026-1754](https://patchblox.com/security/data/fix/linux/alas2023-2026-1754.md) | May 25, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
