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.
https://git.kernel.org/stable/c/fdf7358e2688f12eff41290bc45030b7aff0845e
https://git.kernel.org/stable/c/fb736d733b0a60377cf53010571c261886446fd5
https://git.kernel.org/stable/c/ec65631bd5ec251cdf67a4919fac7a3149a6e235
https://git.kernel.org/stable/c/537e11a1700f64dc6754108f0e1333ad63d4f548