octeontx2-af: cn10k: restrict VF LMTLINE sharing to its own PF
- 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 5.15.217, 6.1.184, 6.6.148, 6.12.101, 6.18.42, and 1 more
- 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
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 893ae97214c385be02f8ec097298cc48c7f0d905 · fixed in 04c014e49b9f53d58a8f94adece8a0af3ae1b85c; From 893ae97214c385be02f8ec097298cc48c7f0d905 · fixed in 6967dd944be2a71eddab3a2ae1a1a4dd9e5f8eed; From 893ae97214c385be02f8ec097298cc48c7f0d905 · fixed in e9c5b03208507dd6d58b0c23a2c60b5c2f4c1b11; From 893ae97214c385be02f8ec097298cc48c7f0d905 · fixed in 54535692bec9ef464adc714108eb19e49e38b5a2; From 893ae97214c385be02f8ec097298cc48c7f0d905 · fixed in c73b8795b45f4ad5a95120d2e9b435ea4616e08e; From 893ae97214c385be02f8ec097298cc48c7f0d905 · fixed in 59da37fee81a8d76079313348ca13c5bc90dd6ae; From 893ae97214c385be02f8ec097298cc48c7f0d905 · fixed in 8cdcf3d2caacdee7ddd363705fb4d93b0c1a0915
- Linux Linux
5.14
- KernelLinux
From 5.14.0 · fixed in 5.15.217; From 5.16.0 · fixed in 6.1.184; From 6.2.0 · fixed in 6.6.148; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.5
References 7
git.kernel.org
- stable/c/04c014e49b9f53d58a8f94adece8a0af3ae1b85c
- stable/c/6967dd944be2a71eddab3a2ae1a1a4dd9e5f8eed
- stable/c/e9c5b03208507dd6d58b0c23a2c60b5c2f4c1b11
- stable/c/54535692bec9ef464adc714108eb19e49e38b5a2
- stable/c/c73b8795b45f4ad5a95120d2e9b435ea4616e08e
- stable/c/59da37fee81a8d76079313348ca13c5bc90dd6ae
- stable/c/8cdcf3d2caacdee7ddd363705fb4d93b0c1a0915