Skip to main content
Network Thinking Solutions Logo

CVE-2022-50490

Linux kernel: bpf: Propagate error from htab_lock_bucket() to userspace

All CVEs
CVE-2022-50490Published 10/4/2025

Linux kernel: bpf: Propagate error from htab_lock_bucket() to userspace

Vendor advisory
CVSS7.1High

Overview

In the Linux kernel, the following vulnerability has been resolved: bpf: Propagate error from htab_lock_bucket() to userspace In __htab_map_lookup_and_delete_batch() if htab_lock_bucket() returns -EBUSY, it will go to next bucket. Going to next bucket may not only skip the elements in current bucket silently, but also incur out-of-bound memory access or expose kernel memory to userspace if current bucket_cnt is greater than bucket_size or zero. Fixing it by stopping batch operation and returning -EBUSY when htab_lock_bucket() fails, and the application can retry or skip the busy batch as needed.

Published
10/4/2025
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.11, < 5.15.75

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.19.17

Verify advisory

Source
linux kernel
linux
≥ 6.0, < 6.0.3

Verify advisory

Source
Linux
Linux
≥ 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, < 0e13425104903970a5ede853082d3bbb4edec6f3

Verify advisory

Source
Linux
Linux
≥ 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, < 6bfee6eb3d6b96ae730a542909dd22b5f9f50d58

Verify advisory

Source
Linux
Linux
≥ 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, < 4f1f39a8f1ce1b24fee6852d7dcd704ce7c4334d

Verify advisory

Source
Linux
Linux
≥ 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, < 66a7a92e4d0d091e79148a4c6ec15d1da65f4280

Verify advisory

Source
Linux
Linux
5.11

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.