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

UNSCOREDEPSS 11%

bpf: prevent leak of lsm program after failed attach

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < 82b39df5ddb298daaf6dc504032ff7eb027fa106; >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < 6a1504dd36cd9a0a69250d61da8bdb17b29f1fe8; >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < e89f3edffb860a0f54a9ed16deadb7a4a1fa3862
  • Anyone running Linux 6.0

Vulnerability facts

Affected
Linux >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < 82b39df5ddb298daaf6dc504032ff7eb027fa106; >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < 6a1504dd36cd9a0a69250d61da8bdb17b29f1fe8; >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < e89f3edffb860a0f54a9ed16deadb7a4a1fa3862; Linux 6.0
Fixed in
Linux 82b39df5ddb298daaf6dc504032ff7eb027fa106, Linux 6a1504dd36cd9a0a69250d61da8bdb17b29f1fe8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: prevent leak of lsm program after failed attach In [0], we added the ability to bpf_prog_attach LSM programs to cgroups, but in our validation to make sure the prog is meant to be attached to BPF_LSM_CGROUP, we return too early if the check fails. This results in lack of decrementing prog's refcnt (through bpf_prog_put) leaving the LSM program alive past the point of the expected lifecycle. This fix allows for the decrement to take place. [0] https://lore.kernel.org/all/20220628174314.1216643-4-sdf@google.com/

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < 82b39df5ddb298daaf6dc504032ff7eb027fa106; >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < 6a1504dd36cd9a0a69250d61da8bdb17b29f1fe8; >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < e89f3edffb860a0f54a9ed16deadb7a4a1fa3862—cvelist
Linux6.0—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-50855. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50855.md
Affected: Linux >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < 82b39df5ddb298daaf6dc504032ff7eb027fa106; >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < 6a1504dd36cd9a0a69250d61da8bdb17b29f1fe8; >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < e89f3edffb860a0f54a9ed16deadb7a4a1fa3862; Linux 6.0
Fixed in: Linux 82b39df5ddb298daaf6dc504032ff7eb027fa106, Linux 6a1504dd36cd9a0a69250d61da8bdb17b29f1fe8

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

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

How serious is CVE-2022-50855?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2022-50855?

Linux >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < 82b39df5ddb298daaf6dc504032ff7eb027fa106; >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < 6a1504dd36cd9a0a69250d61da8bdb17b29f1fe8; >= 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e, < e89f3edffb860a0f54a9ed16deadb7a4a1fa3862; Linux 6.0.

Is there a fix for CVE-2022-50855?

Yes. Fixed in Linux 82b39df5ddb298daaf6dc504032ff7eb027fa106, Linux 6a1504dd36cd9a0a69250d61da8bdb17b29f1fe8. No fix listed yet: follow the vendor advisory.

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

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