VDB

CVE-2026-46023

CVE-2026-46023 PUBLISHED

dm mirror: fix integer overflow in create_dirty_log()

Reported by linux · Published May 27, 2026

In the Linux kernel, the following vulnerability has been resolved: dm mirror: fix integer overflow in create_dirty_log() The argument count calculation in create_dirty_log() performs `*args_used = 2 + param_count` before validating against argc. When a user provides a param_count close to UINT_MAX via the device mapper table string, this unsigned addition wraps around to a small value, causing the subsequent `argc < *args_used` check to be bypassed. The overflowed param_count is then passed as argc to dm_dirty_log_create(), where it can cause out-of-bounds reads on the argv array. Fix by comparing param_count against argc - 2 before performing the addition, following the same pattern used by parse_features() in the same file. Since argc >= 2 is already guaranteed, the subtraction is safe.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.88-119.157.amzn2023

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.10.258
amazon:2023python3-perf6.180
amazon:2023kernel6.12-tools-devel0
linuxlinux_kernel2.6.12, 2.6.12, 2.6.12
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel0
amazon:2023kernel-headers0
amazon:2023kernel-livepatch-6.1.175-219.3570
amazon:2023perf6.120
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023kernel6.120
amazon:2023kernel6.180

…and 18 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (17 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46023
vulnetix vdb fixes CVE-2026-46023

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46023/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›