octeontx2-af: fix NULL deref in NIX TM tree debugfs read path
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 · fixed in fb736d733b0a60377cf53010571c261886446fd5; From b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 · fixed in 537e11a1700f64dc6754108f0e1333ad63d4f548; From b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 · fixed in fdf7358e2688f12eff41290bc45030b7aff0845e; From b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 · fixed in ec65631bd5ec251cdf67a4919fac7a3149a6e235
- Linux Linux
6.11
- KernelLinux
From 6.11.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6