GHSA-5wx6-43ww-fw3munknown
In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: fix NULL deref...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-pf: fix NULL deref of af_xdp_zc_qidx on rep setup
af_xdp_zc_qidx tracks receive queues using AF_XDP zero-copy and is allocated during PF/VF probe. Representors and other non-AF_XDP paths leave the pointer NULL, but several call sites used test_bit() on it unconditionally.
Switching to devlink eswitch mode creates representors and runs otx2_init_hw_resources(), which reaches otx2_pool_aq_init() and oopses when dereferencing the NULL bitmap. Add NULL checks before every af_xdp_zc_qidx test_bit() use in the RSS, ethtool, XSK, and pool init paths.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-90080
- https://git.kernel.org/stable/c/7e33c6bd049b532d2ec4916895ef07e538bed905
- https://git.kernel.org/stable/c/b003d5b4e46ca5033859db601e12d36da24d0e40
- https://git.kernel.org/stable/c/b09a0503c755b6609fad59a84cc7f05b6843a03c
- https://github.com/advisories/GHSA-5wx6-43ww-fw3m