Back

MEDIUM

octeontx2-pf: fix SQB pointer leak on init failure

Published Aug 15, 2026

Description

otx2_init_hw_resources() initializes SQ aura and pool resources before several later setup steps. On failure, err_free_sq_ptrs only frees SQB pages, leaving the per-SQ sqb_ptrs arrays behind.

Use otx2_free_sq_res() for the SQ unwind path and let it free sqb_ptrs even when sq->sqe has not been allocated yet.

The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1.1.

An x86_64 allyesconfig build showed no new warnings. As we do not have an OcteonTX2 PF device and the corresponding AF mailbox setup to test with, no runtime testing was able to be performed.

Affected products

Remediation

No remediation recorded yet.

Weaknesses (1)

References (14)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Aug 15, 2026
Updated Aug 23, 2026
Reserved Aug 9, 2026

CISA Vulnrichment

No data

NVD

Status Received
Modified Aug 23, 2026

Red Hat

Severity Low
Public date Aug 15, 2026
Bugzilla 2516311

ENISA EUVD

Assigner Linux
Published Aug 15, 2026
Updated Aug 23, 2026

GitHub

No data