# CVE-2026-63923: octeontx2-af: validate body pcifunc in rvu_mbox_handler_rep_event_notify

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-07-19T14:55:24.985Z
- Modified: 2026-10-27T12:58:37.250Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

octeontx2-af: validate body pcifunc in rvu_mbox_handler_rep_event_notify

rvu_mbox_handler_rep_event_notify() in drivers/net/ethernet/marvell/
octeontx2/af/rvu_rep.c queues a sender-controlled REP_EVENT_NOTIFY
request body verbatim, and rvu_rep_up_notify() then forwards
event->pcifunc (the nested body field, distinct from the
AF-normalised header pcifunc) into rvu_get_pfvf(), rvu_get_pf() and
the AF->PF mailbox device index without any bounds check.

A VF attached to a PF that has been put into switchdev
representor mode reaches this path: the VF mailbox handler
otx2_pfvf_mbox_handler() forwards every message id including
MBOX_MSG_REP_EVENT_NOTIFY to AF without an allowlist, and the AF
dispatcher rewrites only msg->pcifunc, leaving struct
rep_event::pcifunc attacker-controlled.  The sibling
rvu_mbox_handler_esw_cfg() refuses requests whose header pcifunc
is not rvu->rep_pcifunc; this handler has no equivalent gate.

An out-of-range body pcifunc selects an &rvu->pf[]/&rvu->hwvf[]
element past the allocated array and, for RVU_EVENT_MAC_ADDR_CHANGE,
turns into a six-byte attacker-chosen OOB ether_addr_copy() target
inside the queued worker; KASAN reports a slab-out-of-bounds write
in rvu_rep_wq_handler.

Reject malformed requests at the handler entry by gating on
is_pf_func_valid(), which is already the canonical PF/VF range check
in this driver; expose it via rvu.h so callers in rvu_rep.c can use
it instead of open-coding the same range arithmetic.

(As written by CVE List.)

## Affected

- Linux Linux: from b8fea84a0468404fe3b3327ad54d583950be9dec before 4467fa514482bbce82f73788943c815f3d126ab3; from b8fea84a0468404fe3b3327ad54d583950be9dec before 68be0260e2a02ff9b18a8678d5f8d1715fa20138; from b8fea84a0468404fe3b3327ad54d583950be9dec before 2156a29aecfffa2eb7c558255690084efbe9f3b0; 6.13 (not affected: before 6.13; from 6.18.42 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.13 before 6.18.42; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/4467fa514482bbce82f73788943c815f3d126ab3> (patch)
- <https://git.kernel.org/stable/c/68be0260e2a02ff9b18a8678d5f8d1715fa20138> (patch)
- <https://git.kernel.org/stable/c/2156a29aecfffa2eb7c558255690084efbe9f3b0> (patch)

## Sources

- CVE List: [CVE-2026-63923](https://www.cve.org/CVERecord?id=CVE-2026-63923), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-63923](https://nvd.nist.gov/vuln/detail/CVE-2026-63923), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-63923 · Whole record: https://cve.day/CVE-2026-63923.json · Rebuilt by cve.day 2026-11-25T22:59:28.832Z
