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

Published Jul 19, 2026
·
Updated

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

octeontx2-af: validate body pcifunc in rvumboxhandlerrepeventnotify

rvumboxhandlerrepeventnotify() in drivers/net/ethernet/marvell/ octeontx2/af/rvurep.c queues a sender-controlled REPEVENTNOTIFY request body verbatim, and rvurepupnotify() then forwards event->pcifunc (the nested body field, distinct from the AF-normalised header pcifunc) into rvugetpfvf(), rvugetpf() 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 otx2pfvfmboxhandler() forwards every message id including MBOXMSGREPEVENTNOTIFY to AF without an allowlist, and the AF dispatcher rewrites only msg->pcifunc, leaving struct repevent::pcifunc attacker-controlled. The sibling rvumboxhandlereswcfg() refuses requests whose header pcifunc is not rvu->reppcifunc; 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 RVUEVENTMACADDRCHANGE, turns into a six-byte attacker-chosen OOB etheraddrcopy() target inside the queued worker; KASAN reports a slab-out-of-bounds write in rvurepwqhandler.

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

Affected Software

10 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.13.0<6.18.42
6.18.42
linux/kernel>=6.19.0<7.0.12
7.0.12
Linux Linux kernel>=6.13<6.18.42
Linux Linux kernel>=6.19<7.0.12
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.42
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.0.12
  3. Upgrade

    Upgrade octeontx2-af to a version that resolves this vulnerability.

    Patch MBOX_MSG_REP_EVENT_NOTIFY
  4. Configuration

    Reject malformed REP_EVENT_NOTIFY requests at the handler entry by validating the nested body field pcifunc using the canonical PF/VF range check is_pf_func_valid() instead of open-coding the same range arithmetic.

    octeontx2/af/rvu_rep.c rvu_mbox_handler_rep_event_notify (validation) = gate on is_pf_func_valid() for body pcifunc and reject out-of-range pcifunc
  5. Configuration

    Ensure that the dispatcher/worker path validates body pcifunc before using it to index into rvu->pf[]/rvu->hwvf[]; reject if pcifunc is not valid.

    octeontx2/af/rvu_rep.c dispatcher pcifunc rewrite = avoid out-of-range pcifunc propagating into rvu->pf[]/rvu->hwvf[] indexing
  6. Configuration

    For rvu_mbox_handler_rep_event_notify and related forwarding, refuse requests whose AF->PF mailbox device index derived from pcifunc would be out of bounds; add bounds validation where rvu_mbox_handler_rep_event_notify currently lacks an equivalent gate.

    drivers/net/ethernet/marvell/ rvu_mbox_handler_esw_cfg gating = apply consistent bounds check for AF->PF mailbox device index based on header/body pcifunc validation

Event History

Jul 19, 2026
CVE Published
via MITRE·02:55 PM
Data Sourced
via MITRE·02:55 PM
DescriptionSeverity
Data Sourced
via OSV·02:55 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:17 PM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
RemedyWeaknessAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203