# CVE-2026-72023: octeontx2-pf: fix SQB pointer leak on init failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-02)
- Published: 2026-08-15T05:51:48.629Z
- Modified: 2026-08-23T13:16:37.467Z
- Assigned by: Linux

## Description

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

octeontx2-pf: fix SQB pointer leak on init failure

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.

(As written by CVE List.)

## Affected

- Linux Linux: from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before fca9c22633169a6c5d429a32e439121b6419e2be; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 42c2836f10ac0427dac9e9a923d6ee2189dec544; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 2cac2eac935ed7e0a9203204e036a1f6090ebc3d; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 148d7ec0a3a98839c320e6cdd112e2e88bfb091b; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 5e023fe2569e630ba23b5558ebe4bf4837af4d16; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 5df30f05db96552903680a17f858d250dfd9e86e; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 23d917acd9c9a9fd999688ec3fdde7aa58ab8a14; from caa2da34fd25a37e9fd43343b6966fb9d730a6d5 before 62e7df6d042aeebd5efb581074e28865c04477be; 5.6 (not affected: before 5.6; from 5.10.266 up to 5.10.*; from 5.15.217 up to 5.15.*; from 6.1.184 up to 6.1.*; from 6.6.148 up to 6.6.*; from 6.12.101 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/fca9c22633169a6c5d429a32e439121b6419e2be>
- <https://git.kernel.org/stable/c/42c2836f10ac0427dac9e9a923d6ee2189dec544>
- <https://git.kernel.org/stable/c/2cac2eac935ed7e0a9203204e036a1f6090ebc3d>
- <https://git.kernel.org/stable/c/148d7ec0a3a98839c320e6cdd112e2e88bfb091b>
- <https://git.kernel.org/stable/c/5e023fe2569e630ba23b5558ebe4bf4837af4d16>
- <https://git.kernel.org/stable/c/5df30f05db96552903680a17f858d250dfd9e86e>
- <https://git.kernel.org/stable/c/23d917acd9c9a9fd999688ec3fdde7aa58ab8a14>
- <https://git.kernel.org/stable/c/62e7df6d042aeebd5efb581074e28865c04477be>

## Sources

- CVE List: [CVE-2026-72023](https://www.cve.org/CVERecord?id=CVE-2026-72023), CVE Terms of Use, modified 2026-08-23
- NVD: [CVE-2026-72023](https://nvd.nist.gov/vuln/detail/CVE-2026-72023), Public domain, modified 2026-08-23

---

Page: https://cve.day/CVE-2026-72023 · Whole record: https://cve.day/CVE-2026-72023.json · Rebuilt by cve.day 2026-11-25T22:59:32.977Z
