Linux
octeontx2-af: cn10k: restrict VF LMTLINE sharing to its own PF
In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: cn10k: restrict VF LMTLINE sharing to its own PF rvu_mbox_handler_lmtst_tbl_setup() uses req->base_pcifunc as a direct index into the LMT map table to read another function's LMTLINE physical base address and copy it into the caller's own LMT map table entry. The mailbox dispatcher authenticates req->hdr.pcifunc from the IRQ source, but req->base_pcifunc is a separate payload field and is not sanitized. Reject the request with -EPERM when a VF caller's base_pcifunc is not a valid function under its own PF. is_pf_func_valid() bounds the FUNC field to the PF's configured VF count, keeping the computed index inside the caller's own slot block.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 893ae97214c385be02f8ec097298cc48c7f0d905, < 04c014e49b9f53d58a8f94adece8a0af3ae1b85c
- >= 893ae97214c385be02f8ec097298cc48c7f0d905, < 6967dd944be2a71eddab3a2ae1a1a4dd9e5f8eed
- >= 893ae97214c385be02f8ec097298cc48c7f0d905, < e9c5b03208507dd6d58b0c23a2c60b5c2f4c1b11
- >= 893ae97214c385be02f8ec097298cc48c7f0d905, < 54535692bec9ef464adc714108eb19e49e38b5a2
- >= 893ae97214c385be02f8ec097298cc48c7f0d905, < c73b8795b45f4ad5a95120d2e9b435ea4616e08e
- >= 893ae97214c385be02f8ec097298cc48c7f0d905, < 59da37fee81a8d76079313348ca13c5bc90dd6ae
- >= 893ae97214c385be02f8ec097298cc48c7f0d905, < 8cdcf3d2caacdee7ddd363705fb4d93b0c1a0915
Fixed in 04c014e49b9f53d58a8f94adece8a0af3ae1b85c, 6967dd944be2a71eddab3a2ae1a1a4dd9e5f8eed, e9c5b03208507dd6d58b0c23a2c60b5c2f4c1b11, 54535692bec9ef464adc714108eb19e49e38b5a2, c73b8795b45f4ad5a95120d2e9b435ea4616e08e, 59da37fee81a8d76079313348ca13c5bc90dd6ae, 8cdcf3d2caacdee7ddd363705fb4d93b0c1a0915
- 5.14
Fixed in 0, 5.15.217, 6.1.184, 6.6.148, 6.12.101, 6.18.42, 7.1.5, 7.2
Mitigation
Upgrade Linux to 04c014e49b9f53d58a8f94adece8a0af3ae1b85c or 6967dd944be2a71eddab3a2ae1a1a4dd9e5f8eed or e9c5b03208507dd6d58b0c23a2c60b5c2f4c1b11 or 54535692bec9ef464adc714108eb19e49e38b5a2 or c73b8795b45f4ad5a95120d2e9b435ea4616e08e or 59da37fee81a8d76079313348ca13c5bc90dd6ae or 8cdcf3d2caacdee7ddd363705fb4d93b0c1a0915 or later.
Upgrade Linux to 0 or 5.15.217 or 6.1.184 or 6.6.148 or 6.12.101 or 6.18.42 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.