{"id":"CVE-2026-63923","revision":"75987a5ae50e4a8d918be8f943524fbf","records":[{"revision":"75987a5ae50e4a8d918be8f943524fbf","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-63923","aliases":[],"title":"octeontx2-af: validate body pcifunc in rvu_mbox_handler_rep_event_notify","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2-af: validate body pcifunc in rvu_mbox_handler_rep_event_notify\n\nrvu_mbox_handler_rep_event_notify() in drivers/net/ethernet/marvell/\nocteontx2/af/rvu_rep.c queues a sender-controlled REP_EVENT_NOTIFY\nrequest body verbatim, and rvu_rep_up_notify() then forwards\nevent->pcifunc (the nested body field, distinct from the\nAF-normalised header pcifunc) into rvu_get_pfvf(), rvu_get_pf() and\nthe AF->PF mailbox device index without any bounds check.\n\nA VF attached to a PF that has been put into switchdev\nrepresentor mode reaches this path: the VF mailbox handler\notx2_pfvf_mbox_handler() forwards every message id including\nMBOX_MSG_REP_EVENT_NOTIFY to AF without an allowlist, and the AF\ndispatcher rewrites only msg->pcifunc, leaving struct\nrep_event::pcifunc attacker-controlled.  The sibling\nrvu_mbox_handler_esw_cfg() refuses requests whose header pcifunc\nis not rvu->rep_pcifunc; this handler has no equivalent gate.\n\nAn out-of-range body pcifunc selects an &rvu->pf[]/&rvu->hwvf[]\nelement past the allocated array and, for RVU_EVENT_MAC_ADDR_CHANGE,\nturns into a six-byte attacker-chosen OOB ether_addr_copy() target\ninside the queued worker; KASAN reports a slab-out-of-bounds write\nin rvu_rep_wq_handler.\n\nReject malformed requests at the handler entry by gating on\nis_pf_func_valid(), which is already the canonical PF/VF range check\nin this driver; expose it via rvu.h so callers in rvu_rep.c can use\nit instead of open-coding the same range arithmetic.","state":0,"publishedAt":"2026-07-19T14:55:24.985+00:00","modifiedAt":"2026-10-19T20:17:56.756+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/marvell/octeontx2/af/rvu.c\",\n                        \"drivers/net/ethernet/marvell/octeontx2/af/rvu.h\",\n                        \"drivers/net/ethernet/marvell/octeontx2/af/rvu_rep.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"b8fea84a0468404fe3b3327ad54d583950be9dec\",\n                            \"lessThan\": \"4467fa514482bbce82f73788943c815f3d126ab3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b8fea84a0468404fe3b3327ad54d583950be9dec\",\n                            \"lessThan\": \"68be0260e2a02ff9b18a8678d5f8d1715fa20138\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b8fea84a0468404fe3b3327ad54d583950be9dec\",\n                            \"lessThan\": \"2156a29aecfffa2eb7c558255690084efbe9f3b0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/marvell/octeontx2/af/rvu.c\",\n                        \"drivers/net/ethernet/marvell/octeontx2/af/rvu.h\",\n                        \"drivers/net/ethernet/marvell/octeontx2/af/rvu_rep.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.13\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.13\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.42\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.0.12\",\n                            \"lessThanOrEqual\": \"7.0.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/4467fa514482bbce82f73788943c815f3d126ab3","https://git.kernel.org/stable/c/68be0260e2a02ff9b18a8678d5f8d1715fa20138","https://git.kernel.org/stable/c/2156a29aecfffa2eb7c558255690084efbe9f3b0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-63923","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-63923","identifiers":["CVE-2026-63923"]},"retained":false,"historicalAffected":[]}],"coverage":[]}