CVE-2025-21885

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21885
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21885.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21885
Downstream
Related
Published
2025-03-27T14:57:13Z
Modified
2025-10-10T07:21:12.649621Z
Summary
RDMA/bnxt_re: Fix the page details for the srq created by kernel consumers
Details

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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0c4dcd602817502bb3dced7a834a13ef717d65a4
Fixed
722c3db62bf60cd23acbdc8c4f445bfedae4498e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0c4dcd602817502bb3dced7a834a13ef717d65a4
Fixed
2cf8e6b52aecb8fbb71c41fe5add3212814031a2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0c4dcd602817502bb3dced7a834a13ef717d65a4
Fixed
b66535356a4834a234f99e16a97eb51f2c6c5a7d

Affected versions

v5.*

v5.10
v5.10-rc1
v5.10-rc2
v5.10-rc3
v5.10-rc4
v5.10-rc5
v5.10-rc6
v5.10-rc7
v5.11
v5.11-rc1
v5.11-rc2
v5.11-rc3
v5.11-rc4
v5.11-rc5
v5.11-rc6
v5.11-rc7
v5.12
v5.12-rc1
v5.12-rc1-dontuse
v5.12-rc2
v5.12-rc3
v5.12-rc4
v5.12-rc5
v5.12-rc6
v5.12-rc7
v5.12-rc8
v5.13
v5.13-rc1
v5.13-rc2
v5.13-rc3
v5.13-rc4
v5.13-rc5
v5.13-rc6
v5.13-rc7
v5.14
v5.14-rc1
v5.14-rc2
v5.14-rc3
v5.14-rc4
v5.14-rc5
v5.14-rc6
v5.14-rc7
v5.15
v5.15-rc1
v5.15-rc2
v5.15-rc3
v5.15-rc4
v5.15-rc5
v5.15-rc6
v5.15-rc7
v5.16
v5.16-rc1
v5.16-rc2
v5.16-rc3
v5.16-rc4
v5.16-rc5
v5.16-rc6
v5.16-rc7
v5.16-rc8
v5.17
v5.17-rc1
v5.17-rc2
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.18
v5.18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
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.5
v6.5-rc1
v6.5-rc2
v6.5-rc3
v6.5-rc4
v6.5-rc5
v6.5-rc6
v6.5-rc7
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.7.0
Fixed
6.12.18
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.6