CVE & CISA-KEV Catalog

CVE-2026-46066

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: ceph: fix num_ops off-by-one when crypto allocation fails move_dirty_folio_in_page_array() may fail if the file is encrypted, the dirty folio is not the first in the batch, and it fails to allocate a bounce buffer to hold the ciphertext. When that happens, ceph_process_folio_batch() simply redirties the folio and flushes the current batch -- it can retry that folio in a future batch. However, if this failed folio is not contiguous with the last folio that did make it into the batch, then ceph_process_folio_batch() has already incremented `ceph_wbc->num_ops`; because it doesn't follow through and add the discontiguous folio to the array, ceph_submit_write() -- which expects that `ceph_wbc->num_ops` accurately reflects the number of contiguous ranges (and therefore the required number of "write extent" ops) in the writeback -- will panic the kernel: BUG_ON(ceph_wbc->op_idx + 1 != req->r_num_ops); This issue can be reproduced on affected kernels by writing to fscrypt-enabled CephFS file(s) with a 4KiB-written/4KiB-skipped/repeat pattern (total filesize should not matter) and gradually increasing the system's memory pressure until a bounce buffer allocation fails. Fix this crash by decrementing `ceph_wbc->num_ops` back to the correct value when move_dirty_folio_in_page_array() fails, but the folio already started counting a new (i.e. still-empty) extent. The defect corrected by this patch has existed since 2022 (see first `Fixes:`), but another bug blocked multi-folio encrypted writeback until recently (see second `Fixes:`). The second commit made it into 6.18.16, 6.19.6, and 7.0-rc1, unmasking the panic in those versions. This patch therefore fixes a regression (panic) introduced by cac190c7674f.

How to fix

Remediation Available
bpftool6.18Amazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
bpftool6.18-debuginfoAmazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
kernel-livepatch-6.18.30-61.116Amazon
Fixed in:1:1.0-0.amzn2023
Fixed in:1:1.0-0.amzn2023
kernel6.18Amazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
kernel6.18-debuginfoAmazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
kernel6.18-debuginfo-common-aarch64Amazon
Fixed in:1:6.18.30-61.116.amzn2023
kernel6.18-debuginfo-common-x86_64Amazon
Fixed in:1:6.18.30-61.116.amzn2023
kernel6.18-develAmazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
kernel6.18-headersAmazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
kernel6.18-modules-extraAmazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
kernel6.18-modules-extra-commonAmazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
kernel6.18-toolsAmazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
kernel6.18-tools-debuginfoAmazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
kernel6.18-tools-develAmazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
perf6.18Amazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
perf6.18-debuginfoAmazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
python3-perf6.18Amazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
python3-perf6.18-debuginfoAmazon
Fixed in:1:6.18.30-61.116.amzn2023
Fixed in:1:6.18.30-61.116.amzn2023
linuxDebian
Fixed in:7.0.4-1CVE-2026-46066
linux-hwe-7.0Ubuntu
Fixed in:7.0.0-28.28~24.04.1USN-8569-1
linux-image-7.0.0-28-genericUbuntu
Fixed in:7.0.0-28.28~24.04.1USN-8569-1
linux-image-7.0.0-28-generic-64kUbuntu
Fixed in:7.0.0-28.28~24.04.1USN-8569-1
linux-image-generic-64k-7.0Ubuntu
Fixed in:7.0.0-28.28~24.04.1USN-8569-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:7.0.0-28.28~24.04.1USN-8569-1
linux-image-generic-7.0Ubuntu
Fixed in:7.0.0-28.28~24.04.1USN-8569-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:7.0.0-28.28~24.04.1USN-8569-1
linux-image-virtual-7.0Ubuntu
Fixed in:7.0.0-28.28~24.04.1USN-8569-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:7.0.0-28.28~24.04.1USN-8569-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.12%probability of exploitation in 30 days
2ndpercentile

Low risk: more likely to be exploited than 2% of all known CVEs.

References

Related Vulnerabilities

Other CWE-193 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-3156High7.8100%KEVFix
CVE-2003-0466Critical9.878%--
CVE-2023-44444High7.856%-Fix
CVE-2021-23017High7.753%-Fix
CVE-2023-28709High7.548%-Fix
CVE-2018-8828Critical9.830%-Fix

Common questions

How do I fix CVE-2026-46066?

Published advisories record a fix for 28 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2026-46066 being actively exploited?

Not that we know of. CVE-2026-46066 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.12% is the estimated probability that it will be exploited in the next 30 days. That is higher than 2% of all scored CVEs.

How severe is CVE-2026-46066?

CVE-2026-46066 has a CVSS v3 base score of 5.5, rated moderate. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-46066 affect?

Published advisories record a fix for bpftool6.18 (Amazon), bpftool6.18-debuginfo (Amazon), kernel-livepatch-6.18.30-61.116 (Amazon), kernel6.18 (Amazon), and 24 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-46066
CVE-2026-46066 severity badge

Markdown

[![CVE-2026-46066](https://tridentstack.com/cve/badge/CVE-2026-46066.svg)](https://tridentstack.com/cve/CVE-2026-46066)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-46066"><img src="https://tridentstack.com/cve/badge/CVE-2026-46066.svg" alt="CVE-2026-46066"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-24.