CVE-2026-90085: octeontx2-af: fix NULL deref in NIX TM tree debugfs read path
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-af: fix NULL deref in NIX TM tree debugfs read path
rvudbgnixtmtreedisplay() dereferences pfvf->sqctx without checking whether the SQ context has been allocated. Reading /sys/kernel/debug/octeontx2/nix/tmtree for a NIX LF whose transmit queues are not set up triggers a kernel oops.
Guard the read path the same way rvudbgnixtmtreewrite() already does and return -EINVAL with a seqfile message when sqctx is NULL.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.113-1~deb12u1 - Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1 - Compensating control
Guard rvu_dbg_nix_tm_tree_display() against a NULL pfvf->sq_ctx before dereferencing it; when sq_ctx is NULL, return -EINVAL and report the condition through the seq_file message.
Event History
Frequently Asked Questions
Who can trigger the kernel oops?
A user or process able to read the octeontx2 NIX TM-tree debugfs file can trigger it when targeting a NIX LF whose transmit queues have not been set up.
Is a normally configured system affected?
The failure requires the octeontx2 debugfs TM-tree read path to be used and a NIX LF without allocated SQ context. Systems that do not expose or read this debugfs entry are not described as triggering the issue.
What happens if the vulnerable file is read?
The kernel dereferences a NULL sq_ctx pointer and oopses. The resolved behavior is to return -EINVAL and emit a seq_file message when sq_ctx is NULL.