Description
In the Linux kernel, the following vulnerability has been resolved:

ieee802154: ca8210: fix pointer truncation in kfifo on 64-bit

ca8210_test_int_driver_write() and ca8210_test_int_user_read() exchange
a kmalloc'd buffer pointer through a struct kfifo, but pass a literal
'4' as the byte count to kfifo_in()/kfifo_out().

This is correct on 32-bit (pointer = 4 bytes), but on 64-bit only the
low 4 bytes of the 8-byte pointer are written into the FIFO. The reader
then reads back 4 bytes into an 8-byte local pointer variable, leaving
the upper 4 bytes uninitialized stack data. The first dereference of
the reconstructed pointer (fifo_buffer[1]) accesses an arbitrary kernel
address and generally results in an oops.

Use sizeof(fifo_buffer) so the byte count matches pointer width on every
architecture.

The driver has no architecture restriction in Kconfig, so any 64-bit
build with CONFIG_IEEE802154_CA8210_DEBUGFS=y is exposed. Issue has
been latent since the driver was added in 2017 because it is most
commonly deployed on 32-bit MCUs.

Found via a custom Coccinelle semantic patch hunting for short-byte
kfifo I/O on byte-mode kfifos used to shuttle pointers.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A bug in the Linux kernel’s IEEE 802.15.4 ca8210 driver causes a pointer truncation when data is written to and read from a kernel FIFO on 64‑bit architectures. The driver writes only the low 4 bytes of a 64‑bit pointer, then reads those 4 bytes into an 8‑byte variable, leaving the upper half uninitialized. When that partially constructed pointer is dereferenced, the kernel accesses a random kernel address, normally triggering an oops. Based on the description, the likely impact is kernel memory corruption that may lead to a system crash, representing a denial‑of‑service condition.

Affected Systems

The vulnerability affects the Linux kernel on any 64‑bit build that has the ca8210 driver compiled with CONFIG_IEEE802154_CA8210_DEBUGFS=y. The driver was added in 2017 and has no architecture restrictions in the Kconfig, so every 64‑bit kernel that exposes the debugfs interface for this driver is vulnerable. No specific kernel release is listed, so administrators should treat all current releases as potentially impacted until the patch is applied.

Risk and Exploitability

The CVSS score is 5.5, and the EPSS score is <1%. The exploit requires the attacker to have write access to the debugfs interface of the ca8210 driver and to be able to supply a specially crafted write. This limits the attack surface to local users or compromised processes with debugfs permissions. The likely attack vector is local via the debugfs interface; this inference is based on the description. The result of exploitation is a kernel oops leading to a system crash, which is a form of denial of service. The vulnerability is not listed in CISA’s KEV catalog, but given its nature it should be treated as high risk until mitigated.

Generated by OpenCVE AI on August 18, 2026 at 02:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that restores the correct byte count by using sizeof(fifo_buffer) when calling kfifo_in()/kfifo_out()
  • If the ca8210 driver’s debugfs interface is not required, disable CONFIG_IEEE802154_CA8210_DEBUGFS in kernel configuration to remove the code path
  • After applying the patch or changing the configuration, reload the driver or reboot the system to ensure the changes take effect

Generated by OpenCVE AI on August 18, 2026 at 02:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 15 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ieee802154: ca8210: fix pointer truncation in kfifo on 64-bit ca8210_test_int_driver_write() and ca8210_test_int_user_read() exchange a kmalloc'd buffer pointer through a struct kfifo, but pass a literal '4' as the byte count to kfifo_in()/kfifo_out(). This is correct on 32-bit (pointer = 4 bytes), but on 64-bit only the low 4 bytes of the 8-byte pointer are written into the FIFO. The reader then reads back 4 bytes into an 8-byte local pointer variable, leaving the upper 4 bytes uninitialized stack data. The first dereference of the reconstructed pointer (fifo_buffer[1]) accesses an arbitrary kernel address and generally results in an oops. Use sizeof(fifo_buffer) so the byte count matches pointer width on every architecture. The driver has no architecture restriction in Kconfig, so any 64-bit build with CONFIG_IEEE802154_CA8210_DEBUGFS=y is exposed. Issue has been latent since the driver was added in 2017 because it is most commonly deployed on 32-bit MCUs. Found via a custom Coccinelle semantic patch hunting for short-byte kfifo I/O on byte-mode kfifos used to shuttle pointers.
Title ieee802154: ca8210: fix pointer truncation in kfifo on 64-bit
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:07:12.985Z

Reserved: 2026-08-09T03:40:39.902Z

Link: CVE-2026-72047

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:13.933

Modified: 2026-08-17T06:18:02.747

Link: CVE-2026-72047

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72047 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T02:15:04Z

Weaknesses
  • CWE-665

    Improper Initialization

  • CWE-824

    Access of Uninitialized Pointer