Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
893ae97214c385be02f8ec097298cc48c7f0d905 to < 04c014e49b9f53d58a8f94adece8a0af3ae1b85caffected893ae97214c385be02f8ec097298cc48c7f0d905 to < 6967dd944be2a71eddab3a2ae1a1a4dd9e5f8eedaffected893ae97214c385be02f8ec097298cc48c7f0d905 to < e9c5b03208507dd6d58b0c23a2c60b5c2f4c1b11affected893ae97214c385be02f8ec097298cc48c7f0d905 to < 54535692bec9ef464adc714108eb19e49e38b5a2affected893ae97214c385be02f8ec097298cc48c7f0d905 to < c73b8795b45f4ad5a95120d2e9b435ea4616e08eaffected893ae97214c385be02f8ec097298cc48c7f0d905 to < 59da37fee81a8d76079313348ca13c5bc90dd6aeaffected893ae97214c385be02f8ec097298cc48c7f0d905 to < 8cdcf3d2caacdee7ddd363705fb4d93b0c1a0915affected
Linux Linux
Default version status: affected
5.14affected0 to < 5.14unaffected5.15.217 to ≤ 5.15.*unaffected6.1.184 to ≤ 6.1.*unaffected6.6.148 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/04c014e49b9f53d58a8f94adece8a0af3ae1b85c ↗
- https://git.kernel.org/stable/c/6967dd944be2a71eddab3a2ae1a1a4dd9e5f8eed ↗
- https://git.kernel.org/stable/c/e9c5b03208507dd6d58b0c23a2c60b5c2f4c1b11 ↗
- https://git.kernel.org/stable/c/54535692bec9ef464adc714108eb19e49e38b5a2 ↗
- https://git.kernel.org/stable/c/c73b8795b45f4ad5a95120d2e9b435ea4616e08e ↗
- https://git.kernel.org/stable/c/59da37fee81a8d76079313348ca13c5bc90dd6ae ↗
- https://git.kernel.org/stable/c/8cdcf3d2caacdee7ddd363705fb4d93b0c1a0915 ↗