Junglewise Threat Intelligence

CVE-2026-53296: Linux Kernel use-after-free in mailbox-test driver

CVE-2026-53296 · Severity: info · CVSS 0 · Published 2026-06-26

Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's mailbox testing driver where system resources were not properly released during a failed initialization. This could lead to a 'use-after-free' condition, potentially causing system instability or a crash. While primarily affecting testing environments, it represents a flaw in how the kernel manages hardware communication channels.

Technical details

A vulnerability in `drivers/mailbox/mailbox-test.c` in the Linux kernel occurs when the `mbox_test_probe` function fails. If an error occurs after mailbox channels have been allocated (e.g., a memory allocation failure for `rx_buffer` or a `debugfs` registration failure), the driver fails to call `mbox_free_channel`. Because the underlying client structure is managed via `devm`, it is freed automatically on probe failure, but the mailbox framework may still hold references to the now-freed structure through the unreleased channels. This results in a use-after-free (UAF) condition. The fix introduces an error handling path that explicitly frees the TX and RX channels before returning.

Affected products

  • Linux Linux 4.4 to 6.13

Timeline

  • 2026-04-10: other: Patch authored
  • 2026-06-26: advisory: CVE published by NVD

References