Skip to contentSkip to conversation

CVE-2026-90085: octeontx2-af: fix NULL deref in NIX TM tree debugfs read path

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

octeontx2-af: fix NULL deref in NIX TM tree debugfs read path

rvu_dbg_nix_tm_tree_display() dereferences pfvf->sq_ctx without checking whether the SQ context has been allocated. Reading /sys/kernel/debug/octeontx2/nix/tm_tree for a NIX LF whose transmit queues are not set up triggers a kernel oops.

Guard the read path the same way rvu_dbg_nix_tm_tree_write() already does and return -EINVAL with a seq_file message when sq_ctx is NULL.

The Linux kernel CVE team has assigned CVE-2026-90085 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.11 with commit b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 and fixed in 6.12.110 with commit fb736d733b0a60377cf53010571c261886446fd5
	Issue introduced in 6.11 with commit b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 and fixed in 6.18.52 with commit 537e11a1700f64dc6754108f0e1333ad63d4f548
	Issue introduced in 6.11 with commit b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 and fixed in 7.2.6 with commit fdf7358e2688f12eff41290bc45030b7aff0845e
	Issue introduced in 6.11 with commit b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 and fixed in 7.3-rc1 with commit ec65631bd5ec251cdf67a4919fac7a3149a6e235

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-90085

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/fb736d733b0a60377cf53010571c261886446fd5
	https://git.kernel.org/stable/c/537e11a1700f64dc6754108f0e1333ad63d4f548
	https://git.kernel.org/stable/c/fdf7358e2688f12eff41290bc45030b7aff0845e
	https://git.kernel.org/stable/c/ec65631bd5ec251cdf67a4919fac7a3149a6e235