Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2026-46294

Summary
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published At-08 Jun, 2026 | 15:46
Updated At-08 Jun, 2026 | 15:46
Rejected At-
Credits

dm: fix a buffer overflow in ioctl processing

In the Linux kernel, the following vulnerability has been resolved: dm: fix a buffer overflow in ioctl processing Tony Asleson (using Claude) found a buffer overflow in dm-ioctl in the function retrieve_status: 1. The code in retrieve_status checks that the output string fits into the output buffer and writes the output string there 2. Then, the code aligns the "outptr" variable to the next 8-byte boundary: outptr = align_ptr(outptr); 3. The alignment doesn't check overflow, so outptr could point past the buffer end 4. The "for" loop is iterated again, it executes: remaining = len - (outptr - outbuf); 5. If "outptr" points past "outbuf + len", the arithmetics wraps around and the variable "remaining" contains unusually high number 6. With "remaining" being high, the code writes more data past the end of the buffer Luckily, this bug has no security implications because: 1. Only root can issue device mapper ioctls 2. The commonly used libraries that communicate with device mapper (libdevmapper and devicemapper-rs) use buffer size that is aligned to 8 bytes - thus, "outptr = align_ptr(outptr)" can't overshoot the input buffer and the bug can't happen accidentally

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:Linux
Assigner Org ID:416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published At:08 Jun, 2026 | 15:46
Updated At:08 Jun, 2026 | 15:46
Rejected At:
▼CVE Numbering Authority (CNA)
dm: fix a buffer overflow in ioctl processing

In the Linux kernel, the following vulnerability has been resolved: dm: fix a buffer overflow in ioctl processing Tony Asleson (using Claude) found a buffer overflow in dm-ioctl in the function retrieve_status: 1. The code in retrieve_status checks that the output string fits into the output buffer and writes the output string there 2. Then, the code aligns the "outptr" variable to the next 8-byte boundary: outptr = align_ptr(outptr); 3. The alignment doesn't check overflow, so outptr could point past the buffer end 4. The "for" loop is iterated again, it executes: remaining = len - (outptr - outbuf); 5. If "outptr" points past "outbuf + len", the arithmetics wraps around and the variable "remaining" contains unusually high number 6. With "remaining" being high, the code writes more data past the end of the buffer Luckily, this bug has no security implications because: 1. Only root can issue device mapper ioctls 2. The commonly used libraries that communicate with device mapper (libdevmapper and devicemapper-rs) use buffer size that is aligned to 8 bytes - thus, "outptr = align_ptr(outptr)" can't overshoot the input buffer and the bug can't happen accidentally

Affected Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • drivers/md/dm-ioctl.c
Default Status
unaffected
Versions
Affected
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c8c5311237448f6ffeecc9aec2362e3692623668 (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 448ee8fb79c26a26599ffa4b2adeb4322d3d3d8c (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 526ff9126a0ae087b65726e1faf31114c718020d (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f0b0b09d9840838ae77ccdd6a62de0daef4e6e0a (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d271631023cbe1cbe7c31a0275ab797883be6e0a (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5af6a879e915ae7bcd83695c316ebb32e1c61bc2 (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8daa6c708ef524089ae43f2aed9190acb26d7df8 (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2fa49cc884f6496a915c35621ba4da35649bf159 (git)
  • From 0 before 5.10.258 (semver)
  • From 0 before 5.15.209 (semver)
  • From 0 before 6.1.175 (semver)
  • From 0 before 6.6.140 (semver)
  • From 0 before 6.12.88 (semver)
  • From 0 before 6.18.30 (semver)
  • From 0 before 7.0.7 (semver)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • drivers/md/dm-ioctl.c
Default Status
affected
Versions
Unaffected
  • From 5.10.258 through 5.10.* (semver)
  • From 5.15.209 through 5.15.* (semver)
  • From 6.1.175 through 6.1.* (semver)
  • From 6.6.140 through 6.6.* (semver)
  • From 6.12.88 through 6.12.* (semver)
  • From 6.18.30 through 6.18.* (semver)
  • From 7.0.7 through 7.0.* (semver)
  • From 7.1-rc1 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/c8c5311237448f6ffeecc9aec2362e3692623668
N/A
https://git.kernel.org/stable/c/448ee8fb79c26a26599ffa4b2adeb4322d3d3d8c
N/A
https://git.kernel.org/stable/c/526ff9126a0ae087b65726e1faf31114c718020d
N/A
https://git.kernel.org/stable/c/f0b0b09d9840838ae77ccdd6a62de0daef4e6e0a
N/A
https://git.kernel.org/stable/c/d271631023cbe1cbe7c31a0275ab797883be6e0a
N/A
https://git.kernel.org/stable/c/5af6a879e915ae7bcd83695c316ebb32e1c61bc2
N/A
https://git.kernel.org/stable/c/8daa6c708ef524089ae43f2aed9190acb26d7df8
N/A
https://git.kernel.org/stable/c/2fa49cc884f6496a915c35621ba4da35649bf159
N/A
Hyperlink: https://git.kernel.org/stable/c/c8c5311237448f6ffeecc9aec2362e3692623668
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/448ee8fb79c26a26599ffa4b2adeb4322d3d3d8c
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/526ff9126a0ae087b65726e1faf31114c718020d
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/f0b0b09d9840838ae77ccdd6a62de0daef4e6e0a
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/d271631023cbe1cbe7c31a0275ab797883be6e0a
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/5af6a879e915ae7bcd83695c316ebb32e1c61bc2
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/8daa6c708ef524089ae43f2aed9190acb26d7df8
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/2fa49cc884f6496a915c35621ba4da35649bf159
Resource: N/A
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published At:08 Jun, 2026 | 17:16
Updated At:08 Jun, 2026 | 17:16

In the Linux kernel, the following vulnerability has been resolved: dm: fix a buffer overflow in ioctl processing Tony Asleson (using Claude) found a buffer overflow in dm-ioctl in the function retrieve_status: 1. The code in retrieve_status checks that the output string fits into the output buffer and writes the output string there 2. Then, the code aligns the "outptr" variable to the next 8-byte boundary: outptr = align_ptr(outptr); 3. The alignment doesn't check overflow, so outptr could point past the buffer end 4. The "for" loop is iterated again, it executes: remaining = len - (outptr - outbuf); 5. If "outptr" points past "outbuf + len", the arithmetics wraps around and the variable "remaining" contains unusually high number 6. With "remaining" being high, the code writes more data past the end of the buffer Luckily, this bug has no security implications because: 1. Only root can issue device mapper ioctls 2. The commonly used libraries that communicate with device mapper (libdevmapper and devicemapper-rs) use buffer size that is aligned to 8 bytes - thus, "outptr = align_ptr(outptr)" can't overshoot the input buffer and the bug can't happen accidentally

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
CPE Matches

Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://git.kernel.org/stable/c/2fa49cc884f6496a915c35621ba4da35649bf159416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/448ee8fb79c26a26599ffa4b2adeb4322d3d3d8c416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/526ff9126a0ae087b65726e1faf31114c718020d416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/5af6a879e915ae7bcd83695c316ebb32e1c61bc2416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/8daa6c708ef524089ae43f2aed9190acb26d7df8416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/c8c5311237448f6ffeecc9aec2362e3692623668416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/d271631023cbe1cbe7c31a0275ab797883be6e0a416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/f0b0b09d9840838ae77ccdd6a62de0daef4e6e0a416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
Hyperlink: https://git.kernel.org/stable/c/2fa49cc884f6496a915c35621ba4da35649bf159
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/448ee8fb79c26a26599ffa4b2adeb4322d3d3d8c
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/526ff9126a0ae087b65726e1faf31114c718020d
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/5af6a879e915ae7bcd83695c316ebb32e1c61bc2
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/8daa6c708ef524089ae43f2aed9190acb26d7df8
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/c8c5311237448f6ffeecc9aec2362e3692623668
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/d271631023cbe1cbe7c31a0275ab797883be6e0a
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/f0b0b09d9840838ae77ccdd6a62de0daef4e6e0a
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found