{"id":"CVE-2022-50490","aliases":["CVE-2022-50490"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Propagate error from htab_lock_bucket() to userspace","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Propagate error from htab_lock_bucket() to userspace\n\nIn __htab_map_lookup_and_delete_batch() if htab_lock_bucket() returns\n-EBUSY, it will go to next bucket. Going to next bucket may not only\nskip the elements in current bucket silently, but also incur\nout-of-bound memory access or expose kernel memory to userspace if\ncurrent bucket_cnt is greater than bucket_size or zero.\n\nFixing it by stopping batch operation and returning -EBUSY when\nhtab_lock_bucket() fails, and the application can retry or skip the busy\nbatch as needed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Propagate error from htab_lock_bucket() to userspace\n\nIn __htab_map_lookup_and_delete_batch() if htab_lock_bucket() returns\n-EBUSY, it will go to next bucket. Going to next bucket may not only\nskip the elements in current bucket silently, but also incur\nout-of-bound memory access or expose kernel memory to userspace if\ncurrent bucket_cnt is greater than bucket_size or zero.\n\nFixing it by stopping batch operation and returning -EBUSY when\nhtab_lock_bucket() fails, and the application can retry or skip the busy\nbatch as needed.","source":"cvelist"}],"published":"2025-10-04T15:43:43.790Z","modified":"2026-10-15T22:17:31.200Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","fixed":"0e13425104903970a5ede853082d3bbb4edec6f3","status":"affected"},{"type":"git","introduced":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","fixed":"6bfee6eb3d6b96ae730a542909dd22b5f9f50d58","status":"affected"},{"type":"git","introduced":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","fixed":"4f1f39a8f1ce1b24fee6852d7dcd704ce7c4334d","status":"affected"},{"type":"git","introduced":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","fixed":"66a7a92e4d0d091e79148a4c6ec15d1da65f4280","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.11","fixed":"5.15.75"},{"status":"affected","introduced":"5.16","fixed":"5.19.17"},{"status":"affected","introduced":"6.0","fixed":"6.0.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0e13425104903970a5ede853082d3bbb4edec6f3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6bfee6eb3d6b96ae730a542909dd22b5f9f50d58","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f1f39a8f1ce1b24fee6852d7dcd704ce7c4334d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/66a7a92e4d0d091e79148a4c6ec15d1da65f4280","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-15T21:31:22.465Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50490","url":"https://www.cve.org/CVERecord?id=CVE-2022-50490","licence":"CVE Terms of Use","modified":"2026-10-15T21:41:21.599Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50490","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50490","licence":"Public domain","modified":"2026-10-15T22:17:31.200Z"}],"updatedAt":"2026-11-25T22:58:21.240Z","epss":{"score":0.00163,"percentile":0.05714,"date":"2026-12-02T12:00:21.000Z"}}