CVE-2022-50091

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50091
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50091.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50091
Downstream
Related
Published
2025-06-18T11:15:38Z
Modified
2025-06-18T16:00:24Z
Summary
[none]
Details

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

locking/csdlock: Change csdlockdebug from earlyparam to _setup

The csdlockdebug kernel-boot parameter is parsed by the earlyparam() function csdlockdebug(). If set, csdlockdebug() invokes staticbranchenable() to enable csdlockwait feature, which triggers a panic on arm64 for kernels built with CONFIGSPARSEMEM=y and CONFIGSPARSEMEM_VMEMMAP=n.

With CONFIGSPARSEMEMVMEMMAP=n, _nrtosection is called in statickeyenable() and returns NULL, resulting in a NULL dereference because memsection is initialized only later in sparse_init().

This is also a problem for powerpc because earlyparam() functions are invoked earlier than jumplabelinit(), also resulting in statickeyenable() failures. These failures cause the warning "static key 'xxx' used before call to jumplabel_init()".

Thus, earlyparam is too early for csdlockwait to run staticbranchenable(), so changes it to _setup to fix these.

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
6.0.2-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
6.0.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}