In the Linux kernel, the following vulnerability has been resolved:
RDMA/bnxt_re: Fix the page details for the srq created by kernel consumers
While using nvme target with use_srq on, below kernel panic is noticed.
[ 549.698111] bnxten 0000:41:00.0 enp65s0np0: FEC autoneg off encoding: Clause 91 RS(544,514) [ 566.393619] Oops: divide error: 0000 [#1] PREEMPT SMP NOPTI .. [ 566.393799] <TASK> [ 566.393807] ? _diebody+0x1a/0x60 [ 566.393823] ? die+0x38/0x60 [ 566.393835] ? dotrap+0xe4/0x110 [ 566.393847] ? bnxtqpliballocinithwq+0x1d4/0x580 [bnxtre] [ 566.393867] ? bnxtqpliballocinithwq+0x1d4/0x580 [bnxtre] [ 566.393881] ? doerrortrap+0x7c/0x120 [ 566.393890] ? bnxtqpliballocinithwq+0x1d4/0x580 [bnxtre] [ 566.393911] ? excdivideerror+0x34/0x50 [ 566.393923] ? bnxtqpliballocinithwq+0x1d4/0x580 [bnxtre] [ 566.393939] ? asmexcdivideerror+0x16/0x20 [ 566.393966] ? bnxtqpliballocinithwq+0x1d4/0x580 [bnxtre] [ 566.393997] bnxtqplibcreatesrq+0xc9/0x340 [bnxtre] [ 566.394040] bnxtrecreatesrq+0x335/0x3b0 [bnxtre] [ 566.394057] ? srsoreturnthunk+0x5/0x5f [ 566.394068] ? _initswaitqueuehead+0x4a/0x60 [ 566.394090] ibcreatesrquser+0xa7/0x150 [ibcore] [ 566.394147] nvmetrdmaqueueconnect+0x7d0/0xbe0 [nvmetrdma] [ 566.394174] ? lockrelease+0x22c/0x3f0 [ 566.394187] ? srsoreturn_thunk+0x5/0x5f
Page size and shift info is set only for the user space SRQs. Set page size and page shift for kernel space SRQs also.
[
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"235452987793309247222430743365588929679",
"306656478356578094103225948346236111666",
"44172931969474540477007248425003180484",
"283950188811375516718737117826137026482"
],
"threshold": 0.9
},
"id": "CVE-2025-21885-3cf37c26",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2cf8e6b52aecb8fbb71c41fe5add3212814031a2",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/bnxt_re/ib_verbs.c"
}
},
{
"signature_type": "Function",
"digest": {
"length": 2373.0,
"function_hash": "293586468712469465721756626229498151162"
},
"id": "CVE-2025-21885-7cd704c9",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@722c3db62bf60cd23acbdc8c4f445bfedae4498e",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/bnxt_re/ib_verbs.c",
"function": "bnxt_re_create_srq"
}
},
{
"signature_type": "Function",
"digest": {
"length": 2373.0,
"function_hash": "293586468712469465721756626229498151162"
},
"id": "CVE-2025-21885-7e4aecd3",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2cf8e6b52aecb8fbb71c41fe5add3212814031a2",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/bnxt_re/ib_verbs.c",
"function": "bnxt_re_create_srq"
}
},
{
"signature_type": "Function",
"digest": {
"length": 2373.0,
"function_hash": "293586468712469465721756626229498151162"
},
"id": "CVE-2025-21885-906e69aa",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b66535356a4834a234f99e16a97eb51f2c6c5a7d",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/bnxt_re/ib_verbs.c",
"function": "bnxt_re_create_srq"
}
},
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"235452987793309247222430743365588929679",
"306656478356578094103225948346236111666",
"44172931969474540477007248425003180484",
"283950188811375516718737117826137026482"
],
"threshold": 0.9
},
"id": "CVE-2025-21885-97448dc6",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@722c3db62bf60cd23acbdc8c4f445bfedae4498e",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/bnxt_re/ib_verbs.c"
}
},
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"235452987793309247222430743365588929679",
"306656478356578094103225948346236111666",
"44172931969474540477007248425003180484",
"283950188811375516718737117826137026482"
],
"threshold": 0.9
},
"id": "CVE-2025-21885-c8ef2de8",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b66535356a4834a234f99e16a97eb51f2c6c5a7d",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/bnxt_re/ib_verbs.c"
}
}
]