CVE-2022-49321

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49321
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49321.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49321
Related
Published
2025-02-26T07:01:08Z
Modified
2025-03-13T22:49:43.940607Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

xprtrdma: treat all calls not a bcall when bc_serv is NULL

When a rdma server returns a fault format reply, nfs v3 client may treats it as a bcall when bc service is not exist.

The debug message at rpcrdmabcreceive_call are,

[56579.837169] RPC: rpcrdmabcreceivecall: callback XID 00000001, length=20 [56579.837174] RPC: rpcrdmabcreceivecall: 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04

After that, rpcrdmabcreceive_call will meets NULL pointer as,

[ 226.057890] BUG: unable to handle kernel NULL pointer dereference at 00000000000000c8 ... [ 226.058704] RIP: 0010:rawspinlock+0xc/0x20 ... [ 226.059732] Call Trace: [ 226.059878] rpcrdmabcreceivecall+0x138/0x327 [rpcrdma] [ 226.060011] _ibprocesscq+0x89/0x170 [ibcore] [ 226.060092] ibcqpollwork+0x26/0x80 [ibcore] [ 226.060257] processonework+0x1a7/0x360 [ 226.060367] ? createworker+0x1a0/0x1a0 [ 226.060440] workerthread+0x30/0x390 [ 226.060500] ? createworker+0x1a0/0x1a0 [ 226.060574] kthread+0x116/0x130 [ 226.060661] ? kthreadflushworkfn+0x10/0x10 [ 226.060724] retfromfork+0x35/0x40 ...

References

Affected packages

Debian:11 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.127-1

Affected versions

5.*

5.10.46-4
5.10.46-5
5.10.70-1~bpo10+1
5.10.70-1
5.10.84-1
5.10.92-1~bpo10+1
5.10.92-1
5.10.92-2
5.10.103-1~bpo10+1
5.10.103-1
5.10.106-1
5.10.113-1
5.10.120-1~bpo10+1
5.10.120-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.18.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.18.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}