octeontx2-af: fix NULL deref in NIX TM tree debugfs read path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 537e11a1700f64dc6754108f0e1333ad63d4f548, Kernel ec65631bd5ec251cdf67a4919fac7a3149a6e235, Kernel fb736d733b0a60377cf53010571c261886446fd5 and 1 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.11, >=b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 <537e11a1700f64dc6754108f0e1333ad63d4f548, >=b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 <ec65631bd5ec251cdf67a4919fac7a3149a6e235, >=b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 <fb736d733b0a60377cf53010571c261886446fd5, >=b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 <fdf7358e2688f12eff41290bc45030b7aff0845e | 537e11a1700f64dc6754108f0e1333ad63d4f548, ec65631bd5ec251cdf67a4919fac7a3149a6e235, fb736d733b0a60377cf53010571c261886446fd5, fdf7358e2688f12eff41290bc45030b7aff0845e |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket