Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50091

MEDIUM 5.5EPSS 13%

locking/csd_lock: Change csdlock_debug from early_param to __setup

Mitigation

  • Upgrade Linux to 9c9b26b0df270d4f9246e483a44686fca951a29c or later.

Who should check

  • Anyone running Linux >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < d2cbdbe22b5f190055d2d0ae92e7454479343a30; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < 05de9e2e33b1625c71aee69e353fe906dd2be88a; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < b480d1e9a8c11ecc1c99dc01814b28e3103bd0a0; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < 9c9b26b0df270d4f9246e483a44686fca951a29c
  • Anyone running Linux 5.13

Vulnerability facts

Affected
Linux >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < d2cbdbe22b5f190055d2d0ae92e7454479343a30; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < 05de9e2e33b1625c71aee69e353fe906dd2be88a; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < b480d1e9a8c11ecc1c99dc01814b28e3103bd0a0; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < 9c9b26b0df270d4f9246e483a44686fca951a29c; Linux 5.13
Fixed in
Linux 05de9e2e33b1625c71aee69e353fe906dd2be88a, Linux 9c9b26b0df270d4f9246e483a44686fca951a29c
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: locking/csd_lock: Change csdlock_debug from early_param to __setup The csdlock_debug kernel-boot parameter is parsed by the early_param() function csdlock_debug(). If set, csdlock_debug() invokes static_branch_enable() to enable csd_lock_wait feature, which triggers a panic on arm64 for kernels built with CONFIG_SPARSEMEM=y and CONFIG_SPARSEMEM_VMEMMAP=n. With CONFIG_SPARSEMEM_VMEMMAP=n, __nr_to_section is called in static_key_enable() and returns NULL, resulting in a NULL dereference because mem_section is initialized only later in sparse_init(). This is also a problem for powerpc because early_param() functions are invoked earlier than jump_label_init(), also resulting in static_key_enable() failures. These failures cause the warning "static key 'xxx' used before call to jump_label_init()". Thus, early_param is too early for csd_lock_wait to run static_branch_enable(), so changes it to __setup to fix these.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < d2cbdbe22b5f190055d2d0ae92e7454479343a30; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < 05de9e2e33b1625c71aee69e353fe906dd2be88a; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < b480d1e9a8c11ecc1c99dc01814b28e3103bd0a0; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < 9c9b26b0df270d4f9246e483a44686fca951a29c—cvelist
Linux5.13—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50091. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50091.md
Affected: Linux >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < d2cbdbe22b5f190055d2d0ae92e7454479343a30; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < 05de9e2e33b1625c71aee69e353fe906dd2be88a; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < b480d1e9a8c11ecc1c99dc01814b28e3103bd0a0; >= 8d0968cc6b8ffd8496c2ebf…
Fixed in: Linux 05de9e2e33b1625c71aee69e353fe906dd2be88a, Linux 9c9b26b0df270d4f9246e483a44686fca951a29c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50091 being exploited?

There is no confirmed exploitation: CVE-2022-50091 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50091?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50091?

Linux >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < d2cbdbe22b5f190055d2d0ae92e7454479343a30; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < 05de9e2e33b1625c71aee69e353fe906dd2be88a; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < b480d1e9a8c11ecc1c99dc01814b28e3103bd0a0; >= 8d0968cc6b8ffd8496c2ebffdfdc801f949a85e5, < 9c9b26b0df270d4f9246e483a44686fca951a29c; Linux 5.13.

Is there a fix for CVE-2022-50091?

Yes. Fixed in Linux 05de9e2e33b1625c71aee69e353fe906dd2be88a, Linux 9c9b26b0df270d4f9246e483a44686fca951a29c. Upgrade Linux to 9c9b26b0df270d4f9246e483a44686fca951a29c or later.

How do I check if I'm affected by CVE-2022-50091?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors