CVE-2022-49606

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49606
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49606.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49606
Related
Published
2025-02-26T07:01:36Z
Modified
2025-02-26T07:01:36Z
Summary
[none]
Details

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

RDMA/irdma: Fix sleep from invalid context BUG

Taking the qos_mutex to process RoCEv2 QP's on netdev events causes a kernel splat.

Fix this by removing the handling for RoCEv2 in irdmacmteardown_connections that uses the mutex. This handling is only needed for iWARP to avoid having connections established while the link is down or having connections remain functional after the IP address is removed.

BUG: sleeping function called from invalid context at kernel/locking/mutex. Call Trace: kernel: dumpstack+0x66/0x90 kernel: _mightsleep.cold.92+0x8d/0x9a kernel: mutexlock+0x1c/0x40 kernel: irdmacmteardownconnections+0x28e/0x4d0 [irdma] kernel: ? checkpreemptcurr+0x7a/0x90 kernel: ? selectidlesibling+0x22/0x3c0 kernel: ? selecttaskrqfair+0x94c/0xc90 kernel: ? irdmaexeccqpcmd+0xc27/0x17c0 [irdma] kernel: ? _wakeupcommon+0x7a/0x190 kernel: irdmaifnotify+0x3cc/0x450 [irdma] kernel: ? schedclockcpu+0xc/0xb0 kernel: irdmainet6addr_event+0xc6/0x150 [irdma]

References

Affected packages

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.16-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.16-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}