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-50059

HIGH 7.5EPSS 47%

ceph: don't leak snap_rwsem in handle_cap_grant

Mitigation

  • Upgrade Linux to 58dd4385577ed7969b80cdc9e2a31575aba6c712 or later.

Who should check

  • Anyone running Linux >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < aee18421bda6bf12a7cba6a3d7751c0e1cfd0094; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < f546faa216d0f53a42ca73ba1fd8c48765b22d77; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < a090cc69699ec2d11b5e34cee8c61f0d4b0068cb; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < 58dd4385577ed7969b80cdc9e2a31575aba6c712
  • Anyone running Linux 5.8

Vulnerability facts

Affected
Linux >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < aee18421bda6bf12a7cba6a3d7751c0e1cfd0094; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < f546faa216d0f53a42ca73ba1fd8c48765b22d77; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < a090cc69699ec2d11b5e34cee8c61f0d4b0068cb; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < 58dd4385577ed7969b80cdc9e2a31575aba6c712; Linux 5.8
Fixed in
Linux 58dd4385577ed7969b80cdc9e2a31575aba6c712
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.67% chance of exploitation in 30 days (percentile 47, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ceph: don't leak snap_rwsem in handle_cap_grant When handle_cap_grant is called on an IMPORT op, then the snap_rwsem is held and the function is expected to release it before returning. It currently fails to do that in all cases which could lead to a deadlock.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < aee18421bda6bf12a7cba6a3d7751c0e1cfd0094; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < f546faa216d0f53a42ca73ba1fd8c48765b22d77; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < a090cc69699ec2d11b5e34cee8c61f0d4b0068cb; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < 58dd4385577ed7969b80cdc9e2a31575aba6c712—cvelist
Linux5.8—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-50059. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50059.md
Affected: Linux >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < aee18421bda6bf12a7cba6a3d7751c0e1cfd0094; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < f546faa216d0f53a42ca73ba1fd8c48765b22d77; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < a090cc69699ec2d11b5e34cee8c61f0d4b0068cb; >= 6f05b30ea063a2a05dda47a…
Fixed in: Linux 58dd4385577ed7969b80cdc9e2a31575aba6c712

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-50059 being exploited?

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

How serious is CVE-2022-50059?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2022-50059?

Linux >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < aee18421bda6bf12a7cba6a3d7751c0e1cfd0094; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < f546faa216d0f53a42ca73ba1fd8c48765b22d77; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < a090cc69699ec2d11b5e34cee8c61f0d4b0068cb; >= 6f05b30ea063a2a05dda47a4105a69267ae5270f, < 58dd4385577ed7969b80cdc9e2a31575aba6c712; Linux 5.8.

Is there a fix for CVE-2022-50059?

Yes. Fixed in Linux 58dd4385577ed7969b80cdc9e2a31575aba6c712. Upgrade Linux to 58dd4385577ed7969b80cdc9e2a31575aba6c712 or later.

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

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