Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2023-52621 — debian-linux

🟠 CVSS 7.8 — High ✅ No Known Exploit CWE-617 NVD
7.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

bpf: Check rcu_read_lock_trace_held() before calling bpf map helpers

In the Linux kernel, the following vulnerability has been resolved:

bpf: Check rcu_read_lock_trace_held() before calling bpf map helpers

These three bpf_map_{lookup,update,delete}_elem() helpers are also

available for sleepable bpf program, so add the corresponding lock

assertion for sleepable bpf program, otherwise the following warning

will be reported when a sleepable bpf program manipulates bpf map under

interpreter mode (aka bpf_jit_enable=0):

WARNING: CPU: 3 PID: 4985 at kernel/bpf/helpers.c:40 ......

CPU: 3 PID: 4985 Comm: test_progs Not tainted 6.6.0+ #2

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) ......

RIP: 0010:bpf_map_lookup_elem+0x54/0x60

......

Call Trace:

<TASK>

? __warn+0xa5/0x240

? bpf_map_lookup_elem+0x54/0x60

? report_bug+0x1ba/0x1f0

? handle_bug+0x40/0x80

? exc_invalid_op+0x18/0x50

? asm_exc_invalid_op+0x1b/0x20

? __pfx_bpf_map_lookup_elem+0x10/0x10

? rcu_lockdep_current_cpu_online+0x65/0xb0

? rcu_is_watching+0x23/0x50

? bpf_map_lookup_elem+0x54/0x60

? __pfx_bpf_map_lookup_elem+0x10/0x10

___bpf_prog_run+0x513/0x3b70

__bpf_prog_run32+0x9d/0xd0

? __bpf_prog_enter_sleepable_recur+0xad/0x120

? __bpf_prog_enter_sleepable_recur+0x3e/0x120

bpf_trampoline_6442580665+0x4d/0x1000

__x64_sys_getpgid+0x5/0x30

? do_syscall_64+0x36/0xb0

entry_SYSCALL_64_after_hwframe+0x6e/0x76

</TASK>

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2023-52621 is classified as CWE-617: Reachable Assertion. The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.

Affected software

CVE-2023-52621 is recorded against 3 packages.

  • debian-linux
  • kernel (from 6.7.0 up to 6.7.4)
  • linux-kernel (from 6.7 up to 6.7.4)

Timeline and source

Published on 26 March 2024 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
lists.debian.org

Other advisories for this package

debian-linux has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-617: Reachable Assertion) in other software:

CVE-2023-52621 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity HIGH
CVSS Score 7.8
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE CWE-617
Public Exploit ✅ No
Source NVD
Published 2024-03-26
Updated 2026-08-20
Modified 2026-06-17

Affected Packages

Software From version Fixed in
debian-linux — —
kernel 6.7.0 6.7.4
linux-kernel 6.7 6.7.4

References

Similar Threats

Site Security Check

Is debian-linux part of your stack?

CVE-2023-52621 is rated CVSS 7.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2023
✓